module/Core/src/Grid/Core/Form/Package/Multisite.php
public function transformValues( array $values )
    {
        if ( ! empty( $values['gridguyz-multisite']['defaultDomain'] ) )
        {
            $values['gridguyz-multisite']['defaultDomain'] = trim(
                $values['gridguyz-multisite']['defaultDomain'],
                '.'
            );
        }

        if ( ! empty( $values['gridguyz-multisite']['domainPostfix'] ) )
        {
            $values['gridguyz-multisite']['domainPostfix'] = '.' . trim(
                $values['gridguyz-multisite']['domainPostfix'],
                '.'
            );
        }

        return $values;
    }
public function transformValues( array $values )
    {
        if ( ! empty( $values['gridguyz-multisite']['defaultDomain'] ) )
        {
            $values['gridguyz-multisite']['defaultDomain'] = trim(
                $values['gridguyz-multisite']['defaultDomain'],
                '.'
            );
        }

        if ( ! empty( $values['gridguyz-multisite']['domainPostfix'] ) )
        {
            $values['gridguyz-multisite']['domainPostfix'] = '.' . trim(
                $values['gridguyz-multisite']['domainPostfix'],
                '.'
            );
        }

        return $values;
    }
public function transformValues ( array $ values ) { if ( ! empty ( $ values [ 'gridguyz-multisite' ] [ 'defaultDomain' ] ) ) { $ values [ 'gridguyz-multisite' ] [ 'defaultDomain' ] = trim ( $ values [ 'gridguyz-multisite' ] [ 'defaultDomain' ] , '.' ) ; } if ( ! empty ( $ values [ 'gridguyz-multisite' ] [ 'domainPostfix' ] ) ) { $ values [ 'gridguyz-multisite' ] [ 'domainPostfix' ] = '.' . trim ( $ values [ 'gridguyz-multisite' ] [ 'domainPostfix' ] , '.' ) ; } return $ values ; }
Transform form values

@param   array   $values
@return  array
Transform form values