메소드 |
설명 |
|
__construct ( $current_version = false, $plugin_path = false, $schema_path = false, $mu_single_table = false ) |
Set db current and installed version and also plugin info in rt_plugin_info variable. |
|
check_upgrade ( ) : boolean |
Check upgrade by comparing version db_version. |
|
create_table ( string $sql ) : void |
Create table using dbDelta. |
|
do_upgrade ( ) : void |
Do upgrade by comparing version db_version. |
|
genrate_sql ( string $file_name, string $file_content ) : string |
Genrate sql query. |
|
genrate_table_name ( string $file_name ) : string |
Genrate table_name. |
|
get_db_version_option_name ( ) : string |
Get db_version option name. |
|
get_install_db_version ( ) : string |
Get installed db_version. |
|
table_exists ( string $table ) : boolean |
Check if table_exists. |
|