Validation\Message

implements Phalcon\Validation\MessageInterface Source on GitHub Encapsulates validation info generated in the validation process Methods public __construct (mixed $message, [mixed $field], [mixed $type], [mixed $code]) Phalcon\Validation\Message constructor public setType (mixed $type) Sets message type public getType () Returns message type public setMessage (mixed $message) Sets verbose message public getMessage () Returns verbose message public setField (mixed $field) Sets field name related

Mvc\Model\MetaData\Session::MODELS_DEFAULT_VALUES

integer MODELS_DEFAULT_VALUES

Db\Adapter\Pdo\Postgresql::supportSequences

public supportSequences () Check whether the database system requires a sequence to produce auto-numeric values

Http\Request\File::getTempName

public getTempName () Returns the temporary name of the uploaded file

Db\Adapter::fetchOne

public fetchOne (mixed $sqlQuery, [mixed $fetchMode], [mixed $bindParams], [mixed $bindTypes]) Returns the first row in a SQL query result //Getting first robot $robot = $connection->fetchOne("SELECT * FROM robots"); print_r($robot); //Getting first robot with associative indexes only $robot = $connection->fetchOne("SELECT * FROM robots", Phalcon\Db::FETCH_ASSOC); print_r($robot);

Db\Adapter::useExplicitIdValue

public useExplicitIdValue () Check whether the database system requires an explicit value for identity columns

Tag::colorField

public static string colorField (array $parameters) Builds a HTML input[type=”color”] tag

Db\Adapter\Pdo\Sqlite::getDefaultValue

public getDefaultValue () Returns the default value to make the RBDM use the default value declared in the table definition //Inserting a new robot with a valid default value for the column 'year' $success = $connection->insert( "robots", array("Astro Boy", $connection->getDefaultValue()), array("name", "year") );

Cache\BackendInterface::get

abstract public get (mixed $keyName, [mixed $lifetime]) ...

Db\Dialect\Mysql::dropForeignKey

public dropForeignKey (mixed $tableName, mixed $schemaName, mixed $referenceName) Generates SQL to delete a foreign key from a table