On 12/15/2011 01:05 PM, Alex Pojarsky wrote:
I'm not sure I've understood you correctly, but you may try something
like the following primitive autoloader (I didn't debug it, it's just
an example):
class Base
{
protected $_path = '';
public function construct($base_path)
{
I'm not sure I've understood you correctly, but you may try something
like the following primitive autoloader (I didn't debug it, it's just
an example):
class Base
{
protected $_path = '';
public function construct($base_path)
{
$this->_path = $base_path;
}
public func
Hello,
I would like to ask you for help. This days I am trying to build one of my
applications. But I have problem which stopped me. I have folder whit php
files like connect.php, delete.php etc. These files contains classes named
the same as files. So in file connect.php is class Connect. These f
Hi guys,
I try to applied your solutions but I have problems whit it. I need to
achieve this schema( -> is something like ../ it means that it is one
level up folder):
connec.php(class Connect MySql)->
select.php(class Select MySql) ->
-> mysql.ph
Sent from a handheld device
On 08-Dec-2011, at 11:14 PM, "Dominik Halvoník"
wrote:
> Hello,
>
> I would like to ask you for help. This days I am trying to build one of my
> applications. But I have problem which stopped me. I have folder whit php
> files like connect.php, delete.php etc. These f
On 8 Dec 2011, at 17:14, Dominik Halvoník wrote:
> I would like to ask you for help. This days I am trying to build one of my
> applications. But I have problem which stopped me. I have folder whit php
> files like connect.php, delete.php etc. These files contains classes named
> the same as files
Hello,
I would like to ask you for help. This days I am trying to build one of my
applications. But I have problem which stopped me. I have folder whit php
files like connect.php, delete.php etc. These files contains classes named
the same as files. So in file connect.php is class Connect. These f
ORLANDO POZO wrote:
Hello, mailing list, I have problem with this oop code:
[snip bad code]
--
the output of it is:
[snip output]
---
Hello, mailing list, I have problem with this oop code:
class Person {
var $name, $address, $age;
function Person($name, $address, $age) {
$this->name = $name;
$this->address = $address;
$this->age = $age;
}
}
Class Employee extends Person {
var $position, $salary;
function
Hi Andrew!
On Sat, 14 Jul 2001, Andrew Kirilenko wrote:
> Hello!
>
> I have following problem:
>
> $container = new ccontainer();
> $container->init();
> $container->test1->foo();
> $container->test2->foo();
> $container->test2->owner->test1->foo();
[*]
> $container->test1->owner->test2->foo()
Hello!
I have following problem:
init();
$container->test1->foo();
$container->test2->foo();
$container->test2->owner->test1->foo();
$container->test1->owner->test2->foo();
class ccontainer
{
function ccontainer()
{
}
function init()
{
$this->test1 = new ctest(&$thi
11 matches
Mail list logo