Ferreteria/v0.6/clade/IO/O/View/Web/List

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | IO‎ | O‎ | View‎ | Web
Jump to navigation Jump to search
The item documented here has been removed and is no longer in use.
clade: IO\O\View\Web\List
Clade Family
List List (none)
Clade Aliases
Alias Clade
Subpages

Pages

Code

Entire contents of file, as removed on 2026-01-26:

<?php namespace  Woozalia\Ferret\IO\O\View\Web;
/**
 * PURPOSE: knows how to render all the pieces of a bullet-list in a Web environment (HTML)
 * HISTORY:
    2024-09-18 created; will need some work, though
    2024-10-20 moved from [WF]IO\O\Screen\Render\Web -> IO\O\Render\Web
*/

use Woozalia\Ferret\IO\O\Data\Element\Branch\caList as BaseClass;
use Woozalia\Ferret\IO\O\Data\Element\Branch\iList as BaseIface;

interface iList extends BaseIface {}

class cList extends BaseClass implements iList {

    // ++ CONFIG ++ //

    protected function ItemClass() : string { return List\aux\cItem::class; }

    // -- CONFIG -- //
    // ++ OUTPUT ++ //

    #protected function RenderOpenIndent() : string { return '<ul>'; }
    #protected function RenderShutIndent() : string { return '</ul>'; }
    #protected function RenderBefore() : string { return $this->Style()->ListPrefix(); }
    #protected function RenderAfter() : string { return $this->Style()->ListSuffix(); }
    protected function RenderIntro() : string { return '<ul>'; }
    protected function RenderOutro() : string { return '</ul>'; }

    // -- OUTPUT -- //
}