Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

MigrationDateItemsShell Class Reference

Convert Date Items to another format. More...

Inheritance diagram for MigrationDateItemsShell:
BeditaBaseShell

List of all members.

Public Member Functions

 help ()
 startup ()
 Load informations about SQL table columns.
 main ()
 Convert all date items in the database.

Public Attributes

 $uses = array('DateItem')

Protected Member Functions

 load ()
 Load IDs of the Date Items to be converted.
 convert ($value, $startEnd)
 Convert a single value.

Protected Attributes

 $columns = array()
 $conversion = array()

Detailed Description

Convert Date Items to another format.

Definition at line 27 of file migration_date_items.php.


Member Function Documentation

MigrationDateItemsShell::convert ( value,
startEnd 
) [protected]

Convert a single value.

Parameters:
mixed $value Value to be converted.
string $startEnd Either `start` or `end`.
Returns:
mixed Converted value.

Definition at line 138 of file migration_date_items.php.

Referenced by main().

MigrationDateItemsShell::load (  )  [protected]

Load IDs of the Date Items to be converted.

Returns:
array Array of IDs.

Definition at line 99 of file migration_date_items.php.

Referenced by main().


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus