public function checkAgainstDefaultValue($searchString)
    {
        $searchStringToLower = strtolower(trim($searchString));
        $defaultValueToLower = strtolower($this->pObj->pi_getLL('searchbox_default_value'));
        if ($searchStringToLower === $defaultValueToLower) {
            $searchString = '';
        }

        return $searchString;
    }
public function checkAgainstDefaultValue($searchString)
    {
        $searchStringToLower = strtolower(trim($searchString));
        $defaultValueToLower = strtolower($this->pObj->pi_getLL('searchbox_default_value'));
        if ($searchStringToLower === $defaultValueToLower) {
            $searchString = '';
        }

        return $searchString;
    }
public function checkAgainstDefaultValue ( $ searchString ) { $ searchStringToLower = strtolower ( trim ( $ searchString ) ) ; $ defaultValueToLower = strtolower ( $ this -> pObj -> pi_getLL ( 'searchbox_default_value' ) ) ; if ( $ searchStringToLower === $ defaultValueToLower ) { $ searchString = '' ; } return $ searchString ; }
checks if the entered searchstring is the default value
@param string $searchString
@return string Returns the searchstring or an empty string
checks if the entered searchstring is the default value