public function findAll() { $result = parent::findAll(); foreach ($result as $instance) { $instance->setContent($instance->getContent() . ' - touched by SubSubEntityRepository'); } return $result; }
/** * Constructs the Account Repository * * @author Robert Lemke <*****@*****.**> */ public function __construct() { parent::__construct(); $this->objectType = 'Admin\\Security\\Role'; }
/** * Schedules a modified object for persistence. * * @param object $object The modified object * @throws \TYPO3\FLOW3\Persistence\Exception\IllegalObjectTypeException * @api */ public function remove($object) { if (!$this->helper->isDemoMode() || $object->__toString() != $this->helper->getSettings("Admin.SuperAdmin")) { parent::remove($object); } }