PHP Class Newscoop\Content\SectionService

Datei anzeigen Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$orm Doctrine\ORM\EntityManager

Public Methods

Method Description
__construct ( EntityManager $orm )
getName ( integer $number, Publication $publication, Language $language = null ) : string Get name.
getOptions ( ) : array Get options.

Method Details

__construct() public method

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

getName() public method

Get name.
public getName ( integer $number, Publication $publication, Language $language = null ) : string
$number integer
$publication Newscoop\Entity\Publication
$language Newscoop\Entity\Language
return string

getOptions() public method

Get options.
public getOptions ( ) : array
return array

Property Details

$orm protected_oe property

protected EntityManager,Doctrine\ORM $orm
return Doctrine\ORM\EntityManager