Example #1
0
 /**
  * attach in back_url id_lo that is passed $id and attach edit_result with the result of operation in boolean format 
  * @param int $id contains the resource id
  * @param string $back_url contains the back url
  */
 function edit($id, $back_url)
 {
     $this->id = $id;
     $this->back_url = $back_url;
     unset($_SESSION['last_error']);
     require_once $GLOBALS['where_lms'] . '/modules/item/item.php';
     moditem($this);
 }
Example #2
0
 /**
  * function edit
  * @param int $id contains the resource id
  * @param string $back_url contains the back url
  * @return nothing
  * attach in back_url id_lo that is passed $id and attach edit_result with the result of operation in boolean format 
  **/
 function edit($id, $back_url)
 {
     $this->id = $id;
     $this->back_url = $back_url;
     unset($_SESSION['last_error']);
     require_once Docebo::inc(_lms_ . '/modules/scorm/scorm.php');
     moditem($this);
 }