protected function AvailabilityCalendarsCssGenerator::addCssDeclaration in Availability Calendars 6.2
Same name and namespace in other branches
- 7.2 availability_calendars.styles.inc \AvailabilityCalendarsCssGenerator::addCssDeclaration()
Creates a CSS declaration.
Parameters
string $category The name of the category in which the setting is stored.:
string|array $name The name of the setting and property. If $name is an array it should: be an array with 1 element of the form <setting name> => <property name>. Use this if the setting name is not the name of the property.
Return value
string The generated CSS declaration: " property: value;"
5 calls to AvailabilityCalendarsCssGenerator::addCssDeclaration()
- AvailabilityCalendarsCssGenerator::createCaptionCss in ./
availability_calendars.styles.inc - AvailabilityCalendarsCssGenerator::createDaysCss in ./
availability_calendars.styles.inc - AvailabilityCalendarsCssGenerator::createHeaderCss in ./
availability_calendars.styles.inc - AvailabilityCalendarsCssGenerator::createStatesCss in ./
availability_calendars.styles.inc - AvailabilityCalendarsCssGenerator::createTableCss in ./
availability_calendars.styles.inc
File
- ./
availability_calendars.styles.inc, line 745
Class
Code
protected function addCssDeclaration($category, $name) {
$value = $this
->getStyle($category, $name);
return $this
->cssDeclaration($name, $value);
}