Class Index | File Index

Classes


Built-In Namespace String

Method Summary
Method Attributes Method Name and Description
 
endsWith(suffix)
Does the string end with the specified suffix?

From Ruby on Rails.

 
Escapes the string without affecting existing escaped entities.
 
A utility method for escaping HTML tag characters.
 

From Ruby on Rails.

 
startsWith(prefix)
Does the string start with the specified prefix?

From Ruby on Rails.

 
strtr(replacePairs)
Equivalent to PHP's two-argument version of strtr.
 
trim()
Strip whitespace from the beginning and end of a string.
Method Detail
{Boolean} endsWith(suffix)
Does the string end with the specified suffix?

From Ruby on Rails.


Defined in: ajaxsolr.support.js.
Parameters:
{String} suffix
The specified suffix.
Returns:
{Boolean}

{String} escapeOnce()
Escapes the string without affecting existing escaped entities.

From Ruby on Rails.


Defined in: ajaxsolr.support.js.
Returns:
{String} The escaped string

{String} htmlEscape()
A utility method for escaping HTML tag characters.

From Ruby on Rails.


Defined in: ajaxsolr.support.js.
Returns:
{String} The escaped string.

sanitizeToId()

From Ruby on Rails.


Defined in: ajaxsolr.support.js.
See:
http://www.w3.org/TR/html4/types.html#type-name

{Boolean} startsWith(prefix)
Does the string start with the specified prefix?

From Ruby on Rails.


Defined in: ajaxsolr.support.js.
Parameters:
{String} prefix
The speficied prefix.
Returns:
{Boolean}

{String} strtr(replacePairs)
Equivalent to PHP's two-argument version of strtr.
Defined in: ajaxsolr.support.js.
Parameters:
{Object} replacePairs
An associative array in the form: {'from': 'to'}
Returns:
{String} A translated copy of the string.
See:
http://php.net/manual/en/function.strtr.php

{String} trim()
Strip whitespace from the beginning and end of a string.
Defined in: ajaxsolr.support.js.
Returns:
{String} The trimmed string.

Documentation generated by JsDoc Toolkit 2.3.0 on Wed Sep 07 2011 22:31:37 GMT-0400 (EDT)