The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

  use Solstice::IncludeService;

DESCRIPTION

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

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

VERSION

$Revision: 3364 $

COPYRIGHT

Copyright 1998-2007 Office of Learning Technologies, University of Washington

Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.