public static function getAll($sitio = null, $limit = 0, $order = "id") { if ($sitio) { $where = "id_sitio = {$sitio}"; } $archivos = new Archivos(); return $archivos->fetchAll($where, $order, $limit); }