$this->config->rasterizePages = cubeArray::parseRange($this->config->rasterizePages);
$this->config->vectorPages = array_diff(cubeArray::parseRange($this->config->vectorPages), $this->config->rasterizePages);
$this->config->triggersLinks = [];
+ $this->config->hasContentLock=false;
}
protected function populateConfig()
public function addContentLock($page, $unlockConditions = '')
{
+ $this->config->hasContentLock = true;
$unlockConditions = CubeIT_Text::explodeNewLines($unlockConditions);
$conditions = [];
foreach ($unlockConditions as $unlockCondition) {