Ejemplo n.º 1
0
 /**
  * Constructor
  *
  * @param string $content_id Content id
  *
  * @return void     */
 protected function __construct($content_id)
 {
     parent::__construct($content_id);
     /**
      * HTML allowed to be used
      */
     $this->allowed_html_tags = "";
 }
Ejemplo n.º 2
0
 /**
  * Constructor
  *
  * @param string $content_id Content id
  *
  * @return void     */
 protected function __construct($content_id)
 {
     parent::__construct($content_id);
     /*
      * A TrivialLangstring is NEVER persistent
      */
     parent::setIsPersistent(false);
 }
Ejemplo n.º 3
0
 /**
  * Constructor
  *
  * @param string $content_id Content id
  *
  * @return void     */
 protected function __construct($content_id)
 {
     parent::__construct($content_id);
     $this->allowed_html_tags = "";
     /*
      * A SimpleString is NEVER persistent
      */
     parent::setIsPersistent(false);
 }
Ejemplo n.º 4
0
 /**
  * Constructor.
  *
  * @param int $content_id ID of content.
  *
  * @return void     */
 protected function __construct($content_id)
 {
     parent::__construct($content_id);
     $this->allowed_html_tags = "<p><div><pre><address><h1><h2><h3><h4><h5><h6><br><b><strong><i><em><u><span><ol><ul><li><a><img><embed><table><tbody><thead><th><tr><td><hr>";
     // Check FCKeditor support
     if (Dependency::check("FCKeditor")) {
         // Load FCKeditor class
         require_once 'lib/FCKeditor/fckeditor.php';
         $this->_FCKeditorAvailable = true;
     }
 }
Ejemplo n.º 5
0
 /**
  * Constructor
  *
  * @param string $content_id Content id
  *
  * @return void     */
 protected function __construct($content_id)
 {
     parent::__construct($content_id);
 }