PHP 클래스 ZF\Apigility\Admin\Model\DoctrineAdapterModel

파일 보기 프로젝트 열기: zfcampus/zf-apigility-admin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$globalConfig ZF\Configuration\ConfigResource
$localConfig ZF\Configuration\ConfigResource

공개 메소드들

메소드 설명
__construct ( ZF\Configuration\ConfigResource $globalConfig, ZF\Configuration\ConfigResource $localConfig )
create ( $name, array $adapterConfig ) : ZF\Apigility\Admin\Model\DoctrineAdapterEntity Create Doctrine adapter configuration
fetch ( $name ) : boolean | ZF\Apigility\Admin\Model\DoctrineAdapterEntity Fetch configuration details for a named adapter
fetchAll ( ) : array | boolean Retrieve all named adapters
remove ( $name ) : boolean Remove a named adapter
update ( $name, array $adapterConfig ) : ZF\Apigility\Admin\Model\DoctrineAdapterEntity Update an existing Doctrine adapter

비공개 메소드들

메소드 설명
isOdmAdapter ( array $connection ) : boolean Does the connection represent an ODM adapter?
isOrmAdapter ( array $connection ) : boolean Does the connection represent an ORM adapter?

메소드 상세

__construct() 공개 메소드

public __construct ( ZF\Configuration\ConfigResource $globalConfig, ZF\Configuration\ConfigResource $localConfig )
$globalConfig ZF\Configuration\ConfigResource
$localConfig ZF\Configuration\ConfigResource

create() 공개 메소드

Create Doctrine adapter configuration
public create ( $name, array $adapterConfig ) : ZF\Apigility\Admin\Model\DoctrineAdapterEntity
$name
$adapterConfig array
리턴 ZF\Apigility\Admin\Model\DoctrineAdapterEntity

fetch() 공개 메소드

Fetch configuration details for a named adapter
public fetch ( $name ) : boolean | ZF\Apigility\Admin\Model\DoctrineAdapterEntity
$name
리턴 boolean | ZF\Apigility\Admin\Model\DoctrineAdapterEntity

fetchAll() 공개 메소드

Retrieve all named adapters
public fetchAll ( ) : array | boolean
리턴 array | boolean

remove() 공개 메소드

Remove a named adapter
public remove ( $name ) : boolean
$name
리턴 boolean

update() 공개 메소드

Update an existing Doctrine adapter
public update ( $name, array $adapterConfig ) : ZF\Apigility\Admin\Model\DoctrineAdapterEntity
$name
$adapterConfig array
리턴 ZF\Apigility\Admin\Model\DoctrineAdapterEntity

프로퍼티 상세

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

protected ConfigResource,ZF\Configuration $globalConfig
리턴 ZF\Configuration\ConfigResource

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

protected ConfigResource,ZF\Configuration $localConfig
리턴 ZF\Configuration\ConfigResource