__construct() public méthode

Constructor
public __construct ( )
Exemple #1
0
 function __construct($id, $type)
 {
     parent::__construct($id);
     $this->payment = RegistrationPayment::load(array('order_id' => $id, 'payment_type' => $type));
     if (!$this->payment) {
         error_exit("No such payment for this registration");
     }
 }
Exemple #2
0
 function __construct($id)
 {
     parent::__construct($id);
     $this->form_load(true);
 }