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));
doc_Phalcon
2016-10-16 09:53:44
Comments
Leave a Comment

Please login to continue.