コード例 #1
0
 /**
  * Overwritten Fetch a result row as an associative array
  *
  * @access	public
  * @return array
  */
 function loadAssoc($translate = true, $language = null)
 {
     if (!$translate) {
         return parent::loadResult();
     }
     $result = null;
     $result = $this->_loadObject($translate, $language);
     $pfunc = $this->_profile();
     if ($result != null) {
         $fields = get_object_vars($result);
         $pfunc = $this->_profile($pfunc);
         return $fields;
     }
     return $result;
 }