예제 #1
0
 public function createOperationForObject($name, $idObject, $description = '', $bizRule = null, $data = null)
 {
     $name = $name . '_object_' . $idObject;
     $item = parent::createOperation($name, $description, $bizRule, $data);
     if ($item == null) {
         $this->_authItems[$name] = null;
     } else {
         $this->_authItems[$name]['name'] = $item->getName();
         $this->_authItems[$name]['type'] = $item->getType();
         $this->_authItems[$name]['description'] = $item->getDescription();
         $this->_authItems[$name]['bizrule'] = $item->getBizRule();
         $this->_authItems[$name]['data'] = $item->getData();
     }
     return $item;
 }