Beispiel #1
0
 /**
  * function __construct
  * <pre>
  * Initialize the Class ...
  * </pre>
  * @param $sortBy [STRING] the field name to sort list by
  * @return [void]
  */
 function __construct($sortBy = '')
 {
     $searchManager = new RowManager_MultilingualSeriesManager();
     // NOTE: if you need to narrow the field of the search then uncommnet
     // the following and set the proper search criteria.
     //$searchManager->setValueByFieldName('module_isCommonLook', '1' );
     $searchManager->setSortOrder($sortBy);
     $this->resultSet = $searchManager->find();
 }
Beispiel #2
0
$tableDefCMSPages->createTable($db);
/*
 * HTMLBlock
 *
 * The SQL definition of the CMS application HTMLBlock.
 */
$tableDefHTMLBlock = new HTMLBlock(null, '');
$tableDefHTMLBlock->dropTable($db);
$tableDefHTMLBlock->createTable($db);
/*
 * XMLObject_MultilingualManager
 *
 * The SQL definition of the Multilingual Tables.
 */
//Create Tables
$tableSM = new RowManager_MultilingualSeriesManager();
$tableSM->dropTable();
$tableSM->createTable();
$tablePM = new RowManager_MultilingualPageManager();
$tablePM->dropTable();
$tablePM->createTable();
$tableLM = new RowManager_MultilingualLabelManager();
$tableLM->dropTable();
$tableLM->createTable();
$tableXL = new RowManager_XLationManager();
$tableXL->dropTable();
$tableXL->createTable();
$dir = $extension . SITE_PATH_MODULES;
$files1 = scandir($dir);
//echo "----------<br><pre>";
//print_r ($files1);