/** * Constructor. Pass in an array of fields. */ public function __construct($fields) { parent::__construct($fields); }
/** * @param $items An array of PodioItem objects * @param $filtered Count of items in current selected * @param $total Total number of items if no filters were to apply */ public function __construct($items = array(), $filtered = null, $total = null) { $this->filtered = $filtered; $this->total = $total; parent::__construct($items); }