Difference between revisions of "XDLibsPHP:Home"

From XcelData Wiki
Jump to: navigation, search
Line 52: Line 52:
 
** XDGlobalSettings::$siteThemes
 
** XDGlobalSettings::$siteThemes
  
* '''GBase''' - xceldata-static-maps.1.0.class.php
+
* '''XDGBase''' - xceldata-static-maps.1.0.class.php
** GGeocode($address)
+
** XDGeocode($address)
 
*** GetURLParts()
 
*** GetURLParts()
 
*** GetData()
 
*** GetData()
** GStaticMap()
+
** XDStaticMap()
 
*** setCenter($marker)
 
*** setCenter($marker)
 
*** setSize($width, $height)
 
*** setSize($width, $height)
Line 64: Line 64:
 
*** setStyle($style)
 
*** setStyle($style)
 
*** GetURLParts()
 
*** GetURLParts()
 +
 +
* '''XDTwilio''' - xceldata-twilio-helper.1.0.class.php
 +
** XDTwilio::GetRawRates($phoneNumber, $country, $adj=0)
 +
** XDTwilio::GetRates($adj=0)
 +
** XDTwilio::GetMessage($messageID)
 +
** XDTwilio::SyncTwilio($companyID = null)
 +
 +
* '''XDUser''' - xceldata-user-helper.1.0.class.php
 +
** XDUser::CanUserMakePermission($permission)
 +
** XDUser::MergeSession($newInfo)
 +
** XDUser::ID()
 +
** XDUser::Name()
 +
** XDUser::InternalKey()
 +
** XDUser::PublicKey()
 +
** XDUser::Email()
 +
** XDUser::SMS()
 +
** XDUser::MarkActiveNow($url)
 +
** XDUser::Tags()
 +
** XDUser::HasTag($tag)
 +
** XDUser::HasRankLevel($rank)
 +
** XDUser::GetRankLevel($tag)
 +
** XDUser::UserRankLevel()
 +
** XDUser::Try_HasTag($tag)
  
 
[[Category:XcelDataAPI]]
 
[[Category:XcelDataAPI]]

Revision as of 17:13, 3 August 2018

This article documents features that are still in development.

Information may change rapidly as the event progresses, or if requirements change. The last updates to this article may not reflect the most current information.


XcelData PHP Libs

A collection of php classes that make the system work.

API

  • Pawn2MEAPI - xceldata-api.1.0.class.php
    • Pawn2MEAPI::sendAlertSMS($toNumber, $fromNumber, $message)
    • Pawn2MEAPI::sendSystemSMS($toNumber, $message) [could be broken, seems unused]
    • Pawn2MEAPI::DoActivationLinkSMS($USER_PHONE, $COMPANY_ID, $STORE_ID)
  • XDBilling - xceldata-billing-helper.1.0.class.php
    • XDBilling::GetStoreElectronicRatesForMonth($storeID, $PREV_MONTH_DATE)
    • XDBilling::GetStoreElectronicUsageForMonth($storeID, $START_DATE)
    • XDBilling::GenerateBillingForAllCompanies($date=null)
    • XDBilling::CalculateBillingNavigationForDate($date=null)
    • XDBilling::GenerateBillingForCompany($company, $date=null)
  • XDCompany - xceldata-company-helper.1.0.class.php
    • XDCompany::GetStores($companyID, $doExpensiveThings=false) [should be deprecated]
    • XDCompany::GetStores2($companyID, $doExpensiveThings=false) [needs to be renamed :/]
    • XDCompany::GetArchivedStores($companyID)
    • XDCompany::GetStoreByID($storeID, $doExpensiveThings=false)
    • XDCompany::GetStoreByKey($storeKey, $doExpensiveThings=false)
    • XDCompany::GetStoreByKeyWithMetalSettings($storeKey)
  • XDDBHelper - xceldata-database-helper.1.0.class.php
    • XDDBHelper::FixDate(&$field)
    • XDDBHelper::FixDateToRaw(&$field)
    • XDDBHelper::FuxDate(&$field)
    • XDDBHelper::DateFromRaw(&$field)
    • XDDBHelper::FixDateRaw(&$field)
    • XDDBHelper::FuxDateRaw(&$field)
  • XDLang - xceldata-lang-helper.1.0.class.php
    • XDLang::timeago($date, $fixDate = true)
  • XDNotes - xceldata-notes-helper.1.0.class.php
    • XDNotes::newNote($objectKey, $message, $userID)
    • XDNotes::getNotesCount($objectKey, $limit=10, $offset=0)
    • XDNotes::getNotesSummary($objectKey)
    • XDNotes::getNotes($objectKey, $limit=10, $offset=0)
  • XDAppCache - xceldata-recache-helper.1.0.class.php
    • XDAppCache::DoAll()
    • XDAppCache::WelcomePage($debug=false)
    • XDAppCache::WelcomePageData()
  • XDGlobalSettings - xceldata-settings-helper.1.0.class.php
    • XDGlobalSettings::$timeZones
    • XDGlobalSettings::$siteThemes
  • XDGBase - xceldata-static-maps.1.0.class.php
    • XDGeocode($address)
      • GetURLParts()
      • GetData()
    • XDStaticMap()
      • setCenter($marker)
      • setSize($width, $height)
      • setScale($scale)
      • addVisible($marker)
      • addMarker($marker)
      • setStyle($style)
      • GetURLParts()
  • XDTwilio - xceldata-twilio-helper.1.0.class.php
    • XDTwilio::GetRawRates($phoneNumber, $country, $adj=0)
    • XDTwilio::GetRates($adj=0)
    • XDTwilio::GetMessage($messageID)
    • XDTwilio::SyncTwilio($companyID = null)
  • XDUser - xceldata-user-helper.1.0.class.php
    • XDUser::CanUserMakePermission($permission)
    • XDUser::MergeSession($newInfo)
    • XDUser::ID()
    • XDUser::Name()
    • XDUser::InternalKey()
    • XDUser::PublicKey()
    • XDUser::Email()
    • XDUser::SMS()
    • XDUser::MarkActiveNow($url)
    • XDUser::Tags()
    • XDUser::HasTag($tag)
    • XDUser::HasRankLevel($rank)
    • XDUser::GetRankLevel($tag)
    • XDUser::UserRankLevel()
    • XDUser::Try_HasTag($tag)