name->test( );
Thankyou,
André
--
André Pletschette
GSM: 091 719 991
Skype: pletschette (Internet Telephony)
VCard: http://andre.pletschette.net/
.o°'˜'°o.o°'˜'°o.o°'˜'°o.o°'˜'°o.o°'˜'°o.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
What do I have to do to call a function from $classname?
Like: $classname->test( );
Thankyou,
André
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;t have a solution for my second problem: I don't want to
supply $classname as Parameter when calling:
testTable::toHtml_table_heading($dbConnect, "testTable");
André
André Pletschette wrote:
Thanks Jochem, I now solved the problem with your help, the following
way:
In the parent-clas
t;);
- I need a similar thing for an Array $fields, which contains the field
descriptions of the class:
static function toHtml_table_heading($dbConnect, $classname) {
$result = "\n\t";
if (!isset("$classname::$fields")) {
$classname->intializeClass($dbConnect, $classname);
}
...
Hi,
I've got one function getTableName() which returns the Database-Table
with the data of a class (see below).
As you can see it always calls the static $tablename of the subclass
described by $this->classname.
Thankyou,
André
Here the function:
function getTableName() {
if ($this->
Hi,
In the static function "toHtml_table_heading" I want to use a static
array $fields, which has different content for each implementation
(sub-class)
My first trial was to use self::$fields[] to access this array, but
this only sees the member of DBTable (the class where it is been used,
no
Hi,
In the static function "toHtml_table_heading" I want to use a static
array $fields, which is defined differently in each implementation.
My first trial was to use self::$fields[] to access this array, but
this only sees the member of DBTable, not the inherited from DBTable.
My second tri
7 matches
Mail list logo