Public Member Functions

CleanupTask Class Reference

Cleanup task. More...

Inheritance diagram for CleanupTask:
BeditaBaseShell

List of all members.

Public Member Functions

 startup ()
 Default shell startup, call initConfig (may raise db/model errors!), to override in subclasses.
 execute ()
 cleanPHPFiles ($item, $recursive=true)
 clean PHP files from: 1) leading spaces 2) trailing spaces 3) php tag closed and reopened sequentially

Detailed Description

Cleanup task.

Definition at line 25 of file cleanup.php.


Member Function Documentation

CleanupTask::cleanPHPFiles ( item,
recursive = true 
)

clean PHP files from: 1) leading spaces 2) trailing spaces 3) php tag closed and reopened sequentially

Parameters:
string $item file or dir path
bool $recursive if it follows subdirectories

Definition at line 109 of file cleanup.php.

CleanupTask::startup (  ) 

Default shell startup, call initConfig (may raise db/model errors!), to override in subclasses.

See also:
Shell::startup()

Reimplemented from BeditaBaseShell.

Definition at line 27 of file cleanup.php.


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