application/models/Equipmentunit_model.php
/**
     * Finds all equipment unit objects.
     * 
     * @return type
     */
Finds all equipment unit objects.

@return type
Finds all equipment unit objects . @return type
public function findAll() {
        $equipmentunit = R::getAll('SELECT equipmentunit.id AS equipmentunit_id, equipmentunit.unit_number, equipmentunit.track_type, equipmentunit.person_responsible, equipmentunit.fluids_tracked, equipmentunit.active, manufacturer.manufacturer_name, equipmentmodel.model_number, equipmenttype.equipment_type
FROM equipmentunit
  LEFT JOIN equipmentmodel ON equipmentunit.equipmentmodel_id = equipmentmodel.id
  LEFT JOIN manufacturer ON equipmentmodel.manufacturer_id = manufacturer.id
  LEFT JOIN equipmenttype ON equipmentmodel.equipmenttype_id = equipmenttype.id
  ORDER BY manufacturer_name ASC, model_number ASC, unit_number ASC');
        return $equipmentunit;
    }
public function findAll ( ) { $ equipmentunit = R :: getAll ( 'SELECT equipmentunit.id AS equipmentunit_id, equipmentunit.unit_number, equipmentunit.track_type, equipmentunit.person_responsible, equipmentunit.fluids_tracked, equipmentunit.active, manufacturer.manufacturer_name, equipmentmodel.model_number, equipmenttype.equipment_type
FROM equipmentunit
  LEFT JOIN equipmentmodel ON equipmentunit.equipmentmodel_id = equipmentmodel.id
  LEFT JOIN manufacturer ON equipmentmodel.manufacturer_id = manufacturer.id
  LEFT JOIN equipmenttype ON equipmentmodel.equipmenttype_id = equipmenttype.id
  ORDER BY manufacturer_name ASC, model_number ASC, unit_number ASC' ) ; return $ equipmentunit ; }
Finds all equipment unit objects.
Finds all equipment unit objects .