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

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

공개 메소드들

메소드 설명
delete ( integer $xml_id ) : boolean | null Delete a RemoteDefinition
getAll ( ) : array Return all RemoteDefinition objects
getAllParameters ( ) : array Return an array of all the create parameters, also the parameters that are necessary for further internal relationships
getById ( integer $xml_id ) : array Fetch a RemoteDefinition by id
getCreateParameters ( ) : array Return an array of create parameters with info attached e.g. array( 'create_parameter' => array( 'required' => true, 'description' => '.
getValidator ( array $input ) Return a validator based on an hash array
store ( array $input ) : array Store a RemoteDefinition
update ( integer $xml_id, array $input ) : array Update a RemoteDefinition

메소드 상세

delete() 공개 메소드

Delete a RemoteDefinition
public delete ( integer $xml_id ) : boolean | null
$xml_id integer
리턴 boolean | null

getAll() 공개 메소드

Return all RemoteDefinition objects
public getAll ( ) : array
리턴 array

getAllParameters() 공개 메소드

Return an array of all the create parameters, also the parameters that are necessary for further internal relationships
public getAllParameters ( ) : array
리턴 array

getById() 공개 메소드

Fetch a RemoteDefinition by id
public getById ( integer $xml_id ) : array
$xml_id integer
리턴 array RemoteDefinition

getCreateParameters() 공개 메소드

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

getValidator() 공개 메소드

Return a validator based on an hash array
public getValidator ( array $input )
$input array return Illuminate\Validation\Validator

store() 공개 메소드

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

update() 공개 메소드

Update a RemoteDefinition
public update ( integer $xml_id, array $input ) : array
$xml_id integer
$input array
리턴 array RemoteDefinition