Class Media
GenericResource is the class every model should use for initialization. It provides the functions to check the mandatory, optional arguments provided
- Catapult\GenericResource
-
Catapult\Media
Methods summary
public
|
#
__construct( )
Construct a media object where data must be a blob in binary. Store in memory until store/1 is called if data is passed use this as object otherwise initialize from passed id. In rare cases when media is called only to list or create disregard both data and id |
public
|
|
public
|
|
public
the
|
|
public
|
|
public
|
|
public
|
Methods inherited from Catapult\GenericResource
__call(),
__toString(),
_init(),
_list(),
check(),
delete(),
getAudioUrl(),
getObjClass(),
getPath(),
getSchemaString(),
get_sub_function(),
load(),
reload(),
toArray(),
update()