PHP Класс Newscoop\Subscription\SectionFacade

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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