function getSearchCount($searchKey) { $fields = array("code", "description", "status", "value"); $machineriesDepreciationRecords = new MachineriesDepreciationRecords(); return $machineriesDepreciationRecords->countSearchRecords($searchKey, $fields); }