App Engine PHP SDK  v1 rev.445
The PHP runtime is available as an experimental Preview feature.
Static Public Member Functions | List of all members
google\appengine\util\StringUtil Class Reference

Static Public Member Functions

static endsWith ($input, $suffix)
 
static startsWith ($input, $prefix)
 
static base64UrlEncode ($input)
 
static base64UrlDecode ($input)
 

Member Function Documentation

static google\appengine\util\StringUtil::base64UrlDecode (   $input)
static
Parameters
string$inputThe url safe Base64 encoded string.
Returns
string The original string which may not be url safe.
static google\appengine\util\StringUtil::base64UrlEncode (   $input)
static
Parameters
string$inputThe string which may not be url safe.
Returns
string A Base64 encoded url safe string.
static google\appengine\util\StringUtil::endsWith (   $input,
  $suffix 
)
static

Return true if the first paramater contains the second parameter at the end.

Parameters
string$inputThe input string which may contain the suffix.
string$suffixThe string to look for at the end of the input.
Returns
boolean true iff the input contains the suffix at the end.
static google\appengine\util\StringUtil::startsWith (   $input,
  $prefix 
)
static
Parameters
string$inputThe string which may contain the prefix at the start.
string$prefixThe string to look for at the start of the input.
Returns
boolean true iff the input contains the prefix at the start.

The documentation for this class was generated from the following file: