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'); } }
protected function getGraph() { return $this->_object->getGraph(); }