public function __construct(\Core\ModelBundle\Model\Model $model, $group = 'default', $managerName = null, $metadata = null) { $this->model = $model; $this->entityName = $model->getEntityClass(); $this->managerName = $managerName; $this->joins = array(); $this->group = $group; $this->hints = array(); $this->setTableAlias(self::TABLE_ALIAS); $this->metadata = $metadata; $this->reflectionClass = $this->model->getMetadata()->getReflectionClass(); $this->createMetadata(); }
public function update($entityObject, $executeImmediately = true, $logOperation = false, $checkRights = true) { $this->checkExecuteImmediately($executeImmediately); parent::update($entityObject, $executeImmediately, $logOperation, $checkRights); $this->updateACL($entityObject); }