PHP 클래스 VersionPress\Database\Database

To explain the motivation a little bit, when VersionPress is installed, it rewrites the wpdb class and adds its own logic into DB-manipulating methods. That is good for WordPress and all the 3rd party plugins but not for VersionPress itself - it needs the raw query() functionality not to trigger itself recursively. Now, the developers could call $wpdb->__wp_query() but that's ugly, fragile and easy to forget. This proxy improves that. (The PhpDoc API description below can be regenerated by ./wpdb-api-to-phpdoc.php.)
파일 보기 프로젝트 열기: versionpress/versionpress 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$vp_id

공개 메소드들

메소드 설명
__call ( $name, $arguments )
__construct ( $wpdb )
__get ( $name )
__set ( $name, $value )
query ( string $query ) : integer | false

메소드 상세

__call() 공개 메소드

public __call ( $name, $arguments )

__construct() 공개 메소드

public __construct ( $wpdb )

__get() 공개 메소드

public __get ( $name )

__set() 공개 메소드

public __set ( $name, $value )

query() 공개 메소드

또한 보기: wpdb::query()
public query ( string $query ) : integer | false
$query string Database query
리턴 integer | false Number of rows affected/selected or false on error

프로퍼티 상세

$vp_id 공개적으로 프로퍼티

public $vp_id