Method |
Description |
|
addHttp ( $url ) |
|
|
allowNewAccounts ( ) |
|
|
basePath ( ) |
|
|
calculateTaxes ( $amount, $taxRate1, $taxRate2 ) |
|
|
cityStateZip ( $city, $state, $postalCode, $swap ) |
|
|
copyContext ( $entity1, $entity2 ) |
|
|
dateToString ( $date ) |
|
|
decodePDF ( $string ) |
|
|
endsWith ( $haystack, $needle ) |
|
|
exportData ( $output, $data, $headers = false ) |
|
|
fatalError ( $message = false, $exception = false ) |
|
|
formatMoney ( $value, $currencyId = false, $countryId = false, $decorator = false ) |
|
|
formatTime ( $t ) |
|
|
formatWebsite ( $website ) |
|
|
fromSqlDate ( $date, $formatResult = true ) |
|
|
fromSqlDateTime ( $date, $formatResult = true ) |
|
|
generateLicense ( ) |
|
|
getApiHeaders ( $count ) |
|
|
getCardType ( $number ) |
http://wephp.co/detect-credit-card-type-php/ |
|
getClientDisplayName ( $model ) |
|
|
getDemoAccountId ( ) |
|
|
getDocsUrl ( $path ) |
|
|
getDomainPlaceholder ( ) |
|
|
getEntityClass ( $entityType ) |
|
|
getEntityName ( $entityType ) |
|
|
getEntityRowClass ( $model ) |
|
|
getErrorString ( $exception ) |
|
|
getFirst ( $values ) |
|
|
getFromCache ( $id, $type ) |
|
|
getLocaleRegion ( ) |
|
|
getMinNumUsers ( $max ) |
|
|
getMonthOptions ( ) |
|
|
getNewsFeedResponse ( $userType = false ) |
|
|
getPersonDisplayName ( $firstName, $lastName, $email ) |
|
|
getPlanPrice ( $plan ) |
|
|
getProLabel ( $feature ) |
|
|
getResllerType ( ) |
|
|
getSubdomainPlaceholder ( ) |
|
|
getTranslatedWeekdayNames ( ) : Collection |
Gets an array of translated weekday names |
|
getUserType ( ) |
|
|
getVendorDisplayName ( $model ) |
|
|
getWeekdayNames ( ) : Collection |
Gets an array of weekday names (in English) |
|
hasAllPermissions ( $permission ) |
|
|
hasFeature ( $feature ) |
|
|
hasPermission ( $permission, $requireAll = false ) |
|
|
isAdmin ( ) |
|
|
isConfirmed ( ) |
|
|
isCron ( ) |
|
|
isDatabaseSetup ( ) |
|
|
isDownForMaintenance ( ) |
|
|
isEmpty ( $value ) |
|
|
isEnglish ( ) |
|
|
isNinja ( ) |
|
|
isNinjaDev ( ) |
|
|
isNinjaProd ( ) |
|
|
isOAuthEnabled ( ) |
|
|
isPaidPro ( ) |
|
|
isPro ( ) |
|
|
isRegistered ( ) |
|
|
isReseller ( ) |
|
|
isTravis ( ) |
|
|
isTrial ( ) |
|
|
isWhiteLabel ( ) |
|
|
logError ( $error, $context = 'PHP', $info = false ) |
|
|
lookupEventId ( $eventName ) |
|
|
maskAccountNumber ( $value ) |
|
|
notifyZapier ( $subscription, $data ) |
|
|
parseFloat ( $value ) |
|
|
parseInt ( $value ) |
|
|
pluralize ( $string, $count ) |
|
|
pluralizeEntityType ( $type ) |
|
|
processVariables ( $str ) |
|
|
replaceSubdomain ( $domain, $subdomain ) |
|
|
requireHTTPS ( ) |
|
|
setupWePay ( $accountGateway = null ) |
|
|
splitName ( $name ) |
|
|
startsWith ( $haystack, $needle ) |
|
|
timestampToDateString ( $timestamp ) |
|
|
timestampToDateTimeString ( $timestamp ) |
|
|
timestampToString ( $timestamp, $timezone = false, $format ) |
|
|
toArray ( $data ) |
|
|
toCamelCase ( $string ) |
|
|
toClassCase ( $string ) |
|
|
toSnakeCase ( $string ) |
|
|
toSpaceCase ( $string ) |
|
|
toSqlDate ( $date, $formatResult = true ) |
|
|
today ( $formatResult = true ) |
|
|
trans ( $input ) |
|
|
transFlowText ( $key ) |
TODO remove this |
|
wrapAdjustment ( $adjustment, $currencyId, $countryId ) |
|
|