/=================War Engine V 0.1============================
War Engine is in the process of being developed for rapid release of my game ideas
File: frame/engine.php
Version: 0.1.6
Classes: barcode,format,grid,hash,mysql,test,tracking,users
This revision is stable and dosent require any major changes.
Engine Functions
ENGINE::START(); //Includes Default files and function for the framework.
ENGINE::START('HASH'); //Includes Default files and functions + hash class for passwords.
ENGINE::TICKETINFO(/* Ticket ID */); //Grabs all that tickets infomartion and stores it in a massive tree array.
ENGINE::VOIP(/* User Array */); //Initializes Twilio with the user defined.
ENGINE::ITEM(/* Item ID */); //Generates an items information from inventory and sends a message to manager when out of stock.
ENGINE::SERVICE(/* Service ID */); //Generates a services information.
User Functions
/* These functions require ENGINE::START() to be initialized before any of them are called. */
$USER = USER::INFO(/* User ID */); //Stores all that users info in the Variable $USER.
$USER = USER::VERIFY(/* $Level, $InAjax */);
$USER = USER::VERIFY(1,TRUE);
//It Grabs the users id from a cookie than checks to see if their level is >= $level.
//$inAjax is passed as either True or False and determines failure fallback.
USER::LOG(/* Message, User ID */);
USER::LOG("Test Log Message");
//Sends a message to the users log if no user ID is supplied it will fallback to a cookie.
USER::NOTE(/* Ticket ID, Note, Type of Note, User ID */);
USER::NOTE(0000000001, "Test Note", 1);
//Sends a note to the Ticket Id Supplied.
Test Functions
/* This function requires ENGINE::START() to be initialized before it is called. */
TEST::FUNCTION(/* Function, Parameters */);
TEST::FUNCTION('ENGINE::START',ARRAY('HASH'));
//This function logs the time it takes for a function to complete in the console of your browser.