extends abstract class Phalcon\Mvc\Model\MetaData
implements Phalcon\Mvc\Model\MetaDataInterface, Phalcon\Di\InjectionAwareInterface
Source on GitHub
Stores model meta-data in session. Data will erased when the session finishes. Meta-data are permanent while the session is active. You can query the meta-data by printing $_SESSION[‘$PMM$’]
$metaData = new \Phalcon\Mvc\Model\Metadata\Session(array(
'prefix' => 'my-app-id'
));
Constants
integer MODELS_ATTRIBUTES
integer MODELS_PRIMARY_