UNB Components Code Reference

UnbUi::GetStyleClassAttr method

Gets the HTML attributes for CSS style and class from a combined style specification.

private static function UnbUi::GetStyleClassAttr ($style, $addStyle = '');

Parameters

style

(string) CSS style attribute value and CSS class attribute value, separated by '|'

addStyle  –  optional, default: ''

(string) Additional locally defined style and class values, same format as style parameter

Return value

(string) HTML attributes that have a value set. If any attribute is set, there is a single space around the returned string so it can be safely printed into HTML elements.

Member of class: UnbUi

Implementation file: ui.class.php, line 206

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.