/** * 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 Contacts objects * @throws DBQueryError */ function find($arguments = null) { if (isset($this) && instance_of($this, 'Contacts')) { return parent::find($arguments); } else { return Contacts::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 ProjectFiles objects * @throws DBQueryError */ function find($arguments = null) { if (isset($this) && instance_of($this, 'ProjectFiles')) { return parent::find($arguments); } else { return ProjectFiles::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 TemplateTasks objects * @throws DBQueryError */ function find($arguments = null) { if (isset($this) && instance_of($this, 'TemplateTasks')) { return parent::find($arguments); } else { return TemplateTasks::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 ProjectMilestones objects * @throws DBQueryError */ function find($arguments = null) { if(isset($this) && instance_of($this, 'ProjectMilestones')) { return parent::find($arguments); } else { return ProjectMilestones::instance()->find($arguments); //$instance =& ProjectMilestones::instance(); //return $instance->find($arguments); } // if } // find
/** * 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 Workspaces objects * @throws DBQueryError */ function find($arguments = null) { if (isset($this) && instance_of($this, 'Workspaces')) { return parent::find($arguments); } else { return Workspaces::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 Billings objects * @throws DBQueryError */ function find($arguments = null) { if(isset($this) && instance_of($this, 'Billings')) { return parent::find($arguments); } else { return Billings::instance()->find($arguments); } // if } // find