iTx Technologies offre gratuitement
cet espace pour SugarCRM !

title

Body

[fermer]

/modules/Schedulers/ -> Scheduler.php (sommaire)

(aucune description)

Taille du fichier: 1186 lignes (36 kb)
Inclus ou requis: 1 fois
Réferencé: 2 fois
Inclus ou requis: 1 fichier
 modules/Schedulers/_AddJobsHere.php

Définit la class 1 class

Scheduler:: (20 methods):
  Scheduler()
  fire()
  flushDeadJobs()
  fireQualified()
  checkPendingJobs2()
  checkPendingJobs()
  deriveDBDateTimes()
  handleIntervalType()
  setIntervalHumanReadable()
  setStandardArraysAttributes()
  parseInterval()
  cleanJobLog()
  checkCurl()
  displayCronInstructions()
  rebuildDefaultSchedulers()
  create_export_query()
  fill_in_additional_list_fields()
  fill_in_additional_detail_fields()
  get_list_view_data()
  get_summary_text()


Classe: Scheduler  - X-Ref

Scheduler($init=true)   X-Ref
Aucune description

fire()   X-Ref
executes Scheduled job


flushDeadJobs()   X-Ref
flushes dead or hung jobs


fireQualified()   X-Ref
calculates if a job is qualified to run


checkPendingJobs2()   X-Ref
Checks if any jobs qualify to run at this moment


checkPendingJobs()   X-Ref
Checks if any jobs qualify to run at this moment


deriveDBDateTimes($focus)   X-Ref
This function takes a Scheduler object and uses its job_interval
attribute to derive DB-standard datetime strings, as many as are
qualified by its ranges.  The times are from the time of calling the
script.

param: $focus        Scheduler object
return: $dateTimes    array loaded with DB datetime strings derived from
return: false        If we the Scheduler is not in scope, return false.

handleIntervalType($type, $value, $mins, $hours)   X-Ref
Aucune description

setIntervalHumanReadable()   X-Ref
Aucune description

setStandardArraysAttributes()   X-Ref
Aucune description

parseInterval()   X-Ref
takes the serialized interval string and renders it into an array


cleanJobLog()   X-Ref
soft-deletes all job logs older than 24 hours


checkCurl()   X-Ref
checks for cURL libraries


displayCronInstructions()   X-Ref
Aucune description

rebuildDefaultSchedulers()   X-Ref
Archives schedulers of the same functionality, then instantiates new
ones.


create_export_query($order_by, $where, $show_deleted = 0)   X-Ref
function overrides the one in SugarBean.php


fill_in_additional_list_fields()   X-Ref
function overrides the one in SugarBean.php


fill_in_additional_detail_fields()   X-Ref
function overrides the one in SugarBean.php


get_list_view_data()   X-Ref
function overrides the one in SugarBean.php


get_summary_text()   X-Ref
returns the bean name - overrides SugarBean's




Generé en: Thu Mar 4 09:44:50 2010 | Cross-referenced par PHPXref 0.7