Provides an interface for managing configuration options.
To get an set options, either use \HotMelt\Config::get() and \HotMelt\Config::set()`, respectively,
or take advantage of the fact that \HotMelt\Config allows arbitrary method overloading
\HotMelt\Config parses these configuration files:
Site/config.phpSite/config-<DOMAIN>.phpFor a host name beginning with www., \HotMelt\Config will also try to load the configuration file for the corresponding host name without www..
Provides an interace for manipulating HTTP cookies.
Create a cookie object and access its value with the value property.
Use \HotMelt\Cookie::update() to change its value and send the cookie back to the client,
or use \HotMelt\Cookie::delete() to delete the cookie.
Throw an instance of `\HotMelt\HTTPErrorException` to break out of the regular controlf flow.
« More »Provides an API for extending HotMelt's request handling machinery.
Middleware can register for hooks to intercept requests.
Extends to default `PDO` class with capabilities used by other HotMelt classes.
Extensions include a wrapper around \PDO::prepare() that wraps statements in an instance of \HotMelt\PDOStatementDecorator and support for quoting identifiers (\HotMelt\PDO::quoteIdentifier()).
Implements a wrapper around the default `\PDOStatement` class providing features required by the HotMelt ORM layer.
« More »Implements a lightweight object-relational-mapper interface.
The PersistentObject class prefers convention over configuration.
This is an overview of the conventions that the PersistentObject class establishes and how to override them:
tableName() method to change this.id. Override the primaryKey() method to change this.\HotMelt\PDO object for database access. If not PDO is given, the PDO returned from the defaultPDO() class method is used. The default value returned by this method is null, however, so you will have to override this method to use a default PDO.Note that you should not directly create a new persistent object instance. Use the findBy...() and insert() methods to retrieve existing objects or create new ones.