a SENSIOLABS Product
Symfony

Templating
Simple yet powerful templating framework

sfTemplateHelperStylesheets Class

All Classes

RELEASE INFORMATION

You are currently browsing the API for the trunk version.
sfTemplateHelperStylesheets is a helper that manages stylesheets.


Usage:


$this->stylesheets->add('foo.css', array('media' => 'print'));
echo $this->stylesheets;

Inheritence

sfTemplateHelperStylesheets  <  sfTemplateHelper
METHODS
add()  adds a stylesheets file.
get()  returns all stylesheet files.
__toString()  returns a string representation of this helper as HTML.
getName()  returns the canonical name of this helper.

Methods inherited from sfTemplateHelper

setHelperSet , getHelperSet
  • add($stylesheet, $attributes)

    Adds a stylesheets file.

    ARGUMENTS
    $stylesheet A stylesheet file path
    $attributes An array of attributes
  • get()

    Returns all stylesheet files.

    ARGUMENTS
  • (string) __toString()

    Returns a string representation of this helper as HTML.

    returns The HTML representation of the stylesheets

  • (string) getName()

    Returns the canonical name of this helper.

    returns The canonical name

powered by symfony - "symfony" is a trademark of Fabien Potencier, all rights reserved - The components "animals" are © 2009 Sensio Labs

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.