public function __construct($options = array(), $attributes = array()) { parent::__construct($options, $attributes); $this->tinyMCEConfigs = array_merge($this->tinyMCEConfigs, $this->getOption('config')); if (!isset($this->tinyMCEConfigs['language']) && sfContext::hasInstance()) { $lang = explode('_', sfContext::getInstance()->getUser()->getCulture()); $this->tinyMCEConfigs['language'] = $lang[0]; } }
public function __construct($options = array(), $attributes = array()) { $this->addOption('filebrowser', null); parent::__construct($options, $attributes); }
public function __construct($options = array(), $attributes = array()) { $this->addOption('max_size', '50'); parent::__construct($options, $attributes); }