Zend Framework

add method __construct in Zend_Filter_StringToUpper and Zend_Filter_StringToLower

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.10.0
  • Component/s: Zend_Filter
  • Labels:
    None

Description

Call, Zend_Filter::filterStatic( 'ããaããã' , 'StringToUpper' , array( 'UTF-8' ) );

Return ããAããã.

Add method __construct in the classes Zend_Filter_StringToUpper and Zend_Filter_StringToLower,
makes the method call setEncoding.

public function __construct( $encoding = null )
    {
        if( $encoding !== null ){
            $this->setEncoding( $encoding );
        }
    }

Activity

Hide
Thomas Weidner added a comment -

Added this improvement with another at r17887

Show
Thomas Weidner added a comment - Added this improvement with another at r17887

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: