AdapterInterface
interface AdapterInterface
Describes standard adapter interface
Methods
mixed
getDimensions()
Should return object dimensions, if possible.
string
toImage(array $size = array(), string $path)
Convert object to a preview image, if possible.
string
getType()
Return the unique string type for this adapter
Details
at line line 18
mixed
getDimensions()
Should return object dimensions, if possible.
Return NULL otherwise
at line line 34
string
toImage(array $size = array(), string $path)
Convert object to a preview image, if possible.
Return NULL if not possible
Size array MUST allow for either height and/or width to be set without flipping the heck out.
Keep in mind the return string path is temporary and should be processed accordingly
at line line 40
string
getType()
Return the unique string type for this adapter