Text::endsWith

public static endsWith (mixed $str, mixed $end, [mixed $ignoreCase]) Check if a string ends with a given string echo Phalcon\Text::endsWith("Hello", "llo"); // true echo Phalcon\Text::endsWith("Hello", "LLO", false); // false echo Phalcon\Text::endsWith("Hello", "LLO"); // true

Text::dynamic

public static dynamic (mixed $text, [mixed $leftDelimiter], [mixed $rightDelimiter], [mixed $separator]) Generates random text in accordance with the template echo Phalcon\Text::dynamic("{Hi|Hello}, my name is a {Bob|Mark|Jon}!"); // Hi my name is a Bob echo Phalcon\Text::dynamic("{Hi|Hello}, my name is a {Bob|Mark|Jon}!"); // Hi my name is a Jon echo Phalcon\Text::dynamic("{Hi|Hello}, my name is a {Bob|Mark|Jon}!"); // Hello my name is a Bob echo Phalcon\Text::dynamic("[Hi/Hello],

Text::concat

public static concat () Concatenates strings using the separator only once without duplication in places concatenation $str = Phalcon\Text::concat("/", "/tmp/", "/folder_1/", "/folder_2", "folder_3/"); echo $str; // /tmp/folder_1/folder_2/folder_3/

Text::camelize

public static camelize (mixed $str, [mixed $delimiter]) Converts strings to camelize style echo Phalcon\Text::camelize('coco_bongo'); // CocoBongo echo Phalcon\Text::camelize('co_co-bon_go', '-'); // Co_coBon_go echo Phalcon\Text::camelize('co_co-bon_go', '_-'); // CoCoBonGo

Text

Source on GitHub Provides utilities to work with texts Constants integer RANDOM_ALNUM integer RANDOM_ALPHA integer RANDOM_HEXDEC integer RANDOM_NUMERIC integer RANDOM_NOZERO Methods public static camelize (mixed $str, [mixed $delimiter]) Converts strings to camelize style echo Phalcon\Text::camelize('coco_bongo'); // CocoBongo echo Phalcon\Text::camelize('co_co-bon_go', '-'); // Co_coBon_go echo Phalcon\Text::camelize('co_co-bon_go', '_-'); // CoCoBonGo public static uncameli

Tag\Select::selectField

public static selectField (array $parameters, [array $data]) Generates a SELECT tag

Tag\Select

Source on GitHub Generates a SELECT html tag using a static array of values or a Phalcon\Mvc\Model resultset Methods public static selectField (array $parameters, [array $data]) Generates a SELECT tag private static _optionsFromResultset (Phalcon\Mvc\Model\Resultset $resultset, array $using, mixed $value, string $closeOption) Generate the OPTION tags based on a resultset private static _optionsFromArray (array $data, mixed $value, string $closeOption) Generate the OPTION tags based on an array

Tag\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

Tag::XHTML5

integer XHTML5

Tag::XHTML20

integer XHTML20