/** * Constructs a new TinyMCE field * @param string $name name of the field * @param mixed $defaultValue value for the initialization of the field * @param boolean $isDisabled flag to enable or disable the field * @return null */ public function __construct($name, $defaultValue = null, $isDisabled = false) { parent::__construct($name, $defaultValue, $isDisabled); $zibo = Zibo::getInstance(); $zibo->registerEventListener(Zibo::EVENT_PRE_RESPONSE, array($this, 'preResponse')); $this->tinymceParams = $zibo->getConfigValue(self::CONFIG_TINYMCE, array()); }
public function __construct($name, $defaultValue = null, $isDisabled = false) { parent::__construct($name, $defaultValue, $isDisabled); $zibo = Zibo::getInstance(); $zibo->registerEventListener(Zibo::EVENT_PRE_RESPONSE, array($this, 'preResponse')); }