Class: base_cronjobs

Quellcode Position: Program_Root/base_cron.php

Class base_cronjobs

Class Overview
Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_db

base_db::$dbobj_name
base_db::$dbsocket
base_db::$db_obj
base_db::$msgs

Abgeleitet von base_db

base_db::createDBObject()
Create data base object(PEAR)
base_db::db_addField()
Interface function: insert field
base_db::db_addIndex()
Interface function: insert index
base_db::db_changeField()
Interface function: change field
base_db::db_changeIndex()
Interface function: change index
base_db::db_connect()
Connect to data base object
base_db::db_createTable()
Interface function: create given table
base_db::db_deleteRecord()
Interface function: delete database record
base_db::db_deleteRecords()
Interface function: delete records
base_db::db_dropField()
Interface function: delete field
base_db::db_dropIndex()
Interface function: delete index
base_db::db_emptyTable()
Interface function: delete ALL data in this table
base_db::db_getSQLSource()
DBMS spezific SQL source
base_db::db_insertRecord()
Interface function: create new record, return ID, set default values
base_db::db_insertRecords()
Interface function: insert records
base_db::db_query()
Interface function: submit database query
base_db::db_queryFmt()
Interface function: escape params and submit query
base_db::db_queryTableNames()
Interface function: delete all table names
base_db::db_queryTableStructure()
Interface function: table structur returned as array
base_db::db_updateRecord()
Interface function: change data record
base_db::db_updateRecords()
Interface function: change data records
base_db::escapeStr()
Store string in sql for use

Abgeleitet von base_object

base_object::addmsg()
Adds a message in the message object.
base_object::createPluginObject()
Create plugin object
base_object::debug()
Show the debug of the variable &$var
base_object::encodeQueryString()
Encode query string
base_object::escapeForFilename()
Escape chars in a string to use it in a filename
base_object::getAbsoluteURL()
Return absolute URL
base_object::getBaseLink()
Get base link
base_object::getBasePath()
get base path to current script
base_object::getLink()
Get link
base_object::getSessionValue()
base_object::getWebLink()
Get web link
base_object::getWebMediaLink()
Get web media link
base_object::includePluginFile()
Include plugin file
base_object::initializeParams()
Parameter initialisation
base_object::initializeSessionParam()
Initialisation of session-parameter
base_object::logMsg()
Log events
base_object::parseRequestURI()
Parse request URI to filter data out of it
base_object::setSessionValue()
base_object::stripslashes()
base_object::_gt()
Phrasetranslator - Fetch translation for all phrase
base_object::_gtf()
Phrasetranslator - Fetch translation of one phrase and insert variable
base_object::_gtfile()
Phrases - Locate files

Properties Summary
mixed   $cronjobs  
mixed   $dburi  
mixed   $paramname  
mixed   $params  
mixed   $table_cronjobs  
mixed   $table_modules  

Method Summary
mixed   activate()   Activate cronjob
boolean   check()   Check cronjob data
mixed   checkCronJobData()   Check conjob data
integer   checkTimeFrame()   Check time frame
mixed   create()   Create cronjob
mixed   deactivate()   Deactivate Cronjob
mixed   decodeISODatetimeStr()   Decode ISO Datetime String
mixed   delete()   Delete cronjob
void   execute()   Basic method for handling parameters
void   executeJob()  
void   getActivateFormXML()   Get activate formular XML
void   getButtonsXML()   Get Buttons XML
void   getCronModuleEdit()   edit field for time module
void   getDelConfirmXML()   Get delete confirm XML
void   getJobModuleEdit()   Get job module edit
void   getListXML()   Get list XML
void   getModuleEdit()   Get module edit
mixed   getNext()   Get next cronjob
integer   getNextExecute()   Get next execution
void   getPropertyFormXML()   Get property formular XML
void   getPropertyListXML()   Get property list XML
void   getToolbarXML()   Get toolbar XML
void   getXML()   Get XML for output
void   initialize()   Initialisize function
boolean   load()   Load function
void   loadList()   Load list
void   loadModulesList()   Load modules list
mixed   save()   Save changes of cronjob
mixed   saveCronData()   Save cronjob data
mixed   saveJobData()   Save cronjob job data
mixed   setActive()   Set active
mixed   updateActive()   Update active

Properties
mixed   $cronjobs = NULL [Zeile 29]

mixed   $dburi = PAPAYA_DB_URI [Zeile 25]
Neudefinition von:
base_db::$dburi
Database URI

mixed   $paramname = cron [Zeile 23]

mixed   $params = NULL [Zeile 22]

mixed   $table_cronjobs = PAPAYA_DB_TBL_CRONJOBS [Zeile 26]

mixed   $table_modules = PAPAYA_DB_TBL_MODULES [Zeile 27]

