PHP Class Horde_Script_File, horde

Author: Michael Slusarz ([email protected])
ファイルを表示 Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$cache string The cache group this file should be output in.
$jsvars array Javascript variables that should be output to the page.

Protected Properties

Property Type Description
$_app string Application.
$_file string Filename.
$_priority integer Priority.

Public Methods

Method Description
__construct ( string $file, string $app = null ) Adds a single javascript script to the output (if output has already started), or to the list of script files to include in the output.
__get ( $name )
__set ( $name, $value )
__toString ( )

Protected Methods

Method Description
_url ( string $file, boolean $full ) : Horde_Url Create a static javascript URL.

Method Details

__construct() public method

Adds a single javascript script to the output (if output has already started), or to the list of script files to include in the output.
public __construct ( string $file, string $app = null )
$file string The full javascript file name.
$app string The application name. Defaults to the current application.

__get() public method

public __get ( $name )

__set() public method

public __set ( $name, $value )

__toString() public method

public __toString ( )

_url() protected method

Create a static javascript URL.
protected _url ( string $file, boolean $full ) : Horde_Url
$file string File name.
$full boolean Return full URL?
return Horde_Url URL.

Property Details

$_app protected_oe property

Application.
protected string $_app
return string

$_file protected_oe property

Filename.
protected string $_file
return string

$_priority protected_oe property

Priority.
protected int $_priority
return integer

$cache public_oe property

The cache group this file should be output in.
public string $cache
return string

$jsvars public_oe property

Javascript variables that should be output to the page.
public array $jsvars
return array