Home > Coding > Test post/AthList

Test post/AthList

This new wordpress release is all flashy and neat isn’t it.

In other news however, my refactoring of AthList is making nice progress. The basics of the new class are working and getting it all working has allowed me to take a new fresher look at the code, and thus I’ve been able to make a couple of optimisations.

You can see my current work-in-progress at www.ather-tech.net/refactor, it is currently missing a couple of features found in the 1.x branch such as “Up” navigation and File-type icons. My plan is to get “Up” functionality working first, and then the File-type icons when n00berific can spare some time. *nudge-nudge*

The current code to return a basic list is simple:

<?php
 include(‘refactor_test.php’);
 $AthList = new AthList($_GET["path"]);
 
 $AthList->SetExclude(“.,..,error_log”);
 $list = $AthList->GetList(true); 
 echo $AthList->PrintList($list);
?>

I shall be providing documentation of the AthList class once I’ve completed implementing all of the current 1.x features in 2.x, until then.

Happy coding!

Categories: Coding Tags: ,
  1. No comments yet.
  1. No trackbacks yet.
Easy AdSense by Unreal