ARTICLEURL |
Application - function articleURL |
Arguments:
Name |
Required |
Type |
Default |
articleTitle |
Optional |
Any |
|
articleId |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
BASECATEGORYURL |
Application - function baseCategoryURL |
Arguments:
Name |
Required |
Type |
Default |
categoryName |
Optional |
Any |
|
categoryId |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
CALLFEDEX |
Application - function CallFedex |
Arguments:
Name |
Required |
Type |
Default |
Body |
Required |
any |
|
useURL |
Required |
any |
|
|
ReturnType: |
any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
CATEGORYURL |
Application - function categoryURL |
Arguments:
Name |
Required |
Type |
Default |
categoryName |
Optional |
Any |
|
categoryIds |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
CHECKSCAN |
Application - function checkScan |
Arguments: | none |
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
********************************************************************************************************* * Function: checkScan * Trying to catch those who scan and push multiple instances simultaneously. HRM4010 in LA is worst offender. * First: Is this someone who is monitored? (checked in doScan) * Second: Does session.iProdPush exist? Special session struct for those who are monitored. * Third: Does doPush exists and is it TRUE. Or, is there an active pushID? * For now, sending myself an email with all the info i can send. Eventually, when process is refined, and * well tested, they will receive the commented message below and page execution will abort. * It would be entirely possible for a crash to happen or timeout and for them to wind up in this condition too. * The messaging should cover those times as well. ************************************************************************************************************ * Revision History: ********************************************************************************************************** |
Description: |
|
|
|
CLEARLOCALFILES |
Application - function clearLocalFiles |
Arguments:
Name |
Required |
Type |
Default |
siteID |
Required |
numeric |
|
|
ReturnType: |
void
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
CLEARSESSIONVARS |
Application - function clearSessionVars |
Arguments: | none |
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
********************************************************************************************************* * Function: clearSessionVars * Purpose: Wipe out a couple session vars when there is an error or push has finished. ************************************************************************************************************ * Revision History: * PH: 12.03.2012 Changed arg requirement. If not sent now, just clear the vars, no email. Also, deleting * entire iProdPush key instead of individuals. * PH: 12.26.2012 Removed the requirement of the arg strMsg. If arg is passed, it will be available in * the arguments array as Arguments[1] * PH: 08.14.2013 Remove debug mailer and commented code no longer needed ********************************************************************************************************** |
Description: |
|
|
|
COLLECTORSCORNERURL |
Application - function collectorsCornerURL |
Arguments: | none |
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
CREATEFILEDIRECTORY |
Application - function CreateFileDirectory |
Arguments:
Name |
Required |
Type |
Default |
path |
Required |
string |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
DISPLAYSTATUS |
Application - function DisplayStatus |
Arguments:
Name |
Required |
Type |
Default |
status |
Required |
string |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
true |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
DIVERSDENCATEGORYURL |
Application - function diversDenCategoryURL |
Arguments:
Name |
Required |
Type |
Default |
categoryName |
Optional |
Any |
|
categoryId |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
DIVERSDENINDEXURL |
Application - function diversDenIndexURL |
Arguments: | none |
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
DIVERSDENPRODUCTURL |
Application - function diversDenProductURL |
Arguments:
Name |
Required |
Type |
Default |
productName |
Optional |
Any |
|
productId |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
DOABORT |
Application - function doAbort |
Arguments: | none |
ReturnType: |
void
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
Simple cfabort because cf8 doesn't support that, soon in cf10 |
Description: |
|
|
|
DOSCAN |
Application - function doScan |
Arguments:
Name |
Required |
Type |
Default |
pushTypeID |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
********************************************************************************************************* * Function: doScan - Kind of like main(): Now that we're getting rid of javascript in the files we * can possibly do more in functions. This was all in push_code_scan.cfm ************************************************************************************************************ * Revision History: * PH: 12.13.2012 New * PH: 08.14.2013 Removed test for my userid if scan is already in progress ********************************************************************************************************** |
Description: |
|
|
|
FEDEXDISPLAY |
Application - function fedexDisplay |
Arguments:
Name |
Required |
Type |
Default |
objForm |
Required |
struct |
|
objFedex |
Required |
struct |
|
actionPage |
Required |
any |
|
device |
Optional |
any |
|
|
ReturnType: |
any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
true |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
FEDEXMESSAGE |
Application - function FedexMessage |
Arguments:
Name |
Required |
Type |
Default |
MessageId |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
FORMATFEDEXADDRESSVALIDATIONXML |
Application - function FormatFedexAddressValidationXML |
Arguments: | none |
ReturnType: |
any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
GETCOMMONSTRDEBUG |
Application - function getCommonStrDebug |
Arguments: | none |
ReturnType: |
string
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
TRUE |
DisplayName: |
|
Hint: |
Gather common info needed in emailers and dumps |
Description: |
|
|
|
GETDESTINATIONSERVERS |
Application - function getDestinationServers |
Arguments:
Name |
Required |
Type |
Default |
nSiteID |
Required |
numeric |
|
|
ReturnType: |
query
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
Get destination servers to push files to. |
Description: |
|
|
|
GETFILES |
Application - function GetFiles |
Arguments:
Name |
Required |
Type |
Default |
qListing |
Required |
query |
|
fileTypes |
Required |
string |
|
|
ReturnType: |
query
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
GETFOLDERS |
Application - function getfolders |
Arguments:
Name |
Required |
Type |
Default |
qlisting |
Required |
query |
|
|
ReturnType: |
query
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
Query the directory listing results for directories only. |
Description: |
|
|
|
GETPOSTALDISPLAYNAME |
Application - function getPostalDisplayName |
Arguments: | none |
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
GETPUSHID |
Application - function getPushID |
Arguments: | none |
ReturnType: |
numeric
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
true |
DisplayName: |
|
Hint: |
Insert into imis_cp_pushes and then get the pushid. |
Description: |
|
|
|
GETPUSHSTATUS |
Application - function getPushStatus |
Arguments: | none |
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
********************************************************************************************************* * Function: getPushStatus * Purpose: Gets status of the push from session.iProdPush.doPush, if defined ************************************************************************************************************ * Revision History: ********************************************************************************************************** |
Description: |
|
|
|
GETPUSHTYPE |
Application - function getPushType |
Arguments:
Name |
Required |
Type |
Default |
pushTypeID |
Required |
numeric |
|
|
ReturnType: |
query
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
true |
DisplayName: |
|
Hint: |
Query to get the push types. |
Description: |
|
|
|
GETPUSHTYPEINFO |
Application - function getPushTypeInfo |
Arguments:
Name |
Required |
Type |
Default |
nPushTypeID |
Required |
numeric |
|
|
ReturnType: |
query
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
Query to get the push types. |
Description: |
|
|
|
IMGPUSHEMAILER |
Application - function imgPushEmailer |
Arguments:
Name |
Required |
Type |
Default |
anyTypeArg |
Required |
any |
|
|
ReturnType: |
void
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
TRUE |
DisplayName: |
|
Hint: |
Emailer sent a dump(query/struct/other) or a status string during image scan and push. |
Description: |
|
|
|
INSERTAUTOPUSHFILE |
Application - function insertAutoPushFile |
Arguments:
Name |
Required |
Type |
Default |
path |
Required |
string |
|
lastmodified |
Required |
numeric |
|
siteid |
Required |
numeric |
|
pushid |
Required |
numeric |
|
|
ReturnType: |
void
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
INSERTPUSHDIRORFILE |
Application - function insertPushDirOrFile |
Arguments:
Name |
Required |
Type |
Default |
path |
Required |
string |
|
lastmodified |
Required |
numeric |
|
is_directory |
Required |
numeric |
|
siteid |
Required |
numeric |
|
local |
Required |
numeric |
|
pushid |
Required |
numeric |
|
|
ReturnType: |
void
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
ISGOODDIR |
Application - function isGoodDir |
Arguments:
Name |
Required |
Type |
Default |
subDir |
Optional |
Any |
|
ignoreDirs |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
********************************************************************************************************* * Function: isGoodDir * Purpose: This is a rewrite of IsGoodDirs. Not looping over a list, using listContains. * Check to see if a directory is in a list of ignore dirs. If matched, return FALSE, isGoodDir means * a directory we're going to traverse. We don't scan ignored directories. Root arg no longer required, * need only compare with subdir. ************************************************************************************************************ * Revision History: ********************************************************************************************************** |
Description: |
|
|
|
ISPUSHMONITORED |
Application - function isPushMonitored |
Arguments: | none |
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
********************************************************************************************************* * Function: isPushMonitored * Purpose: Users, push types, and push groups to monitor. Return boolean ************************************************************************************************************ * Revision History: * PH: 01.15.2013 Stopped the monitoring of Lin * PH: 08.14.2013 Removed test for my userid ********************************************************************************************************** |
Description: |
|
|
|
PRODUCTURL |
Application - function productURL |
Arguments:
Name |
Required |
Type |
Default |
productName |
Optional |
Any |
|
productId |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
PUSHHOLDIMAGESLIVE |
Application - function pushHoldImagesLive |
Arguments:
Name |
Required |
Type |
Default |
nPushTypeID |
Required |
numeric |
|
nSiteID |
Required |
numeric |
|
bDeleteFiles |
Optional |
boolean |
TRUE |
bFlushAkamai |
Optional |
boolean |
TRUE |
|
ReturnType: |
boolean
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
true |
DisplayName: |
|
Hint: |
The main process for pushing images from the temp holding area live |
Description: |
|
|
|
SCANDIRECTORY |
Application - function scanDirectory |
Arguments:
Name |
Required |
Type |
Default |
root |
Required |
string |
|
subDir |
Required |
string |
|
fileTypes |
Required |
string |
|
ignoreDirList |
Required |
string |
|
siteID |
Required |
numeric |
|
startDir |
Required |
string |
|
pushID |
Required |
numeric |
|
|
ReturnType: |
boolean
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
true |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
SLUGIFY |
Application - function slugify |
Arguments:
Name |
Required |
Type |
Default |
str |
Optional |
Any |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
VALIDATEADDRESS |
Application - function validateAddress |
Arguments:
Name |
Required |
Type |
Default |
Address1 |
Required |
string |
|
Address2 |
Required |
string |
|
city |
Required |
string |
|
state |
Required |
string |
|
zip |
Required |
string |
|
objFedex |
Required |
struct |
|
|
ReturnType: |
Any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
|
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
VALIDATERESPONSE |
Application - function ValidateResponse |
Arguments:
Name |
Required |
Type |
Default |
Response |
Required |
xml |
|
|
ReturnType: |
any
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
false |
DisplayName: |
|
Hint: |
|
Description: |
|
|
|
WRITETASKDIARY |
Application - function writeTaskDiary |
Arguments:
Name |
Required |
Type |
Default |
sUserName |
Required |
string |
|
sStartDir |
Required |
string |
|
lstServers |
Required |
string |
|
lstFiles |
Required |
string |
|
nTaskID |
Optional |
numeric |
3 |
|
ReturnType: |
boolean
|
Roles: |
|
Access: |
public |
Static: |
false |
Output: |
true |
DisplayName: |
|
Hint: |
The main process for pushing images from the temp holding area live |
Description: |
|
|
|