PHP Class Mage2\Catalog\Models\Category

Inheritance: extends Mage2\Framework\System\Models\BaseModel
Datei anzeigen Open project: mage2/laravel-ecommerce Class Usage Examples

Protected Properties

Property Type Description
$defaultWebsiteId
$fillable
$isDefaultWebsite
$websiteId

Public Methods

Method Description
__construct ( array $attributes = [] )
children ( )
getAllCategories ( )
getChilds ( $id )
getParentNameAttribute ( )
list_categories ( $categories )
parentCategory ( )
products ( )
website ( )

Method Details

__construct() public method

public __construct ( array $attributes = [] )
$attributes array

children() public method

public children ( )

getAllCategories() public method

public getAllCategories ( )

getChilds() public method

public getChilds ( $id )

getParentNameAttribute() public method

list_categories() public method

public list_categories ( $categories )

parentCategory() public method

public parentCategory ( )

products() public method

public products ( )

website() public method

public website ( )

Property Details

$defaultWebsiteId protected_oe property

protected $defaultWebsiteId

$fillable protected_oe property

protected $fillable

$isDefaultWebsite protected_oe property

protected $isDefaultWebsite

$websiteId protected_oe property

protected $websiteId