Esempio n. 1
0
 public function findAll()
 {
     $result = parent::findAll();
     foreach ($result as $instance) {
         $instance->setContent($instance->getContent() . ' - touched by SubSubEntityRepository');
     }
     return $result;
 }
Esempio n. 2
0
 /**
  * Constructs the Account Repository
  *
  * @author Robert Lemke <*****@*****.**>
  */
 public function __construct()
 {
     parent::__construct();
     $this->objectType = 'Admin\\Security\\Role';
 }
Esempio n. 3
0
 /**
  * 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);
     }
 }