Ejemplo n.º 1
0
 /**
  * main action
  */
 public function mainAction()
 {
     require_once 'models/common/common_revision.php';
     $Revision = new common_revision();
     if (in_array($this->GET['object'], common_revision::getAllowedRevisionObjects())) {
         $object = $this->GET['object'];
     }
     if (is_numeric($this->GET['node_id'])) {
         $node_id = $this->GET['node_id'];
     }
     $list = $Revision->getList($object, $node_id);
     $this->parseList($list);
     return true;
 }