On Fri, Feb 8, 2008 at 9:19 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:

> i hooked up an spl example; and the files are sorted by name.
> also, did you want that <p> inside or outside the <span> w/
> class=NormalText, because the opening and closing tags are
> mixed up..
>

damnit; i had a couple of mistakes; so sue me; its friday night!

to ensure the path is in the href; i added it
$resultData[$curAllowedFile->getPathname()] = $theFile->fgets();

to make sure the results are sorted; i sorted them after the parent
ArrayIterator was created
parent::__construct($array, $flags);
$this->ksort();

and lastly, i added the anchor tag
<a href="<?=$curFilename?>"><?=$curTextData?></a>

i could use a drink right about now..=/

-nathan

Reply via email to