in file tNG_import.class.php, method tNG_import::addColumn() Adds a column to the transaction Calls the parent addColumn method then sets the default value.
addColumn
in file tNG_insert.class.php, method tNG_insert::addColumn() Adds a column to the transaction Calls the parent addColumn method then sets the default value.
addColumn
in file tNG_multipleInsert.class.php, method tNG_multipleInsert::addColumn() Adds a column to the transaction Calls the parent addColumn method then sets the default value.
addColumn
in file tNG_fields.class.php, method tNG_fields::addColumn() Adds a column to the transaction
addColumn
in file tNG_custom.class.php, method tNG_custom::addColumn() Adds a column to the transaction Calls the parent addColumn method then sets the default value.
addCommand
in file KT_Image.class.php, method KT_image::addCommand() prepend in front of the commands array a new command;
in file tNG_update.class.php, method tNG_update::doTransaction() Overwrites tNG method in order to register some triggers specific to Update Users Transaction
doTransaction
in file tNG_insert.class.php, method tNG_insert::doTransaction() Overwrites tNG method in order to register some triggers specific to Register Transaction
doTransaction
in file tNG.class.php, method tNG::doTransaction() executing the transaction (triggers, prepare SQL)
in file KT_FileUpload.class.php, variable KT_fileUpload::$errorType error message to be displayed as User Error
$escapeMethod
in file tNG_Email.class.php, variable tNG_Email::$escapeMethod escap method to use in KT_dynamicvalue() default 'none';
$executeSubSets
in file tNG_multipleUpdate.class.php, variable tNG_multipleUpdate::$executeSubSets if is false will check set ther error on each transaction and will reset the Number of transactions executed successfully
$executeSubSets
in file tNG_import.class.php, variable tNG_import::$executeSubSets if is false will check set the error on each transaction and will reset the Number of transactions executed successfully
$executeSubSets
in file tNG_multipleInsert.class.php, variable tNG_multipleInsert::$executeSubSets if is false will check set ther error on each transaction and will reset the Number of transactions executed successfully
$exportRecordset
in file tNG.class.php, variable tNG::$exportRecordset Wether the current implementation exports a recordset
EndContent
in file tNG_EmailPageSection.class.php, method tNG_EmailPageSection::EndContent() Finish the buffering of the output; Save it to content and send it to the browser; Remove any <script> tags and keep just the content of the <body> tag if exists.
errorIfExists
in file tNG_CheckTableField.class.php, method tNG_CheckTableField::errorIfExists() setter. if it will be throw error in case the records exists;
in file tNG_RestrictAccess.class.php, method tNG_RestrictAccess::Execute() Main method of the class. grant the access to the page or make the redirect page setted in control panel
Execute
in file tNG_FileUpload.class.php, method tNG_FileUpload::Execute() the main method, execute the code of the class;
Execute
in file tNG_ThrowError.class.php, method tNG_ThrowError::Execute() Main method of the class. Execute the code
Execute
in file tNG_CheckDetailRecord.class.php, method tNG_CheckDetailRecord::Execute() execute method of the class; check if detail record exists and return null or error;
in file tNG_CheckMasterRecord.class.php, method tNG_CheckMasterRecord::Execute() execute method of the class; check if master record exists and return null or error;
Execute
in file tNG_Email.class.php, method tNG_Email::Execute() the main method, execute the code of the class;
in file tNG_DeleteDetailRec.class.php, method tNG_DeleteDetailRec::Execute() contruct the SQL and execute it. it is using as value for the field the primarey key value from the transaction;
Execute
in file tNG_EmailPageSection.class.php, method tNG_EmailPageSection::Execute() the main method, execute the code of the class;
Execute
in file tNG_EmailRecordset.class.php, method tNG_EmailRecordset::Execute() the main method, execute the code of the class;
Execute
in file tNG_FileDelete.class.php, method tNG_FileDelete::Execute() the main method, execute the code of the class
Execute
in file tNG_CheckUnique.class.php, method tNG_CheckUnique::Execute() execute method of the class; check if record exists and return null or error;
executeTransaction
in file tNG_fields.class.php, method tNG_fields::executeTransaction() Evaluates the columns values then executes the Transaction
executeTransaction
in file tNG.class.php, method tNG::executeTransaction() Executes the Transaction Tests the STARTER triggers, executes the BEFORE triggers, the transaction SQL, the AFTER triggers and the END triggers. If error occurs, it executes the ERROR triggers and exits.
in file tNG_import.class.php, method tNG_import::getErrorMsg() Gets the error message Adds the import specific messages, then calls the parent getErrorMsg method.
in file tNG_fields.class.php, method tNG_fields::getFakeRecordset() Creates a fake recordset from the given columns associative array This function is called on error or for the insert default values.
in file tNG_multipleDelete.class.php, method tNG_multipleDelete::getLocalRecordset() No recordset is created when multiple delete is executed; thus the calling of this method set an error;
in file tNG_import.class.php, variable tNG_import::$hasHeader Set to true if the import transaction uses headers to describe the data columns
$headers
in file tNG_import.class.php, variable tNG_import::$headers List of headers (column names) used to map data to columns If the import transaction doesn't use headers, then this structure is empty.
hasError
in file KT_Shell.class.php, method KT_shell::hasError() check if an error was setted.
hasError
in file KT_Folder.class.php, method KT_folder::hasError() check if an error was setted.
hasError
in file KT_File.class.php, method KT_file::hasError() check if an error was setted.
in file KT_functions.inc.php, function KT_format2newDF() Convert a date format from an old type date format %Y-%m-%d into new ones;
KT_format2outRule
in file KT_functions.inc.php, function KT_format2outRule() Removes extra chars from a date format, in order to obtain a parsable definition;
KT_format2rule
in file KT_functions.inc.php, function KT_format2rule() Splits a date format into a chunked representation
KT_formatDate
in file KT_functions.inc.php, function KT_formatDate() Converts a date/time/datetime from database format to screen format
KT_formatDate2DB
in file KT_functions.inc.php, function KT_formatDate2DB() Converts a date/time/datetime from screen format to database format
KT_FormatForList
in file KT_functions.inc.php, function KT_FormatForList() Return a strip string (without html tags and no longer than $maxchars);
KT_getDaysOfMonth
in file KT_functions.inc.php, function KT_getDaysOfMonth() Return the last day of the given month for the given year;
KT_getFullUri
in file KT_functions.inc.php, function KT_getFullUri() Return the URL of the page in which the script is called and the query string if exists.
KT_getInternalTimeFormat
in file KT_functions.inc.php, function KT_getInternalTimeFormat() Converts mm to ii in time formats and sets globals
KT_getPHP_SELF
in file KT_functions.inc.php, function KT_getPHP_SELF() Return the current page name and the query string if exists.
KT_getRealValue
in file KT_functions.inc.php, function KT_getRealValue() Compiles a method and a reference into a value
KT_getReplacementsFromMessage
in file KT_functions.inc.php, function KT_getReplacementsFromMessage() Parse the string for values like {...} and return an array with all the conted from {};
KT_getResource
in file KT_ResourcesFunctions.inc.php, function KT_getResource() Getter the resource value;
KT_getServerName
in file KT_functions.inc.php, function KT_getServerName() Return the server name on which the page reside.
KT_getSiteRoot
in file KT_functions.inc.php, function KT_getSiteRoot() Return the real path of the folder where includes folder resides ;
KT_getUri
in file KT_functions.inc.php, function KT_getUri() Return the URL of the page in which the script is called.
KT_getUriFolder
in file KT_functions.inc.php, function KT_getUriFolder() Return the folder of the page in which the script is called.
KT_image
in file KT_Image.class.php, method KT_image::KT_image() Constructor. Set default values for some variables
KT_image
in file KT_Image.class.php, class KT_image manipulate images;
KT_isValidDate
in file KT_functions.inc.php, function KT_isValidDate() Validates a date array
KT_makeIncludedURL
in file KT_functions.inc.php, function KT_makeIncludedURL() Return $GLOBALS['KT_REL_PATH'] in front of the URL if the URL si not absolute and $GLOBALS['KT_REL_PATH'] is setted;
KT_pathinfo
in file KT_functions.inc.php, function KT_pathinfo() Extracts parts of a file (dirname, basename, filename, extension)
KT_realpath
in file KT_functions.inc.php, function KT_realpath() Transforms a path into its absolute value
in file KT_Recordset.class.php, class KT_Recordset The Recordset class
KT_redir
in file KT_functions.inc.php, function KT_redir() Make the redirect on server side;
KT_Rel2AbsUrl
in file KT_functions.inc.php, function KT_Rel2AbsUrl() Try to transform a relative path in an absolut one;
KT_SessionKtBack
in file KT_functions.inc.php, function KT_SessionKtBack() Add the URL to the $_SESSION['KT_backArr'] array if this array not exist; If the array $_SESSION['KT_backArr'] exist check if the last entry is identical with the argument; If this 2 url are identical the old one is replaced with the new one, if not the new one is append it.
KT_session_start
in file KT_functions.inc.php, function KT_session_start() Start the session if it is not started and put in session the values from _SESSION[md5($siteroot)] ;
KT_setDbType
in file KT_functions.inc.php, function KT_setDbType() Set the database type and server model in $GLOBALS and return the database type;
KT_setFilePermissions
in file KT_functions.inc.php, function KT_setFilePermissions() Set the the permissions for folder/file setted in GLOBALS['KT_folder_mode']/GLOBALS['KT_file_mode'];
KT_setServerVariables
in file KT_functions.inc.php, function KT_setServerVariables() Try to set certain _SERVER vars if not setted from _ENV vars;
KT_setSessionVar
in file KT_functions.inc.php, function KT_setSessionVar() Put in the $_SESSION[$siteroot][$var] key the $_SESSION[$var] value ;
KT_shell
in file KT_Shell.class.php, method KT_shell::KT_shell() Constructor. Doing nothing.
KT_shell
in file KT_Shell.class.php, class KT_shell Execute commands;
KT_stripslashes
in file KT_functions.inc.php, function KT_stripslashes() Wrapper for stripslashes; it is used as callbackfunction;
KT_stripTime
in file KT_functions.inc.php, function KT_stripTime() Strips empty values from time expressions
in file KT_FileUpload.class.php, variable KT_fileUpload::$oldFileName Specifies the old file name that is allowed to be overwritten in case that its name is the same as the file to be uploaded (fileName)
in file tNG_fields.class.php, method tNG_fields::parseSQLError() Parses the SQL error Calls the parent function then sets the error to a specific column if possible.
in file tNG_insert.class.php, method tNG_insert::postExecuteSql() This function is called once the transaction SQL was actually executed And only if the execution was succesffully. On insert, it sets the primary key value if it is not set.
postExecuteSql
in file tNG.class.php, method tNG::postExecuteSql() This function is called once the transaction SQL was actually executed
in file tNG_multiple.class.php, method tNG_multiple::registerConditionalTrigger() Register a trigger to the current transaction Or to the multiple transactions. The STARTER and the END triggers are registered to self, and the other triggers are sent to the multiple transactions.
registerTrigger
in file tNG.class.php, method tNG::registerTrigger() Register the trigger to transaction;
registerTrigger
in file tNG_multiple.class.php, method tNG_multiple::registerTrigger() Register a trigger to the current transaction Or to the multiple transactions. The STARTER and the END triggers are registered to self, and the other triggers are sent to the multiple transactions.
removeScript
in file tNG_Email.class.php, method tNG_Email::removeScript() Remove the <script></script> or <script > tags from the
in file tNG_fields.class.php, method tNG_fields::saveData() Retrieve and store the saved values from database;
searchCss
in file tNG_EmailPageSection.class.php, method tNG_EmailPageSection::searchCss() Parse the content of the $file and keep any CSS found in; If the encoding is not setted and found one in the text, it will use it.
in file KT_Email.class.php, method KT_Email::setCrlf() Setter. set the end of line chars
setCSVUniqueKey
in file tNG_CSVImport.class.php, method tNG_CSVImport::setCSVUniqueKey() Sets the unique key column for the CSV import Calls the parent setUniqueKey method.
in file tNG_ImageUpload.class.php, method tNG_ImageUpload::setResize() setter. set the sizes for the resize and proportional resize flag;
setSource
in file tNG_XMLImport.class.php, method tNG_XMLImport::setSource() Sets the source of the XML data Calls the parent setSource method and also registers an upload file STARTER trigger.
setSource
in file tNG_import.class.php, method tNG_import::setSource() Sets the source of the import data
setSource
in file tNG_CSVImport.class.php, method tNG_CSVImport::setSource() Sets the source of the CSV data Calls the parent setSource method and also registers an upload file STARTER trigger.
setSQL
in file tNG.class.php, method tNG::setSQL() Sets the transaction SQL statement
setStarted
in file tNG.class.php, method tNG::setStarted() Sets the started property (the starter triggers are the ones that call this function)
in file tNG_Redirect.class.php, method tNG_Redirect::setURL() setter. set the URL to be used for redirect
setURLSource
in file tNG_XMLImport.class.php, method tNG_XMLImport::setURLSource() Sets the URL source of the XML data (if the source is a remote URL) Calls the parent setSource method.
in file tNG_functions.inc.php, function tNG_activationLogin() Try to activate an user and login in if the random key and user id exists;
tNG_CheckDetailRecord
in file tNG_CheckDetailRecord.class.php, class tNG_CheckDetailRecord This the CheckDetailRecord trigger; extends the tNG_CheckTableField class; Checks if exists a master record; it is used inside of a trigger registered to a transaction.
in file tNG_CheckMasterRecord.class.php, class tNG_CheckMasterRecord This the CheckMasterRecord trigger; extends the tNG_CheckTableField class; Checks if a master record exists; it is used inside of a trigger registered to a transaction.
tNG_CheckTableField
in file tNG_CheckTableField.class.php, class tNG_CheckTableField Represents the base class for checkDetails and checkMaster classes;
tNG_CheckTableField
in file tNG_CheckTableField.class.php, method tNG_CheckTableField::tNG_CheckTableField() Constructor. Sets the reference to the transaction in which the trigger is used.
tNG_CheckUnique
in file tNG_CheckUnique.class.php, class tNG_CheckUnique This the CheckUnique trigger; extends the tNG_CheckTableField class; Checks if a value already exists in table.
tNG_CheckUnique
in file tNG_CheckUnique.class.php, method tNG_CheckUnique::tNG_CheckUnique() Constructor. Sets the reference to the transaction in which the trigger is used.
in file tNG_LinkedTrans.class.php, class tNG_LinkedTrans class that make link transaction possible;
tNG_log
in file tNG_log.class.php, class tNG_log This class keep the log of the execution of a transaction;
tNG_login
in file tNG_login.class.php, method tNG_login::tNG_login() Constructor. Sets the connection, the database name and other default values.
tNG_login
in file tNG_login.class.php, class tNG_login This class is the "login transaction" class contructed over the "custom" transaction class.
tNG_Logout
in file tNG_Logout.class.php, class tNG_Logout the class that handle the logout of the user;
tNG_ManyToMany
in file tNG_ManyToMany.class.php, method tNG_ManyToMany::tNG_ManyToMany() Constructor. set tNG object and default values for other variables
tNG_ManyToMany
in file tNG_ManyToMany.class.php, class tNG_ManyToMany many to many class;
tNG_multiple
in file tNG_multiple.class.php, class tNG_multiple This class adds a "multiple" layer to the tNG_fields class.
tNG_multipleDelete
in file tNG_multipleDelete.class.php, method tNG_multipleDelete::tNG_multipleDelete() Constructor. Sets the connection, the database name and other default values.
tNG_multipleDelete
in file tNG_multipleDelete.class.php, class tNG_multipleDelete This class is the "delete" implementation of the tNG_multiple class.
tNG_multipleInsert
in file tNG_multipleInsert.class.php, class tNG_multipleInsert This class is the "insert" implementation of the tNG_multiple class.
tNG_multipleInsert
in file tNG_multipleInsert.class.php, method tNG_multipleInsert::tNG_multipleInsert() Constructor. Sets the connection, the database name and other default values.
tNG_multipleUpdate
in file tNG_multipleUpdate.class.php, class tNG_multipleUpdate This class is the "update" implementation of the tNG_multiple class.
tNG_multipleUpdate
in file tNG_multipleUpdate.class.php, method tNG_multipleUpdate::tNG_multipleUpdate() Constructor. Sets the connection, the database name and other default values.
in file tNG_SetOrderField.class.php, class tNG_SetOrderField class that handle the order behavior for a table (a column that is used exclusively to order the table records);
tNG_showDynamicImage
in file tNG_functions.inc.php, function tNG_showDynamicImage() Creates and returns the image relative path using the dynamic folder and dynamic file expressions
tNG_showDynamicThumbnail
in file tNG_functions.inc.php, function tNG_showDynamicThumbnail() Creates and returns the relative path of an image thumbnail using the dynamic folder and dynamic file expressions
tNG_ThrowError
in file tNG_ThrowError.class.php, method tNG_ThrowError::tNG_ThrowError() Constructor. set the transaction and put default values for other vars
tNG_ThrowError
in file tNG_ThrowError.class.php, class tNG_ThrowError tNG_ThrowError class;
tNG_update
in file tNG_update.class.php, class tNG_update This class is the "update" implementation of the tNG_fields class.
tNG_update
in file tNG_update.class.php, method tNG_update::tNG_update() Constructor. Sets the connection, the database name and other default values.
in file tNG_UserLoggedIn.class.php, class tNG_UserLoggedIn handle the show if user log in (with proper levels) behavior;
tNG_XMLImport
in file tNG_XMLImport.class.php, method tNG_XMLImport::tNG_XMLImport() Constructor. Sets the connection, the database name and other default values.
tNG_XMLImport
in file tNG_XMLImport.class.php, class tNG_XMLImport This class is the "XML" implementation of the tNG_import class.
Trigger_Activation_Check
in file tNG_defTrigg.inc.php, function Trigger_Activation_Check() Verify if the user is activated or if it can be acitvate; if so it will trigger an error;
Trigger_Activation_Login
in file tNG_defTrigg.inc.php, function Trigger_Activation_Login() set the kt_login_redirect value in the transaction
in file tNG_defTrigg.inc.php, function Trigger_Default_saveData() Saves the SQL data to be altered in a local variable ($savedData)
Trigger_Default_Starter
in file tNG_defTrigg.inc.php, function Trigger_Default_Starter() Default Starter trigger Verifies if additional parameters are set and if not invalidate the transaction this is usefull for verifying some global variables.
Trigger_ForgotPassword_AddDynamicFields
in file tNG_defTrigg.inc.php, function Trigger_ForgotPassword_AddDynamicFields() Add these fields/values to transaction: kt_login_user, kt_login_password, kt_login_page, kt_login_redirect;
Trigger_ForgotPassword_CheckEmail
in file tNG_defTrigg.inc.php, function Trigger_ForgotPassword_CheckEmail() Verify if the email address entered by the user exists, the account is active and then add to transaction a new password value for the password field;
Trigger_ForgotPassword_RemoveDynamicFields
in file tNG_defTrigg.inc.php, function Trigger_ForgotPassword_RemoveDynamicFields() Unset these fields from the transaction: kt_login_user, kt_login_password, kt_login_redirect;
Trigger_Login_AddDynamicFields
in file tNG_defTrigg.inc.php, function Trigger_Login_AddDynamicFields() Add the login user related columns setted on control panel to the transaction;
Trigger_Login_AutoLogin
in file tNG_defTrigg.inc.php, function Trigger_Login_AutoLogin() Unset existent cookie related to user login and set them for future use;
Trigger_Login_CheckLogin
in file tNG_defTrigg.inc.php, function Trigger_Login_CheckLogin() Login trigger. Check if the user has the proper credentials or autolog on the user based on the cookie;
in file tNG_defTrigg.inc.php, function Trigger_Login_SaveDataToSession() Register the values set in control panel related to user login to session;
Trigger_Registration_AddDynamicFields
in file tNG_defTrigg.inc.php, function Trigger_Registration_AddDynamicFields() Add some fields to a login transaction, if they are defined in control panel;
in file tNG_defTrigg.inc.php, function Trigger_Registration_PrepareActivation() add activation column and random key column if these are set in the control panel;
in file tNG_defTrigg.inc.php, function Trigger_UpdatePassword_AddPassword() If the password column was removed from the transaction fields, it will set the column/value again in transaction;
in file tNG_defTrigg.inc.php, function Trigger_UpdatePassword_EncryptPassword() Verify if the password is kept encrypted in DB; if so save the value in a kt_login_password and then overwrite the value of the password from the transaction fields with the ecrypted one;
in file tNG_defTrigg.inc.php, function Trigger_UpdatePassword_RemovePassword() Save the value in a kt_login_password and remove the password field from the transaction fields;
Trigger_UpdatePassword_RestorePassword
in file tNG_defTrigg.inc.php, function Trigger_UpdatePassword_RestorePassword() Set the value for the password field from transaction to the value saved in kt_login_password;