Tabla de Contenidos

Tema anterior

< Class Phalcon\Validation\Validator\StringLength

Próximo tema

Interface Phalcon\Acl\AdapterInterface >

Esta página

Class Phalcon\Version

This class allows to get the installed version of the framework


protected static _getVersion ()

Area where the version number is set. The format is as follows: ABBCCDE A - Major version B - Med version (two digits) C - Min version (two digits) D - Special release: 1 = Alpha, 2 = Beta, 3 = RC, 4 = Stable E - Special release version i.e. RC1, Beta2 etc.

public static string get ()

Returns the active version (string)


 echo Phalcon\Version::get();

public static int getId ()

Returns the numeric active version


 echo Phalcon\Version::getId();