Example #1
0
 function create()
 {
     if ($this->nChangeId) {
         throw new AnwUnexpectedException("Change already existing");
     }
     $this->nChangeId = AnwStorage::createChange($this);
     $this->oPage->_change_cbk_setchange($this);
     return $this->nChangeId;
 }