lib/PHPRtfLite/Container/Base.php
public function addTable($alignment = PHPRtfLite_Table::ALIGN_LEFT)
    {
        $table = new PHPRtfLite_Table($this, $alignment);
        $this->_elements[] = $table;

        return $table;
    }
public function addTable($alignment = PHPRtfLite_Table::ALIGN_LEFT)
    {
        $table = new PHPRtfLite_Table($this, $alignment);
        $this->_elements[] = $table;

        return $table;
    }
public function addTable ( $ alignment = PHPRtfLite_Table :: ALIGN_LEFT ) { $ table = new PHPRtfLite_Table ( $ this , $ alignment ) ; $ this -> _elements [ ] = $ table ; return $ table ; }
adds table to element container.

@param  string $alignment Alingment of table. Represented by class constants PHPRtfLite_Table::ALIGN_*<br>
Possible values:<br>
PHPRtfLite_Table::ALIGN_LEFT   => 'left',<br>
PHPRtfLite_Table::ALIGN_CENTER => 'center',<br>
PHPRtfLite_Table::ALIGN_RIGHT  => 'right'<br>

@return PHPRtfLite_Table
adds table to element container .