/** * Prepare request data (typecasting) * * @param mixed $value Value * * @return mixed */ public function prepareRequestData($value) { return trim(parent::prepareRequestData($value)); }
/** * Get a list of JS files required to display the widget properly * * @return array */ public function getJSFiles() { $list = parent::getJSFiles(); $list[] = $this->getDir() . '/js/text.js'; return $list; }