PHP Class N98\Magento\Command\Database\StatusCommand

Inheritance: extends AbstractShowCommand
Afficher le fichier Open project: netz98/n98-magerun Class Usage Examples

Protected Properties

Свойство Type Description
$_importantVars array Add more important status variables
$_specialFormat array
$showMethod

Méthodes protégées

Méthode Description
allowRounding ( string $name ) : boolean
configure ( )
generateRows ( array $outputVars, boolean $hasDescription ) : array
timeElapsedString ( $datetime, boolean $full = false ) : string borrowed from

Method Details

allowRounding() protected méthode

protected allowRounding ( string $name ) : boolean
$name string
Résultat boolean

configure() protected méthode

protected configure ( )

generateRows() protected méthode

protected generateRows ( array $outputVars, boolean $hasDescription ) : array
$outputVars array
$hasDescription boolean
Résultat array

timeElapsedString() protected méthode

echo time_elapsed_string('2013-05-01 00:22:35'); echo time_elapsed_string('@1367367755'); # timestamp input echo time_elapsed_string('2013-05-01 00:22:35', true);
protected timeElapsedString ( $datetime, boolean $full = false ) : string
$datetime
$full boolean
Résultat string

Property Details

$_importantVars protected_oe property

Add more important status variables
protected array $_importantVars
Résultat array

$_specialFormat protected_oe property

protected array $_specialFormat
Résultat array

$showMethod protected_oe property

protected $showMethod