protected function getPrefixedInput($input, $prefix = '')
    {
        if( $prefix == '' ) {
            return $input;
        }

        $results = array();
        foreach( $input as $key => $value ) {
            $results[ $prefix .'_'. $key ] = $value;
        }

        return $results;
    }
protected function getPrefixedInput($input, $prefix = '')
    {
        if( $prefix == '' ) {
            return $input;
        }

        $results = array();
        foreach( $input as $key => $value ) {
            $results[ $prefix .'_'. $key ] = $value;
        }

        return $results;
    }
protected function getPrefixedInput ( $ input , $ prefix = '' ) { if ( $ prefix == '' ) { return $ input ; } $ results = array ( ) ; foreach ( $ input as $ key => $ value ) { $ results [ $ prefix . '_' . $ key ] = $ value ; } return $ results ; }
Add a prefix to the input array

@param   array $input        The input array that needs to be prefixed
@param   string $prefix      The prefix that needs to be added to the input
@return array
Add a prefix to the input array