public function shouldReIndexEntry(array $modifiedColumns = array()) { if (!$this->getSearchableOnEntry()) { return false; } return parent::shouldReIndexEntry($modifiedColumns); }
/** * @param CuePoint $cuePoint */ protected function cuePointDeleted(CuePoint $cuePoint) { $c = new Criteria(); $c->add(CuePointPeer::PARENT_ID, $cuePoint->getId()); $this->deleteCuePoints($c); //re-index cue point on entry if ($cuePoint->shouldReIndexEntry()) { $this->reIndexCuePointEntry($cuePoint); } }