Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__construct ( string $rootDir, string $sourceDir, string $configDir, string $outputDir ) | ||
generate ( array $alreadyIncludedHeaders = [] ) | Generate phalcon.h |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | ||
Результат | array |
protected limitVisibilityOfPhalconFuncs ( ) |
protected string $configDir | ||
Результат | string |
protected string $outputFile | ||
Результат | string |
protected array $skipFiles | ||
Результат | array |
protected string $sourceDir | ||
Результат | string |