Comments: on this page. Click to read or post your own.

Class BuildTask

Description

Interface for a generic build task. Does not support dependencies. This will simply run a chunk of code when called.

To disable the task (in the case of potentially destructive updates or deletes), declare the $Disabled property on the subclass.

  • todo: move from sapphire/testing to sapphire/dev or sapphire/development?
  • abstract:

Located in /sapphire/dev/BuildTask.php (line 14)

Object
   |
   --BuildTask
Direct descendents
Class Description
MigrationTask A migration task is a build task that is reversible.
i18nTextCollectorTask
Variable Summary
string $description
bool $enabled
string $title
Method Summary
string getDescription ()
string getTitle ()
void isEnabled ()
void run ( $request)
Variables
string $description = 'No description available' (line 32)
  • var: Describe the implications the task has, and the changes it makes. Accepts HTML formatting.
  • access: protected

Redefined in descendants as:
bool $enabled = true (line 20)
  • var: If set to FALSE, keep it from showing in the list and from being executable through URL or CLI.
  • access: protected
string $title (line 26)
  • var: Shown in the overview on the TaskRunner HTML or CLI interface. Should be short and concise, no HTML allowed.
  • access: protected

Redefined in descendants as:

Inherited Variables

Inherited from Object

Object::$builtInMethods
Object::$class
Object::$classConstructed
Object::$extensions
Object::$extension_instances
Object::$extraMethods
Object::$extraStatics
Object::$statics
Object::$static_cached
Methods
blog comments powered by Disqus

Documentation generated on Sun, 19 Oct 2008 06:38:29 +1300 by phpDocumentor 1.3.2