Свойство | Type | Description | |
---|---|---|---|
$configDir | string | Directory with configuration files, used to setup process of generating phalcon.c | |
$outputFile | string | Path of generated phalcon.c file | |
$rootDir | string | Root directory of Phalcon | |
$skipFiles | array | List of files, which should not be included into generated phalcon.c | |
$sourceDir | string | Directory with Phalcon source code |
Méthode | Description | |
---|---|---|
__construct ( string $rootDir, string $sourceDir, string $configDir, string $outputDir ) | ||
generate ( array $alreadyIncludedHeaders = [] ) | Generate phalcon.h |
Méthode | Description | |
---|---|---|
addAllSourceFiles ( resource $fileHandler ) | Recursively scan Phalcon sources and append content of all c-files to the generated file | |
addLicense ( resource $fileHandler ) | Add license notice to the generated file | |
addPriorityFiles ( resource $fileHandler ) | Add contents of the files, which must be put to the generated file before other source files | |
addStandardHeader ( resource $fileHandler ) | Add manually-created header to the generated file | |
composeSkipFiles ( array $alreadyIncludedHeaders = [] ) | Composes list of files, which should not be scanned and put into phalcon.c during recursive scan of the source directory | |
extractReferencedHeaders ( $files ) : array | Scan files' content and extract referenced header files | |
getSortedSourceFilesToAppend ( string $path ) : array | boolean | Recursively walk through source files and return them in a sorted order. | |
limitVisibilityOfPhalconFuncs ( ) | Go through the generated file and put 'static' to all declarations of Phalcon-related functions |
Méthode | Description | |
---|---|---|
appendSource ( $fileHandler, $path ) | Appends the source to phalcon.c, removing some directives, external symbol declarations and excessive comments |
protected addAllSourceFiles ( resource $fileHandler ) | ||
$fileHandler | resource |
protected addLicense ( resource $fileHandler ) | ||
$fileHandler | resource |
protected addPriorityFiles ( resource $fileHandler ) | ||
$fileHandler | resource |
protected addStandardHeader ( resource $fileHandler ) | ||
$fileHandler | resource |
protected composeSkipFiles ( array $alreadyIncludedHeaders = [] ) | ||
$alreadyIncludedHeaders | array |
protected extractReferencedHeaders ( $files ) : array | ||
Résultat | array |
protected limitVisibilityOfPhalconFuncs ( ) |
protected string $configDir | ||
Résultat | string |
protected string $outputFile | ||
Résultat | string |
protected array $skipFiles | ||
Résultat | array |
protected string $sourceDir | ||
Résultat | string |