PHP Class Media, googleads-php-lib

Author: Sam Stenvall ([email protected])
Inheritance: extends Base, use trait WatchedIconTrait
ファイルを表示 Open project: googleads/googleads-php-lib Class Usage Examples

Public Properties

Property Type Description
$MediaType string
$creationTime string
$dimensions Media_Size_DimensionsMapEntry[]
$fileSize integer
$mediaId integer
$mimeType tnsMediaMimeType
$name string
$referenceId integer
$sourceUrl string
$type tnsMediaMediaType
$urls Media_Size_StringMapEntry[]

Public Methods

Method Description
__construct ( $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = 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 ( $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = 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

$MediaType public_oe property

public string $MediaType
return string

$creationTime public_oe property

public string $creationTime
return string

$dimensions public_oe property

public Media_Size_DimensionsMapEntry[] $dimensions
return Media_Size_DimensionsMapEntry[]

$fileSize public_oe property

public int $fileSize
return integer

$mediaId public_oe property

public int $mediaId
return integer

$mimeType public_oe property

public tnsMediaMimeType $mimeType
return tnsMediaMimeType

$name public_oe property

public string $name
return string

$referenceId public_oe property

public int $referenceId
return integer

$sourceUrl public_oe property

public string $sourceUrl
return string

$type public_oe property

public tnsMediaMediaType $type
return tnsMediaMediaType

$urls public_oe property

public Media_Size_StringMapEntry[] $urls
return Media_Size_StringMapEntry[]