PHP Класс Phergie_Plugin_Php_Source_Local, phergie

Автор: Phergie Development Team ([email protected])
Наследование: implements Phergie_Plugin_Php_Source
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$database PDO Local database for storage
$url string Source of the PHP function summary

Открытые методы

Метод Описание
__construct ( string $path ) : void Constructor to initialize the data source.
findFunction ( string $function ) : array | null Searches for a description of the function.

Защищенные методы

Метод Описание
buildDatabase ( boolean $rebuild = false ) : void Build the database and parses the function summary file into it.

Описание методов

__construct() публичный Метод

Constructor to initialize the data source.
public __construct ( string $path ) : void
$path string Path to the SQLite database to use
Результат void

buildDatabase() защищенный Метод

Build the database and parses the function summary file into it.
protected buildDatabase ( boolean $rebuild = false ) : void
$rebuild boolean TRUE to force a rebuild of the table used to house function information, FALSE otherwise, defaults to FALSE
Результат void

findFunction() публичный Метод

Searches for a description of the function.
public findFunction ( string $function ) : array | null
$function string Search pattern to match against the function name, wildcards supported using %
Результат array | null Associative array containing the function name and description or NULL if no results are found

Описание свойств

$database защищенное свойство

Local database for storage
protected PDO $database
Результат PDO

$url защищенное свойство

Source of the PHP function summary
protected string $url
Результат string