PHP Class Redaxscript\Head\Style

Since: 3.0.0
Author: Henry Ruhs
Inheritance: extends Redaxscript\Singleton, implements Redaxscript\Head\HeadInterface
Show file Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Property Type Description
$_inline string inline style

Public Methods

Method Description
__toString ( ) : string stringify the style
appendInline ( string $inline = null ) : Style append inline style
clear ( ) : Style clear the style
prependInline ( string $inline = null ) : Style prepend inline style
render ( ) : string render the style

Method Details

__toString() public method

stringify the style
Since: 3.0.0
public __toString ( ) : string
return string

appendInline() public method

append inline style
Since: 3.0.0
public appendInline ( string $inline = null ) : Style
$inline string
return Style

clear() public method

clear the style
Since: 3.0.0
public clear ( ) : Style
return Style

prependInline() public method

prepend inline style
Since: 3.0.0
public prependInline ( string $inline = null ) : Style
$inline string
return Style

render() public method

render the style
Since: 3.0.0
public render ( ) : string
return string

Property Details

$_inline protected static property

inline style
protected static string $_inline
return string