Exemplo n.º 1
0
 /**
  * Construct object
  * 
  * @param string $strFileName
  * @param string $strPath 
  */
 public function __construct($strFileName, $strPath)
 {
     $this->_objHelper = ClipboardHelper::getInstance();
     $this->_objXmlWriter = ClipboardXmlWriter::getInstance();
     $this->_objXmlReader = ClipboardXmlReader::getInstance();
     $this->_objFiles = Files::getInstance();
     $this->_filename = $strFileName;
     $this->_path = $strPath;
 }
Exemplo n.º 2
0
 /**
  * Prevent constructing the object (Singleton)
  */
 protected function __construct()
 {
     parent::__construct();
     $this->import('BackendUser', 'User');
     $this->_objHelper = ClipboardHelper::getInstance();
     $this->_objCbXml = ClipboardXml::getInstance();
     $this->_objDatabase = ClipboardDatabase::getInstance();
     $this->_objString = String::getInstance();
 }
Exemplo n.º 3
0
 /**
  * Prevent constructing the object (Singleton)
  */
 protected function __construct()
 {
     parent::__construct();
     $this->import('BackendUser', 'User');
     $this->_objXmlReader = ClipboardXmlReader::getInstance();
     $this->_objXmlWriter = ClipboardXmlWriter::getInstance();
     $this->_objHelper = ClipboardHelper::getInstance();
     $this->_objFiles = Files::getInstance();
     $this->_createClipboardFromFiles();
 }
Exemplo n.º 4
0
 /**
  * Prevent constructing the object (Singleton)
  */
 protected function __construct()
 {
     parent::__construct();
     $this->_objHelper = ClipboardHelper::getInstance();
     $this->_objDatabase = ClipboardDatabase::getInstance();
 }