/** * Unfavor all clipboard elements and write given array to xml file * * @param array $arrSet */ public function write($arrSet) { $objFile = $this->getFavorite(); $this->unFavorAll(); $arrSet['filename'] = $this->_getFileName($arrSet); $arrSet['path'] = $this->getPath(); if (!$this->_objXmlWriter->writeXml($arrSet, $this->_arrClipboardElements)) { $objFile->setFavorite(TRUE); } }