Documentation

SubCategoriesType
in package

Class representing SubCategoriesType.

XSD Type: subCategoriesType

Table of Contents

$category  : array<string|int, mixed>
addToCategory()  : self
Adds as category.
getCategory()  : array<string|int, CategoryType>
Gets as category.
issetCategory()  : bool
isset category.
setCategory()  : self
Sets a new category.
unsetCategory()  : void
unset category.

Properties

Methods

issetCategory()

isset category.

public issetCategory(int|string $index) : bool
Parameters
$index : int|string
Return values
bool

setCategory()

Sets a new category.

public setCategory([array<string|int, CategoryType$category = null ]) : self
Parameters
$category : array<string|int, CategoryType> = null
Return values
self

unsetCategory()

unset category.

public unsetCategory(int|string $index) : void
Parameters
$index : int|string
Return values
void

Search results