コード例 #1
0
ファイル: User.php プロジェクト: hlubek/Planetflow3-Package
 /**
  * Construct a user
  */
 public function __construct()
 {
     parent::__construct();
     $account = new \TYPO3\FLOW3\Security\Account();
     $account->setAuthenticationProviderName('AdminInterfaceProvider');
     $this->addAccount($account);
 }
コード例 #2
0
ファイル: Person.php プロジェクト: philippjbauer/TYPO3.Party
 /**
  * Constructs this Person
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->electronicAddresses = new \Doctrine\Common\Collections\ArrayCollection();
 }