1000 => '1000 elements',
'unlimited' => 'unlimited'
);
+
+ private $defaultElementsLimit = 1000;
+
public $actions = array(
'VolumeWindow' => array(
'NoAction' => 'select action',
parent::onInit($param);
if(empty($_SESSION['view' . $this->getParent()->ID]) && empty($_SESSION['limit' . $this->getParent()->ID])) {
$_SESSION['view' . $this->getParent()->ID] = self::DETAIL_VIEW;
- $_SESSION['limit' . $this->getParent()->ID] = $this->elementsLimit['unlimited'];
+ $_SESSION['limit' . $this->getParent()->ID] = $this->defaultElementsLimit;
}
}