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
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
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)
{
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) -
-
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
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.
Sent from a handheld device
On 08-Dec-2011, at 11:14 PM, Dominik Halvoník
dominik.halvo...@gmail.com 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,
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
ORLANDO POZO wrote:
Hello, mailing list, I have problem with this oop code:
[snip bad code]
--
the output of it is:
[snip output]
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();
class ccontainer
{
function ccontainer()
{
}
function init()
{
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();
class
11 matches
Mail list logo