File/sylar/sylar_loader.php

Description

Sylar - Framework Loader Load the Sylar Framework base settings

Includes
 include_once (SYLAR_ROOT_FS.'settings/sylar.php') (line 50)

Sylar Settings Load the configuration of Sylar Framework

SYLAR_ROOT_FS must be defined for example in the application config file

Functions
import (line 156)

import() function This function includes php codes from other scripts (libraryes) to current environment Folders separator is dot character '.' and base path (SYLAR_CLASSES_ROOT_FS)

If $fileClass starts whith ~ it includes the classes from application defined in SYLAR_APPLICATION_CLASSES_ROOT_FS

void import (string $fileClass)
  • string $fileClass: the path of class separated by "." example: db.mysql.driver

Documentation generated on Thu, 24 Apr 2008 16:14:23 +0200 by phpDocumentor 1.3.0RC3