PHP 인터페이스 Tdt\Core\Repositories\Interfaces\DefinitionRepositoryInterface

파일 보기 프로젝트 열기: tdt/core

공개 메소드들

메소드 설명
count ( ) : integer Retrieve the amount of definitions
countPublished ( ) : integer Retrieve the amount of published definitions
delete ( string $identifier ) : boolean | null Delete a Definition object
exists ( string $identifier ) : boolean Check if a definition exists with a given identifier
getAll ( integer $limit, integer $offset ) : array Retrieve all definitions
getAllDefinitionInfo ( integer $limit, integer $offset, array $keywords = [] ) : array Retrieve all the public information of all published Defintion's
getAllFullDescriptions ( integer $limit, integer $offset ) : array Retrieve all the information of all Defintion's
getAllPublished ( integer $limit, integer $offset ) : array Retrieve all published definitions
getByCollection ( $collection ) : array Retrieve a collection of definitions based on the collection prefix of the identifier
getByIdentifier ( string $identifier ) : array Retrieve a definition by its identifier
getCreateParameters ( ) : array Retrieve the create parameters for a Definition e.g. array( 'create_parameter' => array( 'required' => true, 'description' => '.
getDefinitionSource ( integer $definition_id, string $name ) : array Get the source of the definition (e.g. CsvDefinition, ShpDefinition,.
getFullDescription ( string $identifier ) : array Retrieve the full description of a definition
getOldest ( ) : array Retrieve the oldest definition
store ( array $input ) : array Store a Definition object
update ( string $identifier, array $input ) : array Update a Definition object

메소드 상세

count() 공개 메소드

Retrieve the amount of definitions
public count ( ) : integer
리턴 integer

countPublished() 공개 메소드

Retrieve the amount of published definitions
public countPublished ( ) : integer
리턴 integer

delete() 공개 메소드

Delete a Definition object
public delete ( string $identifier ) : boolean | null
$identifier string
리턴 boolean | null

exists() 공개 메소드

Check if a definition exists with a given identifier
public exists ( string $identifier ) : boolean
$identifier string
리턴 boolean

getAll() 공개 메소드

Retrieve all definitions
public getAll ( integer $limit, integer $offset ) : array
$limit integer
$offset integer
리턴 array of Definition's

getAllDefinitionInfo() 공개 메소드

Retrieve all the public information of all published Defintion's
public getAllDefinitionInfo ( integer $limit, integer $offset, array $keywords = [] ) : array
$limit integer
$offset integer
$keywords array
리턴 array of Definition's

getAllFullDescriptions() 공개 메소드

Retrieve all the information of all Defintion's
public getAllFullDescriptions ( integer $limit, integer $offset ) : array
$limit integer
$offset integer
리턴 array of Definition's

getAllPublished() 공개 메소드

Retrieve all published definitions
public getAllPublished ( integer $limit, integer $offset ) : array
$limit integer
$offset integer
리턴 array of Definition's

getByCollection() 공개 메소드

Retrieve a collection of definitions based on the collection prefix of the identifier
public getByCollection ( $collection ) : array
리턴 array of Definition's

getByIdentifier() 공개 메소드

Retrieve a definition by its identifier
public getByIdentifier ( string $identifier ) : array
$identifier string
리턴 array Definition

getCreateParameters() 공개 메소드

..', 'type' => 'string', 'name' => 'pretty name' ), ...)
public getCreateParameters ( ) : array
리턴 array

getDefinitionSource() 공개 메소드

..)
public getDefinitionSource ( integer $definition_id, string $name ) : array
$definition_id integer (id of the definition)
$name string (e.g. CsvDefinition, ShpDefinition,...)
리턴 array Source

getFullDescription() 공개 메소드

Retrieve the full description of a definition
public getFullDescription ( string $identifier ) : array
$identifier string
리턴 array Definition

getOldest() 공개 메소드

Retrieve the oldest definition
public getOldest ( ) : array
리턴 array Definition

store() 공개 메소드

Store a Definition object
public store ( array $input ) : array
$input array
리턴 array Definition

update() 공개 메소드

Update a Definition object
public update ( string $identifier, array $input ) : array
$identifier string
$input array
리턴 array Definition