PHP Класс Inpsyde\MultilingualPress\Database\Table\LanguagesTable

С версии: 3.0.0
Наследование: implements Inpsyde\MultilingualPress\Database\Table
Показать файл Открыть проект

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

Метод Описание
__construct ( string $prefix = '' ) Constructor. Set up the properties.
columns_without_default_content ( ) : string[] Returns an array with all columns that do not have any default content.
default_content_sql ( ) : string Returns the SQL string for the default content.
keys_sql ( ) : string Returns the SQL string for all (unique) keys.
name ( ) : string Returns the table name.
primary_key ( ) : string Returns the primary key.
schema ( ) : string[] Returns the table schema.

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

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

Constructor. Set up the properties.
С версии: 3.0.0
public __construct ( string $prefix = '' )
$prefix string Optional Table name prefix. Defaults to empty string.

columns_without_default_content() публичный метод

Returns an array with all columns that do not have any default content.
С версии: 3.0.0
public columns_without_default_content ( ) : string[]
Результат string[] All columns that do not have any default content.

default_content_sql() публичный метод

Returns the SQL string for the default content.
С версии: 3.0.0
public default_content_sql ( ) : string
Результат string The SQL string for the default content.

keys_sql() публичный метод

Returns the SQL string for all (unique) keys.
С версии: 3.0.0
public keys_sql ( ) : string
Результат string The SQL string for all (unique) keys.

name() публичный метод

Returns the table name.
С версии: 3.0.0
public name ( ) : string
Результат string The table name.

primary_key() публичный метод

Returns the primary key.
С версии: 3.0.0
public primary_key ( ) : string
Результат string The primary key.

schema() публичный метод

Returns the table schema.
С версии: 3.0.0
public schema ( ) : string[]
Результат string[] An array with fields as keys and the according SQL definitions as values.