Re: [PHP-ES] Utilizacion dinamica de metodos de clases

[email protected] ("J. Mauro Daino")
Newsgroups php.general.es
Message-ID <CAF60FfDJicxtMWFnmmYJ1sFtDJr7YeE9o_3GL+-oh2RVGrZAVQ@mail.gmail.com>
2011/10/16 Anto <[email protected]>

> [...]

require_once("$nombreclase.php");
>

http://ar2.php.net/manual/es/language.oop5.autoload.php


> $manejador = new $nombreclase(); // Aqui es la duda, que me gustaria
> llamar a la clase igual que su fichero, pero no se si asi funcionaria
>

http://ar2.php.net/manual/es/language.oop5.basic.php#example-157


> [...]


Suerte.

-- 
J. Mauro Daino (tcc: jMd/jMdZ)
google.com/profiles/maurodaino
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.