Class MigrationDateItemsShell
Convert Date Items to another format.
-
Shell
-
BeditaBaseShell
-
MigrationDateItemsShell
Methods summary
public
|
|
public
|
#
startup( )
Load informations about SQL table columns.
Load informations about SQL table columns.
Overrides
|
protected
array
|
#
load( )
Load IDs of the Date Items to be converted.
Load IDs of the Date Items to be converted.
Returns
array Array of IDs.
|
protected
mixed
|
#
convert( mixed $value, string $startEnd )
Convert a single value.
Parameters
- $value
- Value to be converted.
- $startEnd
- Either
start or end .
Returns
mixed Converted value.
|
public
|
#
main( )
Convert all date items in the database.
Convert all date items in the database.
|
__clean()
,
__construct()
,
checkDir()
,
checkExportFile()
,
checkUrl()
,
check_sys_get_temp_dir()
,
cleanTempDir()
,
handleExceptions()
,
initConfig()
,
initialize()
,
isUrl()
,
mandatoryArgument()
,
readInputArgs()
,
setupTempDir()
,
test()
,
title()
,
verbose()
Properties summary
public
array
|
$uses
Models used by this shell.
Models used by this shell.
|
|
protected
array
|
$columns
Columns in the SQL table.
Columns in the SQL table.
|
|
protected
array
|
$conversion
Conversion(s) to perform.
Conversion(s) to perform.
|
|