SimplOn PHP
 All Data Structures Namespaces Files Functions Variables
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
JS Class Reference
+ Inheritance diagram for JS:

Public Member Functions

 __construct ($flavour, $directory, $file)
 index ()

Static Public Member Functions

static compress ()
static getPath ($file, $flavour=null, $directory=null)
static getLibs ($flavour=null)

Data Fields

const mime = 'text/javascript'
const type = 'JS'
const default_dir = 'Inits'
 $flavour
 $directory
 $file

Static Public Attributes

static $files_exists = array()

Detailed Description

Definition at line 23 of file JS.php.


Constructor & Destructor Documentation

__construct ( id_or_array,
storage,
specialDataStorage 
)
  • Calls user defined constructor.
  • Adds default Element's actions.
  • Validates DataStorages.
  • Fills its Datas' values if possible (requires a valid ID or array of values).
  • Fills some of its Datas' meta-datas (parent, names).
    Parameters:
    mixed$id_or_arrayID of the Element or array of Element's Datas values.
    DataStorage$specialDataStorageDataStorage to use in uncommon cases.

Reimplemented from Element.

Definition at line 33 of file JS.php.


Member Function Documentation

static compress ( ) [static]

Definition at line 39 of file JS.php.

static getLibs ( flavour = null) [static]

Definition at line 64 of file JS.php.

static getPath ( file,
flavour = null,
directory = null 
) [static]

Definition at line 43 of file JS.php.

index ( )

Default method that will be shown in case no methods have been specified.

Reimplemented from Element.

Definition at line 80 of file JS.php.


Field Documentation

$directory

Definition at line 29 of file JS.php.

$file

Definition at line 29 of file JS.php.

$files_exists = array() [static]

Definition at line 31 of file JS.php.

$flavour

Definition at line 29 of file JS.php.

const default_dir = 'Inits'

Definition at line 27 of file JS.php.

const mime = 'text/javascript'

Definition at line 25 of file JS.php.

const type = 'JS'

Definition at line 26 of file JS.php.


The documentation for this class was generated from the following file: