public static increment (mixed $str, [mixed $separator]) Adds a number to a string or increment that number if it already is defined echo Phalcon\Text::increment("a"); // "a_1" echo Phalcon\Text::increment("a_1"); // "a_2"
public getBeforeMatch () Returns the ‘before match’ callback if any
abstract public getBelongsToRecords (mixed $method, mixed $modelName, mixed $modelRelation, Phalcon\Mvc\ModelInterface $record, [mixed $parameters]) ...
public setDialect (Phalcon\Db\DialectInterface $dialect) Sets the dialect used to produce the SQL
abstract public existsHasMany (mixed $modelName, mixed $modelRelation) ...
integer VERSION_SPECIAL
public escapeHtml (mixed $text) Escapes a HTML string. Internally uses htmlspecialchars
public setDirectory (mixed $directory) Sets the path for a domain // Set the directory path $gettext->setDirectory('/path/to/the/messages'); // Set the domains and directories path $gettext->setDirectory([ 'messages' => '/path/to/the/messages', 'another' => '/path/to/the/another' ]);
public mixed __call (string $method, array $arguments) Handles method calls when a method is not implemented
public mixed afterRetrieve (mixed $data) Unserializes data after retrieval
Page 229 of 382