Exemple #1
0
 /**
  * Handle the edit task
  */
 function edit($view = 0)
 {
     //We set here the tsmart_user_id, when no tsmart_user_id is set to 0, for adding a new user
     //In every other case the tsmart_user_id is sent.
     $cid = vRequest::getVar('tsmart_user_id');
     if (!isset($cid)) {
         vRequest::setVar('tsmart_user_id', (int) 0);
     }
     parent::edit('edit');
 }
Exemple #2
0
 /**
  * Shows the order details
  */
 public function edit($layout = 'order')
 {
     parent::edit($layout);
 }
Exemple #3
0
 /**
  * Shows the product add/edit screen
  */
 public function edit($layout = 'edit')
 {
     parent::edit('product_edit');
 }