本文整理汇总了PHP中Mapper::mapper_controller方法的典型用法代码示例。如果您正苦于以下问题:PHP Mapper::mapper_controller方法的具体用法?PHP Mapper::mapper_controller怎么用?PHP Mapper::mapper_controller使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mapper
的用法示例。
在下文中一共展示了Mapper::mapper_controller方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Reader
function generate_uml()
{
//creating instance of the reader class, passing in the file name path. example "Java_Test_Files/outer.java
$reader = new Reader($this->get_passed_in_file_name());
//$reader = $this->get_reader_object();
//set var equal to the text file array
$start_file_array = $reader->get_file_text_array();
//creating instance of the parser class, passing in the read in file array
$parser = new Parser($start_file_array);
//launching the parser controller method
$parser->parse_controller();
//start of mapper section
$mapper = new Mapper($parser->get_parsed_file());
//launching the mapper controller method, the mapper controller method returns the produced uml table
//this return statement is used to return the produced table. Where the table can then be displayed play
//simple echo statement.
return $mapper->mapper_controller();
}