John W. Holmes wrote:
> From: "Vivian Steller" <[EMAIL PROTECTED]>
>
>> Vivian Steller wrote:
>>
...
>>
>> > class MyClass {
>> function __call($method, $params) {
>> // $params = Array(mixed var, mixed var, ...);
>> print("
Vivian Steller wrote:
...
> class MyClass {
>function __call($method, $params) {
> // $params = Array(mixed var, mixed var, ...);
> print("request for " . $method . "()\n");
>
> // how to get objects in this string?!
> // do i have to implement "
From: "Vivian Steller" <[EMAIL PROTECTED]>
> Vivian Steller wrote:
>
> > Hello,
> >
> > as you know there is a new callback function __call($method, $params) in
> > php5. the __call() method of an object is called, if the method named
> > $method is not declared in this class.
> >
> > i want this
Vivian Steller wrote:
> Hello,
>
> as you know there is a new callback function __call($method, $params) in
> php5. the __call() method of an object is called, if the method named
> $method is not declared in this class.
>
> i want this function simply call the method of another class with
> "So
4 matches
Mail list logo