default
[ class tree: default ] [ index: default ] [ all elements ]

Source for file BuildTask.php

Documentation is available at BuildTask.php

  1. <?php
  2.  
  3. /**
  4.  * Interface for a generic build task. Does not support dependencies. This will simply
  5.  * run a chunk of code when called.
  6.  * 
  7.  * To disable the task (in the case of potentially destructive updates or deletes), declare
  8.  * the $Disabled property on the subclass.
  9.  * 
  10.  * @todo move from sapphire/testing to sapphire/dev or sapphire/development?
  11.  */
  12. abstract class BuildTask {
  13.     
  14.     abstract function run($request);
  15.     
  16.     public function isDisabled({
  17.         return (property_exists($this'Disabled')) true false;
  18.     }
  19.     
  20. }
  21.  
  22. ?>

blog comments powered by Disqus
Documentation generated on Fri, 13 Jun 2008 06:33:10 +1200 by phpDocumentor 1.3.2