FileConverterManager
class FileConverterManager (View source)
This class holds a list of available file converters which it uses to convert files from one format to another.
Traits
Provides extensions to this object to integrate it with standard config API methods.
Config options
converters | array | An array of classes or injector service names for classes that implement the FileConverter interface. |
Properties
Methods
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
Gets the uninherited value for the given config option
Details
static Config_ForClass
config()
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
mixed
uninherited(string $name)
Gets the uninherited value for the given config option
DBFile
convert(File $from, string $toExtension, array $options = [])
Convert the file to the given format using the first available converter that can perform the conversion.