PHP Class Label, googleads-php-lib

Show file Open project: googleads/googleads-php-lib Class Usage Examples

Public Properties

Property Type Description
$LabelType string
$attribute LabelAttribute
$description string
$id integer
$isActive boolean
$name string
$status tnsLabelStatus
$types tnsLabelType[]

Public Methods

Method Description
__construct ( $id = null, $name = null, $status = null, $attribute = null, $LabelType = null )
__get ( $var ) : mixed Provided for getting non-php-standard named variables
__set ( $var, $value ) Provided for setting non-php-standard named variables
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

Protected Methods

Method Description
getParameterMap ( ) : array Provided for getting non-php-standard named variables

Method Details

__construct() public method

public __construct ( $id = null, $name = null, $status = null, $attribute = null, $LabelType = null )

__get() public method

Provided for getting non-php-standard named variables
public __get ( $var ) : mixed
$var Variable name to get
return mixed Variable value

__set() public method

Provided for setting non-php-standard named variables
public __set ( $var, $value )
$var Variable name to set
$value Value to set

getNamespace() public method

Gets the namesapce of this class
public getNamespace ( ) : string
return string the namespace of this class

getParameterMap() protected method

Provided for getting non-php-standard named variables
protected getParameterMap ( ) : array
return array parameter map

getXsiTypeName() public method

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
return string the xsi:type name of this class

Property Details

$LabelType public property

public string $LabelType
return string

$attribute public property

public LabelAttribute $attribute
return LabelAttribute

$description public property

public string $description
return string

$id public property

public int $id
return integer

$isActive public property

public bool $isActive
return boolean

$name public property

public string $name
return string

$status public property

public tnsLabelStatus $status
return tnsLabelStatus

$types public property

public tnsLabelType[] $types
return tnsLabelType[]