phpDocumentor pond
[ class tree: pond ] [ index: pond ] [ all elements ]

Class: Cronjob

Source Location: /qp_inc/cron/model/_cronjob.class.php

Class Cronjob

Class Overview

Cronjob

Manages a single cron job as registered in the DB.

Located in /qp_inc/cron/model/_cronjob.class.php [line 39]

DataObject
   |
   --Cronjob
Author(s):
Information Tags:
Version:  beta

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From DataObject

DataObject::$delete_cascades
DataObject::$delete_restrictions
DataObject::$ID

Inherited From DataObject

DataObject::DataObject()
Constructor
DataObject::check_delete()
Check relations for restrictions before deleting
DataObject::check_relations()
Check relations for restrictions or cascades
DataObject::confirm_delete()
Displays form to confirm deletion of this object
DataObject::dbchange()
Records a change that will need to be updated in the db
DataObject::dbdelete()
Delete object from DB.
DataObject::dbinsert()
Insert object into DB based on previously recorded changes.
DataObject::dbsave()
Inserts or Updates depending on object state.
DataObject::dbupdate()
Update the DB based on previously recorded changes
DataObject::dget()
Get a ready-to-display member param by its name
DataObject::disp()
Display a member param by its name
DataObject::get()
Get a member param by its name
DataObject::history_info_icon()
Create icon with dataobject history
DataObject::ID()
Template function: Displays object ID.
DataObject::set()
Set param value
DataObject::set_from_Request()
Set a parameter from a Request form value.
DataObject::set_param()
Set param value.

[ Top ]
Property Summary
mixed   $controller  
mixed   $name  
array   $params  
mixed   $repeat_after  
mixed   $start_datetime  

[ Top ]
Method Summary
Cronjob   Cronjob()   Constructor
mixed   get()   Get a member param by its name
boolean   set()   Set param value

[ Top ]
Properties
mixed   $controller [line 44]

[ Top ]
mixed   $name [line 43]

[ Top ]
array   $params [line 49]

[ Top ]
mixed   $repeat_after = NULL [line 42]

[ Top ]
mixed   $start_datetime [line 41]

[ Top ]
Methods
Constructor Cronjob  [line 56]

  Cronjob Cronjob( [table $db_row = NULL]  )

Constructor

Parameters:
table   $db_row:  Database row


[ Top ]
get  [line 107]

  mixed get( mixed $parname  )

Get a member param by its name

Parameters:
mixed   $parname:  Name of parameter

API Tags:
Return:  Value of parameter


Redefinition of:
DataObject::get()
Get a member param by its name

[ Top ]
set  [line 86]

  boolean set( string $parname, mixed $parvalue, [boolean $make_null = false]  )

Set param value

By default, all values will be considered strings

Parameters:
string   $parname:  parameter name
mixed   $parvalue:  parameter value
boolean   $make_null:  true to set to NULL if empty value

API Tags:
Return:  true, if a value has been set; false if it has not changed


Redefinition of:
DataObject::set()
Set param value

[ Top ]