function __construct($fields = false) { global $omssql; parent::__construct($fields); $this->_LINK = $omssql; //5.1.0 }
function _prepare() { $query = parent::_prepare(); if ($this->_fromRowMy) { //5.1.0 $query .= ' LIMIT ' . $this->_fromRowMy; if ($this->_rowCountMy) { $query .= ', ' . $this->_rowCountMy; } else { $query .= ', 1000000'; } } else { if ($this->_rowCountMy) { $query .= ' LIMIT ' . $this->_rowCountMy; } } return $query; }