コード例 #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
 public function __construct($title)
 {
     parent::__construct($title);
     $sourceFile = $this->sourceFilesDir . $this->sqliteDbFileName;
     colesoApplication::setConfigVal('/system/db/source/dbType', 'Pdo_Sqlite');
     colesoApplication::setConfigVal('/system/db/source/dbHost', 'localhost');
     colesoApplication::setConfigVal('/system/db/source/dbName', $sourceFile);
     //$this->buildTestDB();
 }
コード例 #3
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/');
 }
コード例 #4
0
 function __construct()
 {
     $this->cachePath = 'bulldoc/structure/';
     parent::__construct('Book Loader');
     require_once dirname(__FILE__) . '/config.php';
 }