ProductMediaFile
class ProductMediaFile extends DataModel
Media file model.
Properties
protected array | $fields | from DataModel | |
protected boolean | $isEncrypted | from DataModel | |
protected Identity | $id | ||
protected Identity | $productId | ||
protected string | $mediaFileCategory | ||
protected string | $path | ||
protected string | $sort | ||
protected string | $type | ||
protected string | $url | ||
protected ProductMediaFileAttr[] | $attributes | ||
protected ProductMediaFileI18n[] | $i18ns |
Methods
__construct()
Constructor
setOptions(stdClass $object = null, array $options = null)
Sets Properties with matching Array Values
from DataModel
stdClass
getPublic(array $publics = array('fields', 'isEncrypted', 'identities', '_type'))
Convert the Model into stdClass Object
from DataModel
mixed:string|NULL
getField(boolean $toWawi = false, string $key)
Get a Model Member Name
from DataModel
setIdentity(string $propertyName, string|null $endpoint = null, int|null $host = null)
No description
from DataModel
getProductId()
No description
setMediaFileCategory(string $mediaFileCategory)
No description
string
getMediaFileCategory()
No description
setPath(string $path)
No description
string
getPath()
No description
setSort(integer $sort)
No description
integer
getSort()
No description
setType(string $type)
No description
string
getType()
No description
setUrl(string $url)
No description
string
getUrl()
No description
setAttributes(array $attributes)
No description
getAttributes()
No description
clearAttributes()
No description
setI18ns(array $i18ns)
No description
getI18ns()
No description
clearI18ns()
No description
Details
at line 99
__construct()
Constructor
in Model at line 33
multitype:
getProperties()
Get the Model Properties
in DataModel at line 172
Model
setOptions(stdClass $object = null, array $options = null)
Sets Properties with matching Array Values
in DataModel at line 70
stdClass
getPublic(array $publics = array('fields', 'isEncrypted', 'identities', '_type'))
Convert the Model into stdClass Object
in Model at line 115
toJson()
in DataModel at line 35
mixed:string
getFields()
Fields Getter
in DataModel at line 45
validate()
Object Validation
in DataModel at line 59
mixed:string|NULL
getField(boolean $toWawi = false, string $key)
Get a Model Member Name
in DataModel at line 59
boolean
isEncrypted()
Encrypted Status