Methods
activate  [Zeile 167]

  mixed activate( integer $nextexec, [integer $lastexec = 0], [mixed $id = NULL]  )

Activate cronjob

Parameters:
integer   $nextexec: 
integer   $lastexec:  optional, default value 0
mixed   $id:  optional, default value NULL

API Tags:
Access:  public


check  [Zeile 238]

  boolean check( )

Check cronjob data


API Tags:
Access:  public


checkCronJobData  [Zeile 779]

  mixed checkCronJobData( )

Check conjob data


API Tags:
Return:  false or array
Access:  public


checkTimeFrame  [Zeile 831]

  integer checkTimeFrame( string $datetime  )

Check time frame

Parameters:
string   $datetime: 

API Tags:
Access:  public


create  [Zeile 202]

  mixed create( )

Create cronjob


API Tags:
Access:  public


deactivate  [Zeile 187]

  mixed deactivate( [mixed $id = NULL], [integer $lastexec = 0]  )

Deactivate Cronjob

Parameters:
mixed   $id:  optional, default value NULL
integer   $lastexec:  optional, default value 0

API Tags:
Access:  public


decodeISODatetimeStr  [Zeile 279]

  mixed decodeISODatetimeStr( string $isostr  )

Decode ISO Datetime String

Parameters:
string   $isostr: 

API Tags:
Access:  public


delete  [Zeile 228]

  mixed delete( )

Delete cronjob


API Tags:
Access:  public


execute  [Zeile 334]

  void execute( )

Basic method for handling parameters


API Tags:
Access:  public


executeJob  [Zeile 386]

  void executeJob( mixed $id  )



getActivateFormXML  [Zeile 847]

  void getActivateFormXML( )

Get activate formular XML


API Tags:
Access:  public


getButtonsXML  [Zeile 680]

  void getButtonsXML( )

Get Buttons XML


API Tags:
Access:  public


getCronModuleEdit  [Zeile 728]

  void getCronModuleEdit( )

edit field for time module


API Tags:
Access:  public


getDelConfirmXML  [Zeile 658]

  void getDelConfirmXML( )

Get delete confirm XML


API Tags:
Access:  public


getJobModuleEdit  [Zeile 741]

  void getJobModuleEdit( )

Get job module edit


API Tags:
Access:  public


getListXML  [Zeile 524]

  void getListXML( )

Get list XML


API Tags:
Access:  public


getModuleEdit  [Zeile 757]

  void getModuleEdit( string $filename, string $classname, mixed $guid, array $data, adr $savefunc  )

Get module edit

Parameters:
string   $filename: 
string   $classname: 
array   $data: 
adr   $savefunc: 

API Tags:
Access:  public


getNext  [Zeile 96]

  mixed getNext( )

Get next cronjob


API Tags:
Access:  public


getNextExecute  [Zeile 804]

  integer getNextExecute( object &$cron_module  )

Get next execution

Parameters:
object   &$cron_module: 

API Tags:
Access:  public


getPropertyFormXML  [Zeile 549]

  void getPropertyFormXML( )

Get property formular XML


API Tags:
Access:  public


getPropertyListXML  [Zeile 621]

  void getPropertyListXML( )

Get property list XML


API Tags:
Access:  public


getToolbarXML  [Zeile 700]

  void getToolbarXML( )

Get toolbar XML


API Tags:
Access:  public


getXML  [Zeile 492]

  void getXML( )

Get XML for output


API Tags:
Access:  public


initialize  [Zeile 37]

  void initialize( [mixed $paramname = NULL]  )

Initialisize function

Parameters:
mixed   $paramname:  optional, default value NULL

API Tags:
Access:  public


load  [Zeile 56]

  boolean load( integer $id  )

Load function

Parameters:
integer   $id: 

API Tags:
Access:  public


loadList  [Zeile 295]

  void loadList( )

Load list


API Tags:
Access:  public


loadModulesList  [Zeile 312]

  void loadModulesList( )

Load modules list


API Tags:
Access:  public


save  [Zeile 116]

  mixed save( )

Save changes of cronjob


API Tags:
Access:  public


saveCronData  [Zeile 135]

  mixed saveCronData( array $data  )

Save cronjob data

Parameters:
array   $data: 

API Tags:
Access:  public


saveJobData  [Zeile 150]

  mixed saveJobData( array $data  )

Save cronjob job data

Parameters:
array   $data: 

API Tags:
Access:  public


setActive  [Zeile 457]

  mixed setActive( )

Set active


API Tags:
Access:  public


updateActive  [Zeile 476]

  mixed updateActive( [mixed $id = NULL], [integer $lastexec = 0]  )

Update active

Parameters:
mixed   $id:  optional, default value NULL
integer   $lastexec:  optional, default value 0

API Tags:
Access:  public