code.fastix.org

Dateiansicht:

Datei:Projekte -> PHP:Insite-Navigation-Generator -> test.php
md5:adfb7382343a150c40c6c0f9bafeb53e
sha1:a7b6f28b6ccb34a4863f45228ccad6cc20f50169
  1. <?php
  2. require_once 'insiteNavGenerator.php';
  3.  
  4. $subject = file_get_contents('test.html');
  5.  
  6. # __construct ( $subject, $format $insertNavMenue=false, $insertNavAfter=false, $insertNavBefore=false, $navID=false, $navClass=false )
  7. $navObject = new insiteNavGenerator ( $subject, 'L_%05d', true, false, '<main>' , 'inSiteNavi', false );
  8.  
  9. #print ( $navObject -> getMenue() );
  10. print ( $navObject -> getOutput() );