function title($method, $corp) { if ($method != $this->method) { $method = $this->method; } if ($method == "emps_view") { $empleados = new emps(); $this->method = "view"; return $empleados->title("view", $corp); } if ($corp != "") { $corp = $corp . " ::"; } $title = "Zona Privada :: {$corp} Empleados :: Ver Usuario"; $title = $title . $this->localice($method); return $title; }