protected function AvailabilityCalendarsStylesFormValidator::getStyle in Availability Calendars 6.2
Same name and namespace in other branches
- 7.2 availability_calendars.styles.inc \AvailabilityCalendarsStylesFormValidator::getStyle()
Helper method to return 1 style setting, (to not repeat the taking care of not being set, defaults, etc).
Parameters
string $name:
string $category the name of the category, NULL for the current fieldset:
3 calls to AvailabilityCalendarsStylesFormValidator::getStyle()
File
- ./
availability_calendars.styles.inc, line 440
Class
Code
protected function getStyle($name, $category = NULL) {
if ($category === NULL) {
$category = $this->currentFieldset;
}
return isset($this->styles[$category][$name]) ? $this->styles[$category][$name] : '';
}