Username:

Password:


  • Home
  • Help
  • Search
  • Downloads
  • Login
  • Register
CubeCart - FreeForums For All ยป Recent Posts
Pages: 1 [2]
 11 
 CubeCart 5 / Developer's Kit / Debug Class
 on: February 10, 2012, 12:19:18 AM 
Started by Chief! - Last post by Chief!
Debug
+ firephp = null; object; FirePHP controller
- _custom = array(); array; Custom debug messages
- _debug_timer = 0; float; Debug timer used to calc page load time
- _display = true; bool; Display debug message
- _enabled = false; bool; Enabled/disabled
- _errors = array(); array; Error messages
- _messages = array(); array; FirePHP log group
- _sql = array(); array; SQL messages
- _timers = array(); array; Custom timers
- _xdebug = false; bool; XDebug enabled
# _instance; static instance; Class instance
# __construct; final
+ __destruct
+ getInstance: static instance; Setup the instance (singleton)
+ debugSQL; bool; Set an SQL message
+ debugMessage; string; Set a debug message
+ debugTail; bool; Add a message to the debug tail
+ display; ; Display debug
+ endTimer; float; End a custom timer and display
+ exceptionHandler; object; Error handler
+ errorLogger; bool; Error logger
+ firePHP; ; Bulk firePHP something
+ ratioError; static string; Make a ratio error
+ startTimer; ; Start a custom timer
+ status; bool; Get/set the debug status
+ supress; ; Supress display
- _debugGetBytes; static string; Get the byte size
- _debugMemoryUsage; string; Get memory usage
- _errorDisplay; string; Make error message
- _getTime; ; Get time using microtime or xdebug
- _makeExport; string; Make a variable export string
- _makeExportString; string|false; Makes an export string for debug
- _writeErrorLog; ; Write message to CC_system_error_log
As of CC522

 12 
 CubeCart 5 / Developer's Kit / Session Class
 on: February 09, 2012, 03:01:54 PM 
Started by Chief! - Last post by Chief!
Session
- $_state = 'active'; string; Current session status
- $_session_timeout = 36000; int; Session timeout
- $_user_blocked   = false; bool; User blocked state
- static $_instance; instance; Class instance
const BLOCKER_FRONTEND = 'F';
const BLOCKER_BACKEND = 'B';
- __construct; final
+ __destruct
+ getInstance; static
+ blocked; Is a user blocked?
+ blocker; Block a user
+ checkToken; Check a form token
+ delete; Delete something from the session
+ destroy; Destroy session
+ get; Get data from the session
+ getBack; Get 'back' from the session
+ getId; Get session id
+ getName; Get session name
+ getState; Get the session state
+ getToken; Create a session token to help stop spam
+ has; Does the session have something
+ isEmpty; Is an element empty
+ restart; Restart / regenerate a session
+ set; Set a session value to something
+ setBack; Set a page back to the session
- _close; Close a session
- _createToken; Create a form token
- _namespace; Check & build the namespace
- _setTimers; Setup session timers
- _start; Start a session
- _validate; Validate a session exists in database
This is a test of a table floating to the right.

 13 
 CubeCart 5 / Developer's Kit / List of Articles
 on: February 09, 2012, 12:41:00 PM 
Started by Chief! - Last post by Chief!
Customer Experience
Web Site Design
Display Logic/Rendering
Functions - General
Debug Class
Session Class
Cache Class
Database Class
Config Class
Language Class
SEO Class
HookLoader Class
SSL Class
GUI Class
Tax Class
Catalog Class
CubeCart Class
User Class
Cart Class
Order Class

 14 
 Information / News and Announcements / Welcome! CubeCart FreeForAll is Open!
 on: June 27, 2007, 08:03:59 PM 
Started by Chief! - Last post by Chief!
CubeCart FreeForAll is the place where CubeCart users and abusers can discuss any aspect of this amazing application: Invite others to check out your CubeCart-based store, challenge others to examine trial code you are developing for your store's operation, and request for beta teams to give your developing CubeCart enhancement or skin a thorough going-over.

As the name of this Forum implies, all content is based on freely submitted contributions.

  • All conversations can be freely taken for use elsewhere
  • All modifications and tweaks can be freely modified and enhanced further
  • Nothing is for sale, but you can advertise in your signature
  • There is no paid membership status
  • There are rules of civil behavior
  • You are free to help, or not - but watch out for karma

Enjoy!

Pages: 1 [2]
Powered by SMF 1.1.23 | SMF © 2015, Simple Machines
Nly-Grey Theme by N a t i
Loading...