/** * PHP5-style constructor */ function __construct($params) { // Set the output type "entity" style delivery statistcs $this->outputType = 'deliveryEntity'; // Get list order and direction $this->listOrderField = MAX_getStoredValue('listorder', 'name'); $this->listOrderDirection = MAX_getStoredValue('orderdirection', 'up'); parent::__construct($params); // Store the preferences $this->aPagePrefs['listorder'] = $this->listOrderField; $this->aPagePrefs['orderdirection'] = $this->listOrderDirection; }
/** * PHP5-style constructor */ function __construct($params) { // Set the output type "entity" style delivery statistcs $this->outputType = 'deliveryEntity'; // Get list order and direction $this->listOrderField = MAX_getStoredValue('listorder', 'name'); $this->listOrderDirection = MAX_getStoredValue('orderdirection', 'up'); parent::__construct($params); // Store the preferences $this->aPagePrefs['listorder'] = $this->listOrderField; $this->aPagePrefs['orderdirection'] = $this->listOrderDirection; // load the Banners DO class (to be used in entityLink) $do = DB_DataObject::factory('Banners'); }
/** * PHP5-style constructor */ function __construct($aParams) { // Set the output type "history" style delivery statistcs $this->outputType = 'deliveryHistory'; // Get list order and direction $this->listOrderField = MAX_getStoredValue('listorder', 'key'); $this->listOrderDirection = MAX_getStoredValue('orderdirection', 'down'); // Ensure the history class is prepared $this->useHistoryClass = true; parent::__construct($aParams); // Store the preferences $this->aPagePrefs['listorder'] = $this->listOrderField; $this->aPagePrefs['orderdirection'] = $this->listOrderDirection; }