public function loadFrom(Pap_Db_Commission $commission){ $this->tier = $commission->getTier(); $this->type = $commission->getCommissionType(); $this->value = $commission->getCommissionValue(); $this->subtype = $commission->getSubtype(); $this->groupid = $commission->getGroupId(); $this->typeid = $commission->getCommissionTypeId(); }