Solstice::IncludeService - Used to include linked resources on a page, such as stylesheets and javascript.


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

Solstice::IncludeService - Used to include linked resources on a page, such as stylesheets and javascript.

SYNOPSIS

Top

  use Solstice::IncludeService;

DESCRIPTION

Top

Superclass

Solstice::Service

Export

No symbols exported.

Methods

new()

Creates a new Solstice::IncludeService object.

addIncludedFile($params)

Add an included file to the service. $params is a reference to a hash:

    { 
        file => 'path/to/include.js',
        type => 'text/javascript'
    }
or
    {
        file  => 'path/to/include.css',
        type  => 'text/css'
    }

addCSSAplicationIncludes($namespace)
addCSSFile($file)
addJSApplicationIncludes($namespace)
addJSFile($file)
addApplicationIncludes($namespace)
getJavascriptIncludes()
getCSSIncludes()
getJavascriptType()
getCSSType()
setPageTitle($str)
getPageTitle()

Private Methods

_init()
_addFile($file, $type)
_getIncludedFiles($type)
_buildStaticFileConcat(\@files, $type)
_getClassName()

Return the class name. Overridden to avoid a ref() in the superclass.

_removeSlashes($path)

Here as a utility for buildStaticFileConcat

Modules Used

Solstice::Service.

AUTHOR

Top

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Top

$Revision: 3364 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.