Db\Dialect\Mysql::tableOptions

public tableOptions (mixed $table, [mixed $schema]) Generates the SQL to describe the table creation options

Validation\Validator\CreditCard

extends abstract class Phalcon\Validation\Validator implements Phalcon\Validation\ValidatorInterface Source on GitHub Checks if a value has a valid credit card number use Phalcon\Validation\Validator\CreditCard as CreditCardValidator; $validator->add('creditcard', new CreditCardValidator([ 'message' => 'The credit card number is not valid' ])); $validator->add(['creditcard', 'secondCreditCard'], new CreditCardValidator([ 'message' => [ 'creditcard' => 'The

Validation\Validator\InclusionIn

extends abstract class Phalcon\Validation\Validator implements Phalcon\Validation\ValidatorInterface Source on GitHub Check if a value is included into a list of values use Phalcon\Validation\Validator\InclusionIn; $validator->add('status', new InclusionIn([ 'message' => 'The status must be A or B', 'domain' => array('A', 'B') ])); $validator->add(['status', 'type'], new InclusionIn([ 'message' => [ 'status' => 'The status must be A or B',

Db\AdapterInterface::describeColumns

abstract public describeColumns (mixed $table, [mixed $schema]) ...

Registry::__get

final public __get (mixed $key) Returns an index in the registry

Assets\Collection::addInline

public addInline (Phalcon\Assets\Inline $code) Adds an inline code to the collection

Security::setRandomBytes

public setRandomBytes (mixed $randomBytes) Sets a number of bytes to be generated by the openssl pseudo random generator

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

Mvc\Model\Manager::getHasMany

public getHasMany (Phalcon\Mvc\ModelInterface $model) Gets hasMany relations defined on a model

Cli\Router\Route::compilePattern

public compilePattern (mixed $pattern) Replaces placeholders from pattern returning a valid PCRE regular expression