Example #1
0
 /**
  * Constructor.
  */
 public function __construct($row, $serviceKey)
 {
     $this->setType('tx_cal_attendee');
     $this->setObjectType('attendee');
     parent::__construct($serviceKey);
     $this->init($row);
 }
Example #2
0
 /**
  * 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;
 }
Example #3
0
 /**
  * Constructor.
  * 
  * @param $serviceKey String
  *        	serviceKey for this model
  */
 public function __construct($serviceKey)
 {
     $this->setObjectType('event');
     parent::__construct($serviceKey);
 }
Example #4
0
 public function __construct($serviceKey)
 {
     parent::__construct($serviceKey);
 }