PHP 클래스 Phergie_Plugin_Php_Source_Local, phergie

저자: Phergie Development Team ([email protected])
상속: implements Phergie_Plugin_Php_Source
파일 보기 프로젝트 열기: phergie/phergie

보호된 프로퍼티들

프로퍼티 타입 설명
$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