PHP 클래스 Newscoop\Subscription\SectionFacade

파일 보기 프로젝트 열기: sourcefabric/newscoop

보호된 프로퍼티들

프로퍼티 타입 설명
$em Doctrine\ORM\EntityManager
$repository Newscoop\Subscription\SectionRepository

공개 메소드들

메소드 설명
__construct ( EntityManager $em )
delete ( integer $id ) : void Delete section
find ( integer $id ) : Newscoop\Subscription\Section Find section
save ( array $values, Section $section = null ) : Newscoop\Subscription\Section Save section

비공개 메소드들

메소드 설명
getLanguage ( array $values ) : Newscoop\Entity\Language Get language
getSectionNumber ( array $values ) : integer Get section number
getSubscription ( array $values ) : Newscoop\Subscription\Subscription Get subscription

메소드 상세

__construct() 공개 메소드

public __construct ( EntityManager $em )
$em Doctrine\ORM\EntityManager

delete() 공개 메소드

Delete section
public delete ( integer $id ) : void
$id integer
리턴 void

find() 공개 메소드

Find section
public find ( integer $id ) : Newscoop\Subscription\Section
$id integer
리턴 Newscoop\Subscription\Section

save() 공개 메소드

Save section
public save ( array $values, Section $section = null ) : Newscoop\Subscription\Section
$values array
$section Section
리턴 Newscoop\Subscription\Section

프로퍼티 상세

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

protected Doctrine\ORM\EntityManager $em
리턴 Doctrine\ORM\EntityManager

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

protected Newscoop\Subscription\SectionRepository $repository
리턴 Newscoop\Subscription\SectionRepository