Exemplo n.º 1
0
 /**
  * function __construct
  * <pre>
  * Initialize the object.
  * </pre>
  * @param $pathModuleRoot [STRING] The path to the module's root dir.
  * @param $viewer [OBJECT] The viewer object.
  * @param $sortBy [STRING] Field data to sort listManager by.
  * @return [void]
  */
 function __construct($pathModuleRoot, $viewer, $sortBy)
 {
     $this->pathModuleRoot = $pathModuleRoot;
     $this->viewer = $viewer;
     if ($sortBy == '') {
         $sortBy = 'series_title';
     }
     $seriesManager = new RowManager_SeriesManager();
     $seriesManager->setSortOrder($sortBy);
     $this->listManager = $seriesManager->getListIterator();
 }