public function referenceGetAction($demAction)
    {
        $result = MageType::REF_ACTION_NO_ACTION;
        if ($demAction == DemType::REF_ACTION_RESTRICT) {
            $result = MageType::REF_ACTION_RESTRICT;
        } else {
            if ($demAction == DemType::REF_ACTION_CASCADE) {
                $result = MageType::REF_ACTION_CASCADE;
            }
        }
        return $result;
    }
public function referenceGetAction($demAction)
    {
        $result = MageType::REF_ACTION_NO_ACTION;
        if ($demAction == DemType::REF_ACTION_RESTRICT) {
            $result = MageType::REF_ACTION_RESTRICT;
        } else {
            if ($demAction == DemType::REF_ACTION_CASCADE) {
                $result = MageType::REF_ACTION_CASCADE;
            }
        }
        return $result;
    }
public function referenceGetAction ( $ demAction ) { $ result = MageType :: REF_ACTION_NO_ACTION ; if ( $ demAction == DemType :: REF_ACTION_RESTRICT ) { $ result = MageType :: REF_ACTION_RESTRICT ; } else { if ( $ demAction == DemType :: REF_ACTION_CASCADE ) { $ result = MageType :: REF_ACTION_CASCADE ; } } return $ result ; }
Map DEM foreign keys actions to Varien values.

@param $demAction

@return string
Map DEM foreign keys actions to Varien values .