11-17-2007, 02:20 PM
|
#4 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
Inside your table class, just add a member variable which is an instance of the columns class.
For example (only an example!):
PHP Code:
class table { public $columns; public function __construct() { $this->columns = new columns(); } }
// Then you can do: $table = new table(); $table->columns->add('asdf');
|
|
|
|