Helper for setting and retrieving stylesheets
Return headStyle object
Returns headStyle helper object; optionally, allows specifying
| Parameters: |
|
|---|---|
| Return type: | ZendViewHelperHeadStyle |
Overload method calls
Allows the following method calls: - appendStyle($content, $attributes = array()) - offsetSetStyle($index, $content, $attributes = array()) - prependStyle($content, $attributes = array()) - setStyle($content, $attributes = array())
| Parameters: |
|
|---|---|
| Return type: | void |
| Throws : | ExceptionBadMethodCallException When no $content provided or invalid method |
Determine if a value is a valid style tag
| Parameters: | mixed – |
|---|---|
| Return type: | bool |
Override append to enforce style creation
| Parameters: | mixed – |
|---|---|
| Return type: | void |
| Throws : | ExceptionInvalidArgumentException |
Override offsetSet to enforce style creation
| Parameters: |
|
|---|---|
| Return type: | void |
| Throws : | ExceptionInvalidArgumentException |
Override prepend to enforce style creation
| Parameters: | mixed – |
|---|---|
| Return type: | void |
| Throws : | ExceptionInvalidArgumentException |
Override set to enforce style creation
| Parameters: | mixed – |
|---|---|
| Return type: | void |
| Throws : | ExceptionInvalidArgumentException |
Start capture action
| Parameters: |
|
|---|---|
| Return type: | void |
| Throws : | ExceptionRuntimeException |
Convert content and attributes into valid style tag
| Parameters: |
|
|---|---|
| Return type: | string |