Exemple #1
0
 /**
  * @param	int		$page
  * @param	int		$pageCnt
  * @param	string	$orderBy[optional] = null
  * @param	bool	$asc[optional] = null
  * @param	string	$condition[optional] = null
  * @return	array | false
  */
 function GetSubAdminsList($page, $pageCnt, $orderBy = null, $asc = null, $condition = null)
 {
     if ($this->_connector->Execute($this->_commandCreator->GetSubAdminsList($page, $pageCnt, $orderBy, $asc, $condition))) {
         $subAdmins = array();
         while (($row = $this->_connector->GetNextRecord()) != false) {
             $subAdmins[$row->id_admin] = array($row->login, $row->description);
         }
         return $subAdmins;
     }
     return false;
 }