Property | Type | Description | |
---|---|---|---|
$appDir | string | ||
$defaultEntry | string | ||
$defaultPage | string | ||
$defaultZone | string | ||
$entry | string | current entry | |
$page | string | current page | |
$pathInfo | string | ||
$splitFlag | string | split flag of zone,classs,method | |
$zone | string | current zone | |
$zoneAlias | array | zoneAlias |
Method | Description | |
---|---|---|
getAppDir ( ) : string | appDir get | |
getDebug ( ) : boolean | debug status get | |
getDefaultEntry ( ) : string | defaultMethod get | |
getDefaultPage ( ) : string | getDefaultClass get | |
getDefaultZone ( ) : string | defaultZone get | |
getSplitFlag ( ) : string | defaultMethod get | |
getZoneAlias ( string $zone ) : string | boolean | ||
run ( string $path = "" ) : boolean | main method! | |
setAppDir ( string $dir ) : boolean | appDir set && get IMPORTANT: you must set absolute path if you use extension mode(extension=SlightPHP.so) | |
setDebug ( boolean $debug ) : boolean | debug status set | |
setDefaultEntry ( string $entry ) : boolean | defaultMethod set | |
setDefaultPage ( string $page ) : boolean | defaultClass set | |
setDefaultZone ( string $zone ) : boolean | defaultZone set | |
setPathInfo ( $pathInfo ) | ||
setSplitFlag ( string $flag ) : boolean | splitFlag set | |
setZoneAlias ( string $zone, string $alias ) : boolean |
Method | Description | |
---|---|---|
debug ( $debugmsg ) | *private |
public static getDefaultEntry ( ) : string | ||
return | string | $method |
public static getDefaultPage ( ) : string | ||
return | string |
public static getDefaultZone ( ) : string | ||
return | string |
public static getSplitFlag ( ) : string | ||
return | string |
public static setDefaultEntry ( string $entry ) : boolean | ||
$entry | string | |
return | boolean |
public static setDefaultPage ( string $page ) : boolean | ||
$page | string | |
return | boolean |
public static setDefaultZone ( string $zone ) : boolean | ||
$zone | string | |
return | boolean |
public static setSplitFlag ( string $flag ) : boolean | ||
$flag | string | |
return | boolean |
public static string $splitFlag | ||
return | string |