c2ephp

agents/PRAY/GENEBlock.php

Go to the documentation of this file.
00001 <?php
00002 
00003 require_once(dirname(__FILE__).'/PrayBlock.php');
00004 
00006 
00011 class GENEBlock extends PrayBlock {
00012 
00014 
00022     public function GENEBlock($prayfile,$name,$content,$flags) {
00023         parent::PrayBlock($prayfile,$name,$content,$flags,PRAY_BLOCK_GENE);
00024 
00025     }
00026 
00028 
00033     protected function CompileBlockData() {
00034         return $this->GetData();
00035     }
00040     protected function DecompileBlockData() {
00041         throw new Exception('I don\'t know how to decompile a GENE.');
00042     }
00043 
00045 }
00046 ?>
 All Classes Files Functions Variables Enumerations