PHP Interface Inpsyde\MultilingualPress\Database\Table

Since: 3.0.0
Afficher le fichier Open project: inpsyde/multilingual-press Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

columns_without_default_content() public méthode

Returns an array with all columns that do not have any default content.
Since: 3.0.0
public columns_without_default_content ( ) : string[]
Résultat string[] All columns that do not have any default content.

default_content_sql() public méthode

Returns the SQL string for the default content.
Since: 3.0.0
public default_content_sql ( ) : string
Résultat string The SQL string for the default content.

keys_sql() public méthode

Returns the SQL string for all (unique) keys.
Since: 3.0.0
public keys_sql ( ) : string
Résultat string The SQL string for all (unique) keys.

name() public méthode

Returns the table name.
Since: 3.0.0
public name ( ) : string
Résultat string The table name.

primary_key() public méthode

Returns the primary key.
Since: 3.0.0
public primary_key ( ) : string
Résultat string The primary key.

schema() public méthode

Returns the table schema.
Since: 3.0.0
public schema ( ) : string[]
Résultat string[] An array with fields as keys and the according SQL definitions as values.