PHP Classes
elePHPant
Icontem

File: function_list.txt

Recommend this page to a friend!
  Classes of Jeff Williams  >  Easy PHP Validation  >  function_list.txt  >  Download  
File: function_list.txt
Role: Documentation
Content type: text/plain
Description: List of class functions
Class: Easy PHP Validation
Validate and fetch request and other value types.
Author: By
Last change:
Date: 1 year ago
Size: 2,359 bytes
 

Contents

Class file image Download
valid::charAt($string, $position)
valid::checkLength($value, $maximumLength, $minimumLength = 0)
valid::compare($value1, $value2, $caseSensitive = false)
valid::contains($string, $find, $caseSensitive = true)
valid::convertToDate($string)
valid::endsWith($string, $find, $caseSensitive = true)
valid::formatPhoneNumber($numbers)
valid::formatSSN($numbers)
valid::formatZipCode($numbers)
valid::generateRandomString($size = 30)
valid::getAge($dob)
valid::getBooleanValue($value, $includeTrueValue = null, $includeFalseValue = null)
valid::getClientIPAddress()
valid::getCookieValue($name, $default = '')
valid::getCreditCardType($cardnumber)
valid::getCurrentPageName($lowercase = false, $extension = true)
valid::getCurrentPageURL($lowercase = false)
valid::getCurrentSite($lowercase = false)
valid::getDefaultOnEmpty($value, $default)
valid::getFloatValue($string)
valid::getFormValue($name, $default = '')
valid::getRequestValue($name, $default = '')
valid::getSessionValue($name, $default = '')
valid::getTimeZonesInCountry($country)
valid::getUniqueChars($string, $returnAsArray = true)
valid::getValue($name, $default = '')
valid::hasValue($value)
valid::isAlpha($value, $allow = '')
valid::isAlphaNumeric($value)
valid::isDate($value)
valid::isEmail($email)
valid::isEmpty($value)
valid::isInternetURL($value)
valid::isIPAddress($value)
valid::isNumber($number)
valid::isSSN($ssn, $strict = false)
valid::isStateAbbreviation($value)
valid::isTimeZoneInCountry($timezone, $country)
valid::isTooLong($value, $maximumLength)
valid::isTooShort($value, $minimumLength)
valid::isUnsignedNumber($number)
valid::isValidCreditCardNumber($cardnumber)
valid::isZipCode($value)
valid::left($string, $length)
valid::ordinal($number)
valid::replaceLast($search, $replace, $subject)
valid::right($string, $length)
valid::safeDateFormat($date, $format)
valid::safeEncode($string)
valid::safeTrim($value)
valid::sanitize($input)
valid::startsWith($string, $find, $caseSensitive = true)
valid::stripExcessWhitespace($string)
valid::stripNonAlpha($string)
valid::stripNonAlphaNumeric($string)
valid::stripNonAlphaNumericSpaces($string)
valid::stripNonNumeric($string)
valid::truncateDecimal($float, $precision = 0)
valid::validatePassword($password, $confirm, $email = '', $username = '', $forceUpperLower = false)