/lenasys/0.1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/0.1

« back to all changes in this revision

Viewing changes to CodeViewer/example_code.php

  • Committer: elof.bigestans at gmail
  • Date: 2013-04-03 09:09:01 UTC
  • mto: (4.7.10 GammaBear)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: elof.bigestans@gmail.com-20130403090901-yrjkjam8tip1mt9j
* Re-structured according to new folder structure - moved media out, moved things in /Codeviewer/Codeviewer to /Codeviewer
* Renamed according to naming conventions
* Added examples displaying usage of the module

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
        include("showcode.php");
 
3
        
 
4
        menulayout("innan.php","efter.php","test2.txt","Example 1: Execution of AJAX API","test.txt", "test2.txt");
 
5
        
 
6
        $interestingrows = array(
 
7
                array(1,5,"Ajax function"),
 
8
                array(7,8,"Ajax return function")
 
9
        );
 
10
 
 
11
        $keywords = array(
 
12
                "showCustomer",
 
13
                "ResultCustomer"
 
14
        );
 
15
 
 
16
        $highlight = array(
 
17
                array("{", "highlightnormal"),
 
18
                array("}", "highlightnormal"),
 
19
                array("function", "highlightspecial")
 
20
        );
 
21
 
 
22
        showfile($interestingrows,$keywords,$highlight, "test.txt");
 
23
        menulayoutend();
 
24
?>
 
 
b'\\ No newline at end of file'