Mvc\Model\Validator\Ip

extends abstract class Phalcon\Mvc\Model\Validator implements Phalcon\Mvc\Model\ValidatorInterface Source on GitHub Phalcon\Mvc\Model\Validator\IP Validates that a value is ipv4 address in valid range use Phalcon\Mvc\Model\Validator\Ip; class Data extends Phalcon\Mvc\Model { public function validation() { // Any pubic IP $this->validate(new IP(array( 'field' => 'server_ip', 'version' => IP::VERSION_4 | IP::VERSION_6, // v6 and

Mvc\Micro::setService

public Phalcon\Di\ServiceInterface setService (string $serviceName, mixed $definition, [boolean $shared]) Sets a service from the DI

Forms\ElementInterface::setUserOption

abstract public setUserOption (mixed $option, mixed $value) ...

Mvc\Model\Query\BuilderInterface::from

abstract public from (mixed $models) ...

Db\Profiler\Item::getSqlVariables

public getSqlVariables () SQL variables related to the profile

Forms\Form::getMessagesFor

public getMessagesFor (mixed $name) Returns the messages generated for a specific element

Forms\Element\Radio

extends abstract class Phalcon\Forms\Element implements Phalcon\Forms\ElementInterface Source on GitHub Component INPUT[type=radio] for forms Methods public render ([array $attributes]) Renders the element widget returning html public __construct (string $name, [array $attributes]) inherited from Phalcon\Forms\Element Phalcon\Forms\Element constructor public setForm (Phalcon\Forms\Form $form) inherited from Phalcon\Forms\Element Sets the parent form to the element public getForm () inherited

Db\Column

implements Phalcon\Db\ColumnInterface Source on GitHub Allows to define columns to be used on create or alter table operations use Phalcon\Db\Column as Column; //column definition $column = new Column("id", array( "type" => Column::TYPE_INTEGER, "size" => 10, "unsigned" => true, "notNull" => true, "autoIncrement" => true, "first" => true )); //add column to existing table $connection->addColumn("robots", null, $column); Constants integer TYPE_INTE

Forms\Element::setUserOption

public Phalcon\Forms\ElementInterface setUserOption (string $option, mixed $value) Sets an option for the element

Forms\ElementInterface::clear

abstract public clear () ...