__construct() public method

Constructor
public __construct ( )
Exemplo n.º 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");
     }
 }
Exemplo n.º 2
0
 function __construct($id)
 {
     parent::__construct($id);
     $this->form_load(true);
 }