本文整理汇总了PHP中sfWidgetForm::getStylesheets方法的典型用法代码示例。如果您正苦于以下问题:PHP sfWidgetForm::getStylesheets方法的具体用法?PHP sfWidgetForm::getStylesheets怎么用?PHP sfWidgetForm::getStylesheets使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sfWidgetForm
的用法示例。
在下文中一共展示了sfWidgetForm::getStylesheets方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getStylesheets
/**
* 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: getStylesheets
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: getStylesheets
public function getStylesheets()
{
$css = parent::getStylesheets();
$css[plugin_web_path('orangehrmLeavePlugin', 'css/ohrmWidgetFormLeaveDuration.css')] = 'all';
return $css;
}
示例4: getStylesheets
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: getStylesheets
public function getStylesheets()
{
return array_merge(parent::getStylesheets(), $this->getDependantWidgetStylesheets());
}
示例6: getStylesheets
/**
* 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());
}
示例7: getStylesheets
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);
}