/** * Kontroluje asociace z druhe strany * @param IRepositoryContainer */ public function check(IRepositoryContainer $model) { parent::check($model); $this->checkIntegrity($model, MetaData::ManyToMany, true, array($this, 'checkIntegrityCallback')); }
/** * Kontroluje asociace z druhe strany * @param IRepositoryContainer */ public function check(IRepositoryContainer $model) { parent::check($model); $this->checkIntegrity($model, MetaData::ManyToOne, false); }