PHP Class Sulu\Bundle\ResourceBundle\DataFixtures\ORM\Operators\LoadOperators

Inheritance: implements Doctrine\Common\DataFixtures\FixtureInterface, implements Doctrine\Common\DataFixtures\OrderedFixtureInterface
显示文件 Open project: sulu/sulu

Public Methods

Method Description
getOrder ( )
load ( Doctrine\Common\Persistence\ObjectManager $manager )

Protected Methods

Method Description
getTypeForString ( string $type ) Returns integer for string type.
processTranslations ( Doctrine\Common\Persistence\ObjectManager $manager, Operator $operator, DOMNodeList $translations ) Process translations of an operator.
processValues ( Doctrine\Common\Persistence\ObjectManager $manager, $xpath, Operator $operator, $values ) Process translations of an operator.

Method Details

getOrder() public method

public getOrder ( )

getTypeForString() protected method

Returns integer for string type.
protected getTypeForString ( string $type )
$type string

load() public method

public load ( Doctrine\Common\Persistence\ObjectManager $manager )
$manager Doctrine\Common\Persistence\ObjectManager

processTranslations() protected method

Process translations of an operator.
protected processTranslations ( Doctrine\Common\Persistence\ObjectManager $manager, Operator $operator, DOMNodeList $translations )
$manager Doctrine\Common\Persistence\ObjectManager
$operator Sulu\Bundle\ResourceBundle\Entity\Operator
$translations DOMNodeList

processValues() protected method

Process translations of an operator.
protected processValues ( Doctrine\Common\Persistence\ObjectManager $manager, $xpath, Operator $operator, $values )
$manager Doctrine\Common\Persistence\ObjectManager
$xpath \DOMXpath
$operator Sulu\Bundle\ResourceBundle\Entity\Operator
$values \DOMNodeList