Ejemplo n.º 1
0
 /**
  * @param	string	$condition[optional] = null
  * @return	int
  */
 function SubAdminCount($condition = null)
 {
     $cnt = 0;
     if (!$this->_connector->Execute($this->_commandCreator->SubAdminCount($condition))) {
         return false;
     }
     $row = $this->_connector->GetNextRecord();
     if ($row) {
         $cnt = (int) $row->sabadmin_cnt;
         $this->_connector->FreeResult();
     }
     return $cnt;
 }