Transaction Engine 3 Application Programming Interface
[ class tree: Transaction Engine 3 Application Programming Interface ] [ index: Transaction Engine 3 Application Programming Interface ] [ all elements ]

Procedural File: tNG_functions.inc.php

Source Location: /tNG3/tNG_functions.inc.php



Page Details:









NXT_getResource [line 356]

string NXT_getResource( string $resourceName)

Return the resource for NeXTensio



Tags:

return:  the value for the resource name


Parameters

string   $resourceName   the resource name
[ Top ]



tNG_activationLogin [line 289]

string tNG_activationLogin( object &$connection)

Try to activate an user and login in if the random key and user id exists;



Tags:

access:  public


Parameters

object   $connection   object
[ Top ]



tNG_clearSessionVars [line 337]

void tNG_clearSessionVars( )



[ Top ]



tNG_cookieLogin [line 316]

nothing tNG_cookieLogin( object &$connection)

try to log in an user using the cookies;



Parameters

object   $connection   object;
[ Top ]



tNG_downloadDynamicFile [line 13]

string tNG_downloadDynamicFile( string $siteRootPath, string $dynamicFolder, string $dynamicFileName)

Set the necessary information in SESSION for a download;



Tags:

return:  path to the tNG file that handling the download
access:  public


Parameters

string   $siteRootPath  
string   $dynamicFolder   the name of the folder
string   $dynamicFileName   the name of the file
[ Top ]



tNG_encryptString [line 278]

string tNG_encryptString( string $plain_string)

Return the encripted string useing MD5();



Tags:

return:  encripted string


Parameters

string   $plain_string  
[ Top ]



tNG_fieldHasChanged [line 157]

boolean tNG_fieldHasChanged( string $fieldName, any $fieldValue)

Checks if the value for a given expression changed



Tags:

return:  true if the field value has changed false if not


Parameters

string   $fieldName   unique identifier of the expression to be checked for change
any   $fieldValue   the value of the expression to be checked
[ Top ]



tNG_fileExists [line 64]

boolean tNG_fileExists( string $dynamicFolder, string $dynamicFileName)

Checks if a file specified by the dynamic folder and dynamic file expressions exists



Tags:

return:  true if the file exists, false if the file does not exist


Parameters

string   $dynamicFolder   the folder name (may be a tNG dynamic expression)
string   $dynamicFileName   the file name (may be a tNG dynamic expression)
[ Top ]



tNG_generateRandomString [line 259]

string tNG_generateRandomString( string $len)

Return a random string



Tags:

return:  random string
access:  public


Parameters

string   $len   length of the random string
[ Top ]



tNG_getEscapedStringFromMessage [line 167]

void tNG_getEscapedStringFromMessage( mixed &$string)



[ Top ]



tNG_getRememberMePath [line 222]

string tNG_getRememberMePath( )

Session functions

try to match $tNGinc_path into $absPath_running_script and get the remainings ( remainings = the relative path of the current file to the root of the site)




Tags:

access:  public


[ Top ]



tNG_showDynamicImage [line 86]

string tNG_showDynamicImage( mixed $siteRootPath, string $dynamicFolder, string $dynamicFileName)

Creates and returns the image relative path using the dynamic folder and dynamic file expressions



Tags:

return:  the relative path to the image file, empty if the dynamicFileName is empty


Parameters

string   $dynamicFolder   the folder name (may be a tNG dynamic expression)
string   $dynamicFileName   the file name (may be a tNG dynamic expression)
[ Top ]



tNG_showDynamicThumbnail [line 112]

string tNG_showDynamicThumbnail( mixed $siteRootPath, string $dynamicFolder, string $dynamicFileName, integer $width, integer $height, boolean $proportional)

Creates and returns the relative path of an image thumbnail using the dynamic folder and dynamic file expressions



Tags:

return:  the relative path to the image file, empty if the dynamicFileName is empty or if the thumbnail could ne be created


Parameters

string   $dynamicFolder   the folder name (may be a tNG dynamic expression)
string   $dynamicFileName   the file name (may be a tNG dynamic expression)
integer   $width   the width of the thumbnail to be created
integer   $height   the width of the thumbnail to be created
boolean   $proportional   specify if the thumbnail preserve the proportions of the original image
[ Top ]




Documentation generated on Tue, 6 Dec 2005 15:11:45 +0200 by phpDocumentor 1.3.0RC3