Validation::setLabels

public setLabels (array $labels) Adds labels for fields

Mvc\View\Engine\Volt::callMacro

public callMacro (mixed $name, [array $arguments]) Checks if a macro is defined and calls it

Mvc\Router\Annotations::addResource

public addResource (mixed $handler, [mixed $prefix]) Adds a resource to the annotations handler A resource is a class that contains routing annotations

Models Metadata

To speed up development Phalcon\Mvc\Model helps you to query fields and constraints from tables related to models. To achieve this, Phalcon\Mvc\Model\MetaData is available to manage and cache table metadata. Sometimes it is necessary to get those attributes when working with models. You can get a metadata instance as follows: $robot = new Robots(); // Get Phalcon\Mvc\Model\Metadata instance $metadata = $robot->getModelsMetaData(); // Get robots fields names $attributes = $metadata->getA

Mvc\View\Simple::setContent

public setContent (mixed $content) Externally sets the view content $this->view->setContent("<h1>hello</h1>");

Mvc\View\Engine\Php

extends abstract class Phalcon\Mvc\View\Engine implements Phalcon\Di\InjectionAwareInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Mvc\View\EngineInterface Source on GitHub Adapter to use PHP itself as templating engine Methods public render (mixed $path, mixed $params, [mixed $mustClean]) Renders a view using the template engine public __construct (Phalcon\Mvc\ViewBaseInterface $view, [Phalcon\DiInterface $dependencyInjector]) inherited from Phalcon\Mvc\View\Engine Phalcon\Mvc\View\En

Db\Dialect\Mysql::getColumnDefinition

public getColumnDefinition (Phalcon\Db\ColumnInterface $column) Gets the column name in MySQL

Db\Adapter::createTable

public createTable (mixed $tableName, mixed $schemaName, array $definition) Creates a table

Db\Dialect\Sqlite::addPrimaryKey

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

Forms\Element\Date::render

public render ([array $attributes]) Renders the element widget returning html