Gets the HTML attributes for CSS style and class and additional HTML attributes from a combined style specification.
private static function UnbUi::GetStyleClassAttr ($style, $addStyle = '');
(string) CSS style attribute value, CSS class attribute value and HTML attribute flags, each separated by '|'
(string) Additional locally defined style and class values, same format as style parameter
(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.
Examples:
* 'margin-right: 5px;'
* '|monospace'
* 'margin-right: 5px;|monospace'
* '||disabled'
* 'margin-right: 5px;||disabled'
* 'margin-right: 5px;|monospace|disabled'
Member of class: UnbUi
Implementation file: ui.class.php, line 218
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.