本文整理匯總了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);
}