PHP Класс Horde_Script_File, horde

Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$cache string The cache group this file should be output in.
$jsvars array Javascript variables that should be output to the page.

Защищенные свойства (Protected)

Свойство Тип Описание
$_app string Application.
$_file string Filename.
$_priority integer Priority.

Открытые методы

Метод Описание
__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 ( )

Защищенные методы

Метод Описание
_url ( string $file, boolean $full ) : Horde_Url Create a static javascript URL.

Описание методов

__construct() публичный Метод

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 __get ( $name )

__set() публичный Метод

public __set ( $name, $value )

__toString() публичный Метод

public __toString ( )

_url() защищенный Метод

Create a static javascript URL.
protected _url ( string $file, boolean $full ) : Horde_Url
$file string File name.
$full boolean Return full URL?
Результат Horde_Url URL.

Описание свойств

$_app защищенное свойство

Application.
protected string $_app
Результат string

$_file защищенное свойство

Filename.
protected string $_file
Результат string

$_priority защищенное свойство

Priority.
protected int $_priority
Результат integer

$cache публичное свойство

The cache group this file should be output in.
public string $cache
Результат string

$jsvars публичное свойство

Javascript variables that should be output to the page.
public array $jsvars
Результат array