PHP Class ProductsFromCategoryWidget

Show products from specified category
Inheritance: extends yupe\widgets\YWidget
显示文件 Open project: yupe/yupe

Public Properties

Property Type Description
$limit boolean
$slug
$view string

Protected Properties

Property Type Description
$categoryRepository StoreCategoryRepository
$productRepository ProductRepository

Public Methods

Method Description
init ( )
run ( ) : boolean

Method Details

init() public method

public init ( )

run() public method

public run ( ) : boolean
return boolean

Property Details

$categoryRepository protected_oe property

protected StoreCategoryRepository $categoryRepository
return StoreCategoryRepository

$limit public_oe property

public bool $limit
return boolean

$productRepository protected_oe property

protected ProductRepository $productRepository
return ProductRepository

$slug public_oe property

public $slug

$view public_oe property

public string $view
return string