PHP 클래스 Bolt\Storage\Database\Schema\Builder\ContentTables

저자: Gawain Lynch ([email protected])
상속: extends Bolt\Storage\Database\Schema\Builder\BaseBuilder
파일 보기 프로젝트 열기: bolt/bolt

보호된 프로퍼티들

프로퍼티 타입 설명
$tableSchemas array

공개 메소드들

메소드 설명
getSchemaTables ( Doctrine\DBAL\Schema\Schema $schema, Config $config ) : Doctrine\DBAL\Schema\Table[] Build the schema for Bolt ContentType tables.

비공개 메소드들

메소드 설명
addContentTypeTableColumn ( Bolt\Storage\Database\Schema\Table\ContentType $tableObj, Doctrine\DBAL\Schema\Table $table, string $fieldName, array $values, Manager $fieldManager ) Add a single column to the ContentType table.
addContentTypeTableColumns ( Bolt\Storage\Database\Schema\Table\ContentType $tableObj, Doctrine\DBAL\Schema\Table $table, array $fields, Manager $fieldManager ) Add the custom columns for the ContentType.
getContentTypeTableColumnType ( array $values ) : string Certain field types can have single or JSON array types, figure it out.
getNormalisedContentTypes ( Config $config ) : array Return an array of ContentTypes with the table name is the key.

메소드 상세

getSchemaTables() 공개 메소드

Build the schema for Bolt ContentType tables.
public getSchemaTables ( Doctrine\DBAL\Schema\Schema $schema, Config $config ) : Doctrine\DBAL\Schema\Table[]
$schema Doctrine\DBAL\Schema\Schema
$config Bolt\Config
리턴 Doctrine\DBAL\Schema\Table[]

프로퍼티 상세

$tableSchemas 보호되어 있는 프로퍼티

protected array $tableSchemas
리턴 array