Db\Adapter\Pdo::execute

public execute (mixed $sqlStatement, [mixed $bindParams], [mixed $bindTypes]) Sends SQL statements to the database server returning the success state. Use this method only when the SQL statement sent to the server doesn’t return any rows //Inserting data $success = $connection->execute("INSERT INTO robots VALUES (1, 'Astro Boy')"); $success = $connection->execute("INSERT INTO robots VALUES (?, ?)", array(1, 'Astro Boy'));

Forms

Phalcon\Forms is a component that aids you in the creation and maintenance of forms in web applications. The following example shows its basic usage: use Phalcon\Forms\Form; use Phalcon\Forms\Element\Text; use Phalcon\Forms\Element\Select; $form = new Form(); $form->add( new Text( "name" ) ); $form->add( new Text( "telephone" ) ); $form->add( new Select( "telephoneType", [ "H" => "Home", "C" => "Cell"

Mvc\ViewBaseInterface::partial

abstract public partial (mixed $partialPath, [mixed $params]) ...

Events\EventsAwareInterface

Source on GitHub Methods abstract public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) ... abstract public getEventsManager () ...

Application\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Http\Response\Cookies::getDI

public getDI () Returns the internal dependency injector

Assets\Collection

implements Countable, Iterator, Traversable Source on GitHub Represents a collection of resources Methods public getPrefix () ... public getLocal () ... public getResources () ... public getCodes () ... public getPosition () ... public getFilters () ... public getAttributes () ... public getJoin () ... public getTargetUri () ... public getTargetPath () ... public getTargetLocal () ... public getSourcePath () ... public add (Phalcon\Assets\Resource $resource) Adds a resource to the collection pu

Annotations\Reflection

Source on GitHub Allows to manipulate the annotations reflection in an OO manner use Phalcon\Annotations\Reader; use Phalcon\Annotations\Reflection; // Parse the annotations in a class $reader = new Reader(); $parsing = reader->parse('MyComponent'); // Create the reflection $reflection = new Reflection($parsing); // Get the annotations in the class docblock $classAnnotations = reflection->getClassAnnotations(); Methods public __construct ([array $reflectionData]) Phalcon\Annot

Db\Dialect\Postgresql::addPrimaryKey

public addPrimaryKey (mixed $tableName, mixed $schemaName, Phalcon\Db\IndexInterface $index) Generates SQL to add the primary key to a table

Logger::WARNING

integer WARNING