예제 #1
0
 /**
  * @param int $userId
  * @return AccountDiv
  */
 function AccountDiv($userId, $accountId, $skinName)
 {
     $this->_account_id = $accountId;
     $this->_skin = $skinName;
     $user = new CalendarUser();
     $acctArray = $user->SelectAccounts($userId);
     if (count($acctArray) > 0) {
         $this->_accounts =& $acctArray;
     } else {
         $this->_accounts[$accountId] = '';
     }
 }