prepare() public method

public prepare ( )
 public function initialise($properties = false)
 {
     if ($properties) {
         foreach ($properties as $key => $value) {
             $this->{$key} = $value;
         }
     }
     parent::prepare();
     $this->files = array();
     $this->moduleTemplateFile = $this->templatePath . DIRECTORY_SEPARATOR . 'module.php';
     $this->files[] = new CCodeFile($this->modulePath . '/' . $this->moduleClass . '.php', $this->render($this->moduleTemplateFile));
     $this->files_to_process = CFileHelper::findFiles($this->templatePath, array('exclude' => array('.svn')));
 }