PHP Class Eccube\Entity\Master\Tag

Inheritance: extends Eccube\Entity\AbstractEntity
Mostra file Open project: ec-cube/ec-cube Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor
__toString ( ) : string
addProductTag ( ProductTag $productTag ) : Tag Add ProductTag
getId ( ) : integer Get id
getName ( ) : string Get name
getProductTag ( ) : Doctrine\Common\Collections\Collection Get ProductTag
getRank ( ) : integer Get rank
removeProductTag ( ProductTag $productTag ) Remove ProductTag
setId ( integer $id ) : Tag Set id
setName ( string $name ) : Tag Set name
setRank ( integer $rank ) : Tag Set rank

Method Details

__construct() public method

Constructor
public __construct ( )

__toString() public method

public __toString ( ) : string
return string

addProductTag() public method

Add ProductTag
public addProductTag ( ProductTag $productTag ) : Tag
$productTag Eccube\Entity\ProductTag
return Tag

getId() public method

Get id
public getId ( ) : integer
return integer

getName() public method

Get name
public getName ( ) : string
return string

getProductTag() public method

Get ProductTag
public getProductTag ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getRank() public method

Get rank
public getRank ( ) : integer
return integer

removeProductTag() public method

Remove ProductTag
public removeProductTag ( ProductTag $productTag )
$productTag Eccube\Entity\ProductTag

setId() public method

Set id
public setId ( integer $id ) : Tag
$id integer
return Tag

setName() public method

Set name
public setName ( string $name ) : Tag
$name string
return Tag

setRank() public method

Set rank
public setRank ( integer $rank ) : Tag
$rank integer
return Tag