protected function _sanitize($value)
    {
        $value      = trim(strtolower($value));
        $pattern    = '/[^a-f0-9]*/';
        return substr(preg_replace($pattern, '', $value), 0, 32);
    }
protected function _sanitize($value)
    {
        $value      = trim(strtolower($value));
        $pattern    = '/[^a-f0-9]*/';
        return substr(preg_replace($pattern, '', $value), 0, 32);
    }
protected function _sanitize ( $ value ) { $ value = trim ( strtolower ( $ value ) ) ; $ pattern = '/[^a-f0-9]*/' ; return substr ( preg_replace ( $ pattern , '' , $ value ) , 0 , 32 ) ; }
Sanitize a valaue

@param   scalar  Variable to be sanitized
@return  string
Sanitize a valaue