Ferreteria/v0.6/clade/IO/O/Data/Element/Text

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | IO‎ | O‎ | Data‎ | Element
Jump to navigation Jump to search
The item documented here has been removed and is no longer in use.
It has been merged into IO\O\Data\Element\Branch\Text.
clade: IO\O\Data\Element\Text
Clade Family
Element Text
Clade Aliases
Alias Clade
Base* [ca,i] IO\O\Data\Element
Subpages

About

  • Purpose: Element that contains text to display
  • Instar: unformatted text, no processing needed; base type for formatted text

History

Code

as of 2026-01-28:

interface iText extends BaseIface {
    function SText(string $s=NULL) : string;
}
class cText extends BaseClass implements iText {

    // ++ DATA ++ //

    private $s = NULL;
    public function SText(string $s=NULL) : string { return is_null($s) ? $this->s : ($this->s = $s); }

    // -- DATA -- //
    // ++ OUTPUT ++ //

    // CEMENT BaseIface
    public function ShowIt() { echo $this->SText(); }

    // -- OUTPUT -- //
}