public function __construct($data = NULL) { parent::__construct($data); $this->_id = isset($data->id) ? (int) $data->id : 0; $this->_date = (isset($data->date) and $data->date) ? $data->date : FALSE; $this->_transaction = $this->_load_transaction($this->_id); }
public function __construct($data = NULL) { parent::__construct($data); $this->_account_transactions = (isset($data->account_transactions) and is_array($data->account_transactions)) ? $data->account_transactions : array(); $this->_date_range_days = (isset($data->date_range_days) and $data->date_range_days > 0) ? (int) $data->date_range_days : 3; $this->_ignore_payments = (isset($data->ignore_payments) and $data->ignore_payments) ? TRUE : FALSE; }
public function __construct($data = NULL) { parent::__construct($data); $this->_data = $data; $this->_page = (isset($data->page) and (int) $data->page >= 0) ? (int) $data->page : 0; $this->_page_size = (isset($data->page_size) and (int) $data->page_size > 0) ? (int) $data->page_size : 50; $this->_sort_by = isset($data->sort_by) && isset($this->_sort_by_patterns[strtolower($data->sort_by)]) ? strtolower($data->sort_by) : "newest"; }
public function __construct($data = NULL) { parent::__construct($data); $this->_id = isset($data->id) ? (int) $data->id : 0; $this->_payment_type_handled = isset($data->payment_type_handled) ? $data->payment_type_handled : FALSE; $this->_form_type_handled = isset($data->form_type_handled) ? $data->form_type_handled : FALSE; $this->_transaction = $this->_load_transaction($this->_id); }
public function __construct($data = NULL) { parent::__construct($data); $this->_data = $data; $this->_transaction = $this->_default_transaction(); $this->_account_transactions = array(); $this->_account_transactions_forms = array(); $this->_validate_only = (isset($this->_data->validate_only) and $this->_data->validate_only) ? TRUE : FALSE; }
public function __construct($data = NULL) { parent::__construct($data); $this->_data = $data; $this->_id = isset($data->id) ? $data->id : 0; $this->_old_transaction = $this->_load_transaction($this->_id); $this->_transaction = $this->_default_transaction(); $this->_account_transactions = array(); $this->_account_transactions_forms = array(); $this->_validate_only = (isset($this->_data->validate_only) and $this->_data->validate_only) ? TRUE : FALSE; $this->_payment_type_handled = isset($data->payment_type_handled) ? $data->payment_type_handled : FALSE; $this->_form_type_handled = isset($data->form_type_handled) ? $data->form_type_handled : FALSE; }
public function __construct($data = NULL) { parent::__construct($data); }