• Online Demo
  • 30-day Free Trial

A * denotes an optional paramater.

getRows(*conditions)

  • Returns: Array, FALSE if there are no rows to report
  • Description: Returns all rows in this module that match the conditions option field and value pairs. conditions must be a two-dimensional array of the form array(array("field" => "", "value" => ""), …). If conditions is not defined all rows will be returned.
  • Usage:
  1. $conditions = array(array("field" => "id", "value" => "2"));
  2. $data = mymodule::$module->getRows($conditions);


Module Functions