40 $this->tree = $DIC->repositoryTree();
42 $this->lng = $DIC->language();
52 return (
int) $this->
settings->get(self::SET_LIMITATION);
62 return (
int) $this->
settings->get(self::SET_LIMIT_NUMBER);
76 $max = (int)
$settings->get(self::SET_LIMIT_NUMBER);
80 $lng->txt(
"exp_error_disabled")
85 foreach (
$tree->getSubTree($root =
$tree->getNodeData($ref_id)) as $node) {
86 if (isset($options[$node[
"child"]]) && (in_array((
int) $options[$node[
"child"]][
"type"], [1,2]))) {
90 if ($max > 0 && $cnt > $max) {
94 $lng->txt(
"exp_error_too_many_objects")
getLimitationMode()
Get limitation mode.
Export limitation exception.
getLimitationNumber()
Get limitation number.
checkLimitation($ref_id, $options)
const SET_EXPORT_DISABLED
Export limitation checker.
__construct()
Constructor.