/** * Constructor * * @param array $row * array * @param string $pidList * to search in */ function __construct($row, $pidList) { $this->setObjectType('organizer'); $this->setType('tx_cal_organizer'); parent::__construct($this->getType()); $this->createOrganizer($row); $this->templatePath = $this->conf['view.']['organizer.']['organizerModelTemplate']; }
/** * Constructor * * @param array $row * array * @param string $pidList * to search in */ public function __construct($row, $pidList) { $this->setObjectType('location'); $this->setType('tx_cal_location'); parent::__construct($this->controller, $this->getType()); $this->createLocation($row); $this->templatePath = $this->conf['view.']['location.']['locationModelTemplate']; }