Mvc\Model\MetaData::writeMetaDataIndex

final public writeMetaDataIndex (Phalcon\Mvc\ModelInterface $model, mixed $index, mixed $data) Writes meta-data for certain model using a MODEL_* constant print_r($metaData->writeColumnMapIndex(new Robots(), MetaData::MODELS_REVERSE_COLUMN_MAP, array('leName' => 'name')));

Mvc\Model\MetaData::setStrategy

public setStrategy (Phalcon\Mvc\Model\MetaData\StrategyInterface $strategy) Set the meta-data extraction strategy

Mvc\Model\MetaData::setEmptyStringAttributes

public setEmptyStringAttributes (Phalcon\Mvc\ModelInterface $model, array $attributes) Set the attributes that allow empty string values $metaData->setEmptyStringAttributes(new Robots(), array('name' => true));

Mvc\Model\MetaData::setDI

public setDI (Phalcon\DiInterface $dependencyInjector) Sets the DependencyInjector container

Mvc\Model\MetaData::setAutomaticUpdateAttributes

public setAutomaticUpdateAttributes (Phalcon\Mvc\ModelInterface $model, array $attributes) Set the attributes that must be ignored from the UPDATE SQL generation $metaData->setAutomaticUpdateAttributes(new Robots(), array('modified_at' => true));

Mvc\Model\MetaData::setAutomaticCreateAttributes

public setAutomaticCreateAttributes (Phalcon\Mvc\ModelInterface $model, array $attributes) Set the attributes that must be ignored from the INSERT SQL generation $metaData->setAutomaticCreateAttributes(new Robots(), array('created_at' => true));

Mvc\Model\MetaData::reset

public reset () Resets internal meta-data in order to regenerate it $metaData->reset();

Mvc\Model\MetaData::readMetaDataIndex

final public readMetaDataIndex (Phalcon\Mvc\ModelInterface $model, mixed $index) Reads meta-data for certain model print_r($metaData->readMetaDataIndex(new Robots(), 0);

Mvc\Model\MetaData::readMetaData

final public readMetaData (Phalcon\Mvc\ModelInterface $model) Reads the complete meta-data for certain model print_r($metaData->readMetaData(new Robots());

Mvc\Model\MetaData::readColumnMapIndex

final public readColumnMapIndex (Phalcon\Mvc\ModelInterface $model, mixed $index) Reads column-map information for certain model using a MODEL_* constant print_r($metaData->readColumnMapIndex(new Robots(), MetaData::MODELS_REVERSE_COLUMN_MAP));