Mage_Adminhtml_Model_System_Config_Source_Cron_Frequency Class Reference

List of all members.

Public Member Functions

 toOptionArray ()

Public Attributes

const CRON_DAILY = 'D'
const CRON_WEEKLY = 'W'
const CRON_MONTHLY = 'M'

Static Protected Attributes

static $_options


Detailed Description

Definition at line 28 of file Frequency.php.


Member Function Documentation

toOptionArray (  ) 

Definition at line 37 of file Frequency.php.

00038     {
00039         if (!self::$_options) {
00040             self::$_options = array(
00041                 array(
00042                     'label' => Mage::helper('cron')->__('Daily'),
00043                     'value' => self::CRON_DAILY,
00044                 ),
00045                 array(
00046                     'label' => Mage::helper('cron')->__('Weekly'),
00047                     'value' => self::CRON_WEEKLY,
00048                 ),
00049                 array(
00050                     'label' => Mage::helper('cron')->__('Monthly'),
00051                     'value' => self::CRON_MONTHLY,
00052                 ),
00053             );
00054         }
00055         return self::$_options;
00056     }


Member Data Documentation

$_options [static, protected]

Definition at line 31 of file Frequency.php.

const CRON_DAILY = 'D'

Definition at line 33 of file Frequency.php.

const CRON_MONTHLY = 'M'

Definition at line 35 of file Frequency.php.

const CRON_WEEKLY = 'W'

Definition at line 34 of file Frequency.php.


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:14 2009 for Magento by  doxygen 1.5.8