XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
dhtmltextarea.php
Go to the documentation of this file.
1 <?php
20 defined( 'XOOPS_ROOT_PATH' ) or die( 'Restricted access' );
21 
23 
33 class FormDhtmlTextArea extends XoopsEditor {
40  var $_hiddenText = 'xoopsHiddenText';
41 
47  function __construct($options = array())
48  {
49  parent::__construct( $options );
50  $this->rootPath = '/class/xoopseditor/' . basename( dirname( __FILE__ ) );
51  $hiddenText = isset( $this->configs['hiddenText'] ) ? $this->configs['hiddenText'] : $this->_hiddenText;
52  xoops_load('XoopsFormDhtmlTextArea');
53  $this->renderer = new XoopsFormDhtmlTextArea( '', $this->getName(), $this->getValue(), $this->getRows(), $this->getCols(), $hiddenText, $this->configs );
54  }
55 
61  function FormDhtmlTextArea($options = array())
62  {
63  $this->__construct($options);
64  }
65 
71  function render()
72  {
73  return $this->renderer->render();
74  }
75 }
76 
77 ?>