}
/**
- * given a string, replace all non alpha numeric characters and
+ * Given a string, replace all non alpha numeric characters and
* spaces with the replacement character
*
* @param string $name the name to be worked on
}
/**
- * convert possibly underscore separated words to camel case with special handling for 'UF'
+ * Convert possibly underscore separated words to camel case with special handling for 'UF'
* e.g
* membership_payment returns MembershipPayment
* @param string $string
}
/**
- * takes a string and returns the last tuple of the string.
+ * Takes a string and returns the last tuple of the string.
* useful while converting file names to class names etc
*
* @param string $string the input string
}
/**
- * appends a name to a string and seperated by delimiter.
+ * Appends a name to a string and seperated by delimiter.
* does the right thing for an empty string
*
* @param string $str the string to be appended to
}
/**
- * determine if the string is composed only of ascii characters
+ * Determine if the string is composed only of ascii characters
*
* @param string $str input string
* @param boolean $utf8 attempt utf8 match on failure (default yes)
}
/**
- * determine the string replacements for redaction
+ * Determine the string replacements for redaction
* on the basis of the regular expressions
*
* @param string $str input string
}
/**
- * determine if two href's are equivalent (fuzzy match)
+ * Determine if two href's are equivalent (fuzzy match)
*
* @param string $url1 the first url to be matched
* @param string $url2 the second url to be matched against
}
/**
- * Function to extract variable values
+ * Extract variable values
*
* @param mix $query this is basically url
*
}
/**
- * translate a true/false/yes/no string to a 0 or 1 value
+ * Translate a true/false/yes/no string to a 0 or 1 value
*
* @param string $str the string to be translated
*
}
/**
- * returns string '1' for a true/yes/1 string, and '0' for no/false/0 else returns false
+ * Returns string '1' for a true/yes/1 string, and '0' for no/false/0 else returns false
*
* @param string $str the string to be translated
*
/**
* @param $string
- * @param $params
+ * @param array $params
*/
static function extractName($string, &$params) {
$name = trim($string);
}
/**
- * strip leading, trailing, double spaces from string
+ * Strip leading, trailing, double spaces from string
* used for postal/greeting/addressee
*
* @param string $string input string to be cleaned
}
/**
- * this function will mask part of the the user portion of an Email address (everything before the @)
+ * This function will mask part of the the user portion of an Email address (everything before the @)
*
* @param string $email the email address to be masked
* @param string $maskChar the character used for masking
}
/**
- * this function compares two strings
+ * This function compares two strings
*
* @param string $strOne string one
* @param string $strTwo string two