31 foreach (
$config as $key => $value) {
43 if ($this->sortable !== null) {
47 if ($this->items === null) {
48 $this->items =
Rights::getAuthorizer()->getAuthItems($this->type, $this->userId, $this->parent,
true, $this->exclude);
52 foreach ($this->items as $name => $item) {
67 foreach ($this->getData() as $name => $item) {
79 if ($this->sortable !== null) {
80 if (isset($this->sortable[
'id']) ===
true && isset($this->sortable[
'element']) ===
true && isset($this->sortable[
'url']) ===
true) {
82 Yii::app()->getClientScript()->registerScript($this->sortable[
'id'],
83 "jQuery('".$this->sortable[
'element'].
"').rightsSortableTable({
84 url:'".$this->sortable[
'url'].
"',
85 csrfToken:'".Yii::app()->request->csrfToken.
"'
99 return count($this->getData());