コード例 #1
0
ファイル: OrganizerFeUser.php プロジェクト: ulrikkold/cal
 /**
  * Constructor
  * 
  * @param array $row
  *        	array
  * @param string $pidList
  *        	to search in
  */
 public function __construct($row, $pidList)
 {
     $this->setType('tx_feuser');
     $this->setObjectType('organizer');
     parent::__construct($row, $pidList);
     $this->createOrganizer($row);
     $this->templatePath = $this->conf['view.']['organizer.']['organizerModelTemplate4FEUser'];
 }
コード例 #2
0
ファイル: OrganizerPartner.php プロジェクト: ulrikkold/cal
 /**
  * Constructor
  * 
  * @param integer $uid
  *        	to search for
  * @param string $pidList
  *        	to search in
  */
 public function __construct($uid, $pidList)
 {
     require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('partner') . 'api/class.tx_partner_main.php';
     require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('partner') . 'api/class.tx_partner_div.php';
     $this->partner = new \tx_partner_main();
     $this->partner->getPartner($uid);
     $this->partner->getContactInfo($this->conf['view.']['organizer.']['contactInfoType']);
     parent::__construct($this->partner->data, $this->getType());
     $this->setType('tx_partner_main');
     $this->setObjectType('organizer');
     $this->templatePath = $this->conf['view.']['organizer.']['organizerModelTemplate4Partner'];
 }