public
|
|
|
public static
self
|
#
create( string $type, string $file )
Creates a rex_managed_media object for the given file and mediatype. This
object might be used to determine the dimension of a image or similar.
Creates a rex_managed_media object for the given file and mediatype. This
object might be used to determine the dimension of a image or similar.
Parameters
- $type
- Media type
- $file
- Media file
Returns
self self
|
|
public
rex_managed_media
|
|
|
protected
|
|
|
public
|
|
|
public
|
|
|
public
|
|
|
protected
|
|
|
public
|
|
|
public
|
|
|
public static
|
|
|
public static
|
|
|
public
|
|
|
public static
|
|
|
public static
|
|
|
public static
|
|
|
public static
|
|
|
public static
|
|
|
public static
|
|
|
public static
string
|
#
getUrl( string $type, string|rex_media $file, null|integer $timestamp = null, boolean $escape = true )
Parameters
- $type
- Media type
- $file
- Media file
- $timestamp
- Last change timestamp of given file, for cache buster parameter (not nessary
when the file is given by a <code>rex_media</code> object)
- $escape
Returns
string string
|
|