Пример #1
0
 function __construct()
 {
     $this->cachePath = 'bulldoc/structure/';
     //$this->sourceFilesDir=dirname(__FILE__).'/support/fixture/';
     parent::__construct('Structure Holder');
     require_once dirname(__FILE__) . '/config.php';
 }
Пример #2
0
 function __construct()
 {
     $this->cachePath = 'bulldoc/edit_controller/';
     $this->sourceFilesDir = dirname(__FILE__) . '/support/fixture/';
     parent::__construct('Edit controller');
     colesoApplication::setConfigVal('/bulldoc/systemTemplates', dirname(__FILE__) . '/support/templates/system/');
     colesoApplication::setConfigVal('/bulldoc/bookshelfConfig', dirname(__FILE__) . '/support/bookshelf.yml');
     colesoApplication::setConfigVal('/bulldoc/textProcessingClass', 'docTemplateSet');
     colesoApplication::setConfigVal('/bulldoc/rootIndexLevel', 2);
     colesoApplication::setConfigVal('/bulldoc/themeDir', dirname(__FILE__) . '/support/workshop/themes/');
     colesoApplication::setConfigVal('/bulldoc/themeUrl', 'support/workshop/themes/');
     colesoApplication::setConfigVal('/bulldoc/output', dirname(__FILE__) . '/support/workshop/output/');
     colesoApplication::setConfigVal('/bulldoc/source', $this->fullCachePath . 'workshop/source/');
 }
Пример #3
0
 function __construct()
 {
     $this->cachePath = 'bulldoc/structure/';
     parent::__construct('Book Loader');
     require_once dirname(__FILE__) . '/config.php';
 }
Пример #4
0
 public function tearDown()
 {
     parent::tearDown();
     $this->dbConn->closeConnection();
 }
 public function tearDown()
 {
     colesoApplication::setConfigVal('/system/cacheDir', $this->saveCachePath);
     parent::tearDown();
 }