__construct() 공개 메소드

public __construct ( Gpf_Rpc_Params $params = null )
$params Gpf_Rpc_Params
    public function __construct(Gpf_Rpc_Params $params = null, $edit=true) {
		parent::__construct($params);
        $this->initCommissionGroupId($this->getFieldValue("CommissionGroupId"));
		if ($edit) {
            $this->commissionTypeId = $this->getFieldValue("Id");
            if($this->commissionTypeId == "") {
                throw new Exception($this->_("CommissionTypeId (Id) cannot be empty!"));
            }
		}
    }