コード例 #1
0
 /**
  * @param	Account	$account
  * @param	string	$action
  */
 public function __construct($account, $action)
 {
     parent::__construct();
     $this->managerPath = WM_ROOTPATH . 'api/webmail/contact_manager.php';
     $this->managerName = 'ContactManager';
     $this->init($account, $action);
     $this->manager->InitAccount($account);
 }
コード例 #2
0
 /**
  * @param	Account	$account
  * @param	string	$action
  */
 public function __construct($account, $action)
 {
     parent::__construct();
     $this->managerPath = WM_ROOTPATH . 'api/calendar/calendar_manager.php';
     $this->managerName = 'CalendarManager';
     $this->init($account, $action);
     $this->manager->SetActiveUserId($this->userId);
     $this->manager->SetUserAccount($this->account);
 }