/** * Constructor. */ public function __construct($row, $serviceKey) { $this->setType('tx_cal_attendee'); $this->setObjectType('attendee'); parent::__construct($serviceKey); $this->init($row); }
/** * Returns a array with fieldname => value pairs, that should be additionally added to the values of the method getValuesAsArray * @ return array */ public function getAdditionalValuesAsArray() { $values = parent::getAdditionalValuesAsArray(); $tables = array_keys($this->owner); $values['owner'] = array(); foreach ($tables as $table) { foreach ($this->owner[$table] as $id) { $values['owner'][$table][$id] = $id; } } $values['headerstyle'] = $this->row['headerstyle']; $values['bodystyle'] = $this->row['bodystyle']; return $values; }
/** * Constructor. * * @param $serviceKey String * serviceKey for this model */ public function __construct($serviceKey) { $this->setObjectType('event'); parent::__construct($serviceKey); }
public function __construct($serviceKey) { parent::__construct($serviceKey); }