Example #1
0
 /**
  * Constructor initializes additional Infomanager.
  *
  * @param array $db Configuration for Zend_Db_Table.
  *
  * @return void
  */
 public function __construct($db = null)
 {
     parent::__construct($db);
     $this->_dbManager = new Calendar_Models_CalendarInformation($this, $db);
 }
Example #2
0
 /**
  * Constructor initializes additional Infomanager.
  *
  * @param array $db Configuration for Zend_Db_Table.
  *
  * @return void
  */
 public function __construct($db = null)
 {
     parent::__construct($db);
     $this->_dbManager = new Minutes_Models_MinutesInformation($this, $db);
 }
Example #3
0
 /**
  * Constructor.
  */
 public function __construct($db = null)
 {
     parent::__construct($db);
     // This is needed to make fields read-only if we're not the owner.
     $this->_information = new Calendar2_Models_CalendarInformation();
     $this->uid = Phprojekt::generateUniqueIdentifier();
     // Default values
     $this->visibility = self::VISIBILITY_PUBLIC;
     $this->ownerId = Phprojekt_Auth_Proxy::getEffectiveUserId();
 }