On Monday 02 March 2009 20:50:56 Sancar Saran wrote:
> Hello list.
>
> I'm trying to implement someting on OO way.
>
> I got 2 classes
>
> class a {
> var $config = array();
> var $b = '';
>
> function __construct {
>$this->b = new b($this->config);
> }
>
> }
>
> class b {
> var $conf
Hello list.
I'm trying to implement someting on OO way.
I got 2 classes
class a {
var $config = array();
var $b = '';
function __construct {
$this->b = new b($this->config);
}
}
class b {
var $config = array();
function foo() {
switch($this->config['bar']) {
}
}
}
2 matches
Mail list logo