public static function getAll($sitio = null, $limit = 0, $order = "fecha") { if ($sitio) { $where = "id_sitio = {$sitio}"; } else { $where = "1=1"; } $faqs = new Faqs(); return $faqs->fetchAll($where, $order, $limit); }