lib/PHPRtfLite/Container.php
public function addTextField(PHPRtfLite_Font $font = null, PHPRtfLite_ParFormat $parFormat = null)
    {
        $textField = new PHPRtfLite_FormField_Text($this->_rtf, $font, $parFormat);
        $this->_elements[] = $textField;
        return $textField;
    }
public function addTextField(PHPRtfLite_Font $font = null, PHPRtfLite_ParFormat $parFormat = null)
    {
        $textField = new PHPRtfLite_FormField_Text($this->_rtf, $font, $parFormat);
        $this->_elements[] = $textField;
        return $textField;
    }
public function addTextField ( PHPRtfLite_Font $ font = null , PHPRtfLite_ParFormat $ parFormat = null ) { $ textField = new PHPRtfLite_FormField_Text ( $ this -> _rtf , $ font , $ parFormat ) ; $ this -> _elements [ ] = $ textField ; return $ textField ; }
adds text field

@param   PHPRtfLite_Font         $font
@param   PHPRtfLite_ParFormat    $parFormat
@return  PHPRtfLite_FormField_Text
adds text field