'grid' ); /** * Build the widget. * * @access protected * @return node */ protected function build() { return zui::imageSelector(inherit($this)); } protected function created() { if(!$this->hasProp('tip')) { global $lang; $this->setProp('tip', $lang->uploadImagesTip); } parent::created(); } }