/** * Overwritten * * @access public * @return The first row of the query. */ function loadRow($translate = true, $language = null) { if (!$translate) { return parent::loadRow(); } $result = null; $result = $this->_loadObject($translate, $language); $pfunc = $this->_profile(); $row = array(); if ($result != null) { $fields = get_object_vars($result); foreach ($fields as $val) { $row[] = $val; } return $row; } return $row; }
/** * Overwritten * * @access public * @return The first row of the query. */ public function loadRow($translate = true, $language = null) { if ($this->skipjf) { return parent::loadRow(); } $this->translate = $translate; if (!$translate) { $reslt = parent::loadRow(); return $reslt; } $result = null; $result = $this->loadObject("stdClass", $translate, $language); $pfunc = $this->profile(); $row = array(); if ($result != null) { $fields = get_object_vars($result); foreach ($fields as $val) { $row[] = $val; } return $row; } return $row; }