Browse Source

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
master
akulikov 16 years ago
parent
commit
5506c9e656
  1. 10
      classes/Model.class.php

10
classes/Model.class.php

@ -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)

Loading…
Cancel
Save