PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Output Control> <Object overloading Функции
Last updated: Fri, 10 Oct 2008

view this page in

overload

(PHP 4 >= 4.2.0)

overloadEnable property and method call overloading for a class

Описание

void overload ( string $class_name )

The overload() function will enable property and method call overloading for a class identified by class_name .

Список параметров

class_name

The overloaded class name, as a string

Возвращаемые значения

Эта функция не возвращает значения после выполнения.

Примеры

See an example in the introductory section of this part.



add a note add a note User Contributed Notes
overload
tim at e2-media dot co dot nz
09-Jun-2008 01:35
Note that this function is totally pointless in php5. All it does is set up the same behaviour for a php4 class that already exists in php5.

Output Control> <Object overloading Функции
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites