SilverStripe\DocumentConverter\ServiceConnector
Utility class hiding the specifics of the document conversion process.
Synopsis
class ServiceConnector
{
- // members
- private static $username = NULL;
- private static $password = NULL;
- private static $url = NULL;
- protected $fileDescriptor;
- protected $chosenFolderID;
- protected array $docvertDetails = ;
- // methods
- public void __construct()
- protected string getDetail()
- public void setUsername()
- public void getUsername()
- public void setPassword()
- public void getPassword()
- public void setUrl()
- public void getUrl()
- public void import()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
- SilverStripe\Core\Injector\Injectable
Members
private
- $password — array
- $url — array
- $username — array
protected
- $chosenFolderID — int
- $docvertDetails — array
-
$fileDescriptor
Associative array of: - name: the full name of the file including the extension.
Methods
protected
- getDetail() — Retrieves detail in priority order from 1. local instance field 2. Config 3. Environment