Exemplo n.º 1
0
 /**
  * function __construct
  * <pre>
  * Initialize the Class ...
  * </pre>
  * @param $seriesID [INTEGER] the ID of the series we are searching for
  * @param $sortBy [STRING] the field name to sort list by
  * @return [void]
  */
 function __construct($seriesID = '', $sortBy = '')
 {
     $searchManager = new RowManager_MultilingualPageManager();
     // NOTE: if you need to narrow the field of the search then uncommnet
     // the following and set the proper search criteria.
     $searchManager->setValueByFieldName('series_id', $seriesID);
     $searchManager->setSortOrder($sortBy);
     $this->resultSet = $searchManager->find();
 }
Exemplo n.º 2
0
 *
 * 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);
//echo"</pre><br>--------<br><br>";
//echo "Directory of <b>$dir</b><br>";
//echo "---------------------------<br>";