protected function outputMany($data)
    {
        if (is_object($data)) {
            $data = $data->getRows();
        }

        $output = array();
        foreach ($data as $row) {
            $output[] = $this->outputOne($row);
        }

        return $output;
    }
protected function outputMany($data)
    {
        if (is_object($data)) {
            $data = $data->getRows();
        }

        $output = array();
        foreach ($data as $row) {
            $output[] = $this->outputOne($row);
        }

        return $output;
    }
protected function outputMany ( $ data ) { if ( is_object ( $ data ) ) { $ data = $ data -> getRows ( ) ; } $ output = array ( ) ; foreach ( $ data as $ row ) { $ output [ ] = $ this -> outputOne ( $ row ) ; } return $ output ; }
Generic outptu filtering method for multiple records of data.

@param object|array $data

@return array
Generic outptu filtering method for multiple records of data .