Esempio n. 1
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);
 }
Esempio n. 2
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);
 }