Example #1
0
 public function setPermission()
 {
     foreach (C('diagram.' . strtolower($this->_name . '.group')) as $groupAlias) {
         //			print "alias: ".$groupAlias."\n";
         $this->_diagram->setPermission(M('User')->loadGroupByAlias($groupAlias), TRUE, 'OFS.READ');
     }
 }
Example #2
0
 protected function getGraph()
 {
     return $this->_object->getGraph();
 }