PHP 클래스 Inpsyde\MultilingualPress\Database\Table\SiteRelationsTable

부터: 3.0.0
상속: implements Inpsyde\MultilingualPress\Database\Table
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__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.