Re: [PHP] include methods of one class in another

2008-08-21 Thread Pavel
> use a decorator pattern or wait till hell freezes over and the core devs > actually allow the Traits functionality into php. I must read about patterns, thanks :) -- === С уважением, Манылов Павел aka [R-k] icq: 949-388-0 mailto:[EMAIL PROTECTED] === А ещё говорят т

Re: [PHP] include methods of one class in another

2008-08-21 Thread Jochem Maas
Pavel schreef: Hello, firstly, sorry for my English... I have class: //--- class manageClassError{ private $errorsList=array(); private function addError($ex){ $errorsList[]=$ex; } public function isError(){ return (bool)(count($this->errorsList));

Re: [PHP] include methods of one class in another

2008-08-21 Thread Eric Butera
On Thu, Aug 21, 2008 at 6:10 AM, Pavel <[EMAIL PROTECTED]> wrote: > Hello, firstly, sorry for my English... > > I have class: > //--- > class manageClassError{ >private $errorsList=array(); > > >private function addError($ex){ >$errorsList[]=$ex; >} >public function isError(

[PHP] include methods of one class in another

2008-08-21 Thread Pavel
Hello, firstly, sorry for my English... I have class: //--- class manageClassError{ private $errorsList=array(); private function addError($ex){ $errorsList[]=$ex; } public function isError(){ return (bool)(count($this->errorsList)); } public fu