PHP 클래스 WellCommerce\Bundle\ProductStatusBundle\Twig\Extension\ProductStatusExtension

저자: Adam Piotrowski ([email protected])
상속: extends Twig_Extension
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$dataset WellCommerce\Component\DataSet\DataSetInterface

공개 메소드들

메소드 설명
__construct ( WellCommerce\Component\DataSet\DataSetInterface $dataset ) Constructor
getFunctions ( )
getName ( )
getProductStatuses ( integer $limit = 5, string $orderBy = 'name', string $orderDir = 'asc' ) : array Returns product statuses

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( WellCommerce\Component\DataSet\DataSetInterface $dataset )
$dataset WellCommerce\Component\DataSet\DataSetInterface

getFunctions() 공개 메소드

public getFunctions ( )

getName() 공개 메소드

public getName ( )

getProductStatuses() 공개 메소드

Returns product statuses
public getProductStatuses ( integer $limit = 5, string $orderBy = 'name', string $orderDir = 'asc' ) : array
$limit integer
$orderBy string
$orderDir string
리턴 array

프로퍼티 상세

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

protected DataSetInterface,WellCommerce\Component\DataSet $dataset
리턴 WellCommerce\Component\DataSet\DataSetInterface