/** * Do a SELECT query over database with specified arguments * * @access public * @param array $arguments Array of query arguments. Fields: * * - one - select first row * - conditions - additional conditions * - order - order by string * - offset - limit offset, valid only if limit is present * - limit * * @return one or ProjectFileRevisions objects * @throws DBQueryError */ function find($arguments = null) { if (isset($this) && instance_of($this, 'ProjectFileRevisions')) { return parent::find($arguments); } else { return ProjectFileRevisions::instance()->find($arguments); //$instance =& ProjectFileRevisions::instance(); //return $instance->find($arguments); } // if }
/** * Do a SELECT query over database with specified arguments * * @access public * @param array $arguments Array of query arguments. Fields: * * - one - select first row * - conditions - additional conditions * - order - order by string * - offset - limit offset, valid only if limit is present * - limit * * @return one or Comments objects * @throws DBQueryError */ function find($arguments = null) { if (isset($this) && instance_of($this, 'Comments')) { return parent::find($arguments); } else { return Comments::instance()->find($arguments); //$instance =& Comments::instance(); //return $instance->find($arguments); } // if }
/** * Do a SELECT query over database with specified arguments * * @access public * @param array $arguments Array of query arguments. Fields: * * - one - select first row * - conditions - additional conditions * - order - order by string * - offset - limit offset, valid only if limit is present * - limit * * @return one or ProjectCharts objects * @throws DBQueryError */ function find($arguments = null) { if(isset($this) && instance_of($this, 'ProjectCharts')) { return parent::find($arguments); } else { return ProjectCharts::instance()->find($arguments); } // if } // find