You are here: Re: HELP ! ! ! something simple . . . :D « PHP Programming Language « IT news, forums, messages
Re: HELP ! ! ! something simple . . . :D

Posted by CorfuVBProgrammer on 12/29/06 11:59

New Question

if i like to use the instance from other method into the class how can
i do that ? ? ?

example:

class class_a
{
public function method_a()
{

}
}

class class_b
{
private $objInstance;

public function __construct()
{
$this->objInstance = new class_a();
}

public function method_t()
{
how to use the $objInstance methods into this method ? ? ?
}
}



thanks a lot

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация