public function getAll() { $all = parent::getAll(); return array('data' => $all, 'total' => count($all)); }