11-17-2007, 02:34 PM
|
#6 (permalink)
|
|
The Wanderer
Join Date: Nov 2007
Posts: 12
Thanks: 0
|
If you create a columns object inside the table object,than you cannot access that object directly out of the object.
For example
PHP Code:
<?php
class table {
public $columns;
public function __construct() { $this->columns = new columns(); } }
//Will Work// $table = new columns(); $table->columns->function();
//Will Not Work Unless You Create A New Columns Object ($columns = new columns()// $columns->function(); ?>
|
|
|