Property | Type | Description | |
---|---|---|---|
CreateDefaultScriptContext | |||
DynamicInclude | object | ||
IncludeScript | object | ||
InitConstants | void | ||
InitPlatformSpecific | void | ||
InitWebRequest | |||
LoadDynamicScriptType | System.ScriptInfo | ||
RunApplication | void | ||
SearchForIncludedFile | FullPath | ||
StaticInclude | bool |
Method | Description | |
---|---|---|
Include ( string relativeSourcePath, bool once ) : object |
Includes a specific script using current configuration.
|
|
InitApplication ( PHP.Core.ApplicationContext appContext, |
Initializes the script context for a PHP console application. Use this method if you want to initialize application in the same way the PHP console/Windows application is initialized. The returned script context is initialized as follows: |
|
InitContext ( PHP.Core.ApplicationContext appContext ) : |
Initializes ScriptContext for the C#/PHP interoperability. Use this method if you want to initialize application in the same way the PHP console/Windows application is initialized. CurrentContext is set, and initialized to simulate request begin and end. |
|
InitContext ( PHP.Core.ApplicationContext appContext, Stream output ) : |
Initializes ScriptContext for the C#/PHP interoperability. Use this method if you want to initialize application in the same way the PHP console/Windows application is initialized. CurrentContext is set, and initialized to simulate request begin and end. |
|
RegisterSessionGlobals ( ) : void |
Adds session variables aliases to global variables.
|
Method | Description | |
---|---|---|
CreateDefaultScriptContext ( ) : |
Initialize new ScriptContext and store it into the LogicalCallContext.
|
|
DynamicInclude ( string includedFilePath, string includerFileRelPath, object>.Dictionary |
||
IncludeScript ( string relativeSourcePath, System.ScriptInfo script ) : object |
Performs PHP inclusion on a specified script. The inclusion inheres in adding the target to the list of included scripts on the current script context (see |
|
InitConstants ( object>.DualDictionary |
||
InitPlatformSpecific ( ) : void | ||
InitWebRequest ( PHP.Core.ApplicationContext appContext, |
Initializes the script context for a web request.
|
|
LoadDynamicScriptType ( PHP.Core.PhpSourceFile sourceFile ) : System.ScriptInfo |
Loads a script type dynamically.
|
|
RunApplication ( |
||
SearchForIncludedFile ( PhpError errorSeverity, string includedPath, FullPath includerFullPath ) : FullPath |
Searches for a file in the script library, current directory, included paths, and web application root respectively.
|
|
StaticInclude ( int level, string relativeSourcePath, |
public Include ( string relativeSourcePath, bool once ) : object | ||
relativeSourcePath | string | Source root relative path to the script. |
once | bool | Specifies whether script should be included only once. |
return | object |
public static InitApplication ( PHP.Core.ApplicationContext appContext, |
||
appContext | PHP.Core.ApplicationContext | Application context. |
mainScript | The main script's type or a null reference for a pure application. | |
relativeSourcePath | string | A path to the main script source file. |
sourceRoot | string | A source root within which an application has been compiler. |
return |
public static InitContext ( PHP.Core.ApplicationContext appContext ) : |
||
appContext | PHP.Core.ApplicationContext | Application context. |
return |
public static InitContext ( PHP.Core.ApplicationContext appContext, Stream output ) : |
||
appContext | PHP.Core.ApplicationContext | Application context. |
output | Stream | Output stream. |
return |