Auto bids added. Model extended. Bid cost with discount added. Dynamic time_increment added
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@22 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -2,11 +2,11 @@
|
||||
/**
|
||||
* Класс модели данных
|
||||
*
|
||||
* @copyright
|
||||
* @link
|
||||
* @copyright
|
||||
* @link
|
||||
* @package Majestic
|
||||
* @subpackage DB
|
||||
* @since
|
||||
* @since
|
||||
* @version SVN: $Id$
|
||||
* @filesource $URL$
|
||||
*/
|
||||
@ -126,9 +126,9 @@ class ModelSelectResult extends ModelResult
|
||||
$this->result = $res;
|
||||
}
|
||||
|
||||
function fetch()
|
||||
function fetch($class_name = false)
|
||||
{
|
||||
return mysqli_fetch_object($this->result);
|
||||
return $class_name ? mysqli_fetch_object($this->result, $class_name) : mysqli_fetch_object($this->result);
|
||||
}
|
||||
|
||||
function fetchField($field, $default = false)
|
||||
|
Reference in New Issue
Block a user