public function __construct($file_name) { parent::__construct($file_name); #$lines = $this->get_lines_without_comments(); # #foreach ($lines as $line) { # if (preg_match('/database.class=(.+)/', $line, $matches)) { # $this->database_class_file # = new FileSystem_PHPClassFile(PROJECT_ROOT . $matches[1]); # } # # if (preg_match('/database.renderer=(.+)/', $line, $matches)) { # $this->database_renderer_class_file # = new FileSystem_PHPClassFile(PROJECT_ROOT . $matches[1]); # } # # if (preg_match('/table.(\w+).class=(.+)/', $line, $matches)) { # $this->table_class_files[$matches[1]] # = new FileSystem_PHPClassFile(PROJECT_ROOT . $matches[2]); # } # # if (preg_match('/table.(\w+).renderer=(.+)/', $line, $matches)) { # $this->table_renderer_class_files[$matches[1]] # = new FileSystem_PHPClassFile(PROJECT_ROOT . $matches[2]); # } # # if (preg_match('/row.(\w+).class=(.+)/', $line, $matches)) { # $this->row_class_files[$matches[1]] # = new FileSystem_PHPClassFile(PROJECT_ROOT . $matches[2]); # } # # if (preg_match('/row.(\w+).renderer=(.+)/', $line, $matches)) { # $this->row_renderer_class_files[$matches[1]] # = new FileSystem_PHPClassFile(PROJECT_ROOT . $matches[2]); # } # # if (preg_match('/field.(\w+).(\w+).class=(.+)/', $line, $matches)) { # $this->field_class_files[$matches[1]][$matches[2]] # = new FileSystem_PHPClassFile(PROJECT_ROOT . $matches[3]); # } # # if (preg_match('/field.(\w+).(\w+).renderer=(.+)/', $line, $matches)) { # $this->field_renderer_class_files[$matches[1]][$matches[2]] # = new FileSystem_PHPClassFile(PROJECT_ROOT . $matches[3]); # } #} }