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