コード例 #1
0
 /**
  * Merge stylesheets for each selectable widget
  *
  * @return array
  */
 public function getStylesheets()
 {
     $ret = array_merge(parent::getStylesheets(), array('/dcReloadedFormExtraPlugin/css/cr_widget_form_selectable_widget.css' => 'all'));
     foreach ($this->widgets as $k => $w) {
         $ret = array_merge($ret, $w->getStylesheets());
     }
     return $ret;
 }
コード例 #2
0
 public function getStylesheets()
 {
     $parentCss = parent::getStylesheets();
     $fromDateWidget = $this->getOption($this->attributes['id'] . '_' . 'from_date');
     $fromWidgetCss = $fromDateWidget->getStylesheets();
     $css = array_merge($parentCss, $fromWidgetCss);
     return $css;
 }
コード例 #3
0
 public function getStylesheets()
 {
     $css = parent::getStylesheets();
     $css[plugin_web_path('orangehrmLeavePlugin', 'css/ohrmWidgetFormLeaveDuration.css')] = 'all';
     return $css;
 }
コード例 #4
0
 public function getStylesheets()
 {
     return array_merge(parent::getStylesheets(), array("/dcReloadedFormExtraPlugin/css/alTimepicker/jquery.ui.timepicker.css?v=0.2.5" => "screen", "/dcReloadedFormExtraPlugin/css/alTimepicker/reset-tables.css" => "screen"));
 }
コード例 #5
0
 public function getStylesheets()
 {
     return array_merge(parent::getStylesheets(), array('/dcReloadedFormExtraPlugin/css/pm_widget_form_propel_input_by_code.css' => 'all', '/dcReloadedFormExtraPlugin/css/cr_widget_form_js_tree.css' => 'all'));
 }
コード例 #6
0
 public function getStylesheets()
 {
     return array_merge(parent::getStylesheets(), $this->getDependantWidgetStylesheets());
 }
コード例 #7
0
 /**
  * Merge stylesheets for this widget with those css needed by widget option
  *
  * @return array
  */
 public function getStylesheets()
 {
     return array_merge(parent::getStylesheets(), $this->getOption('widget')->getStylesheets());
 }
コード例 #8
0
 public function getStylesheets()
 {
     $fc_css = array_map(create_function('$f', '$f->getStylesheets();'), $this->getOption('filter_criterias'));
     return array_merge(parent::getStylesheets(), array('/csWidgetFormStudentMany/css/csWidgetFormStudentMany.css' => 'all'), $fc_css);
 }