Ferreteria/v0.6/clade/IO/O/Data/Element/Text
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.
|
| ||||||||||||||
About
- Purpose: Element that contains text to display
- Instar: unformatted text, no processing needed; base type for formatted text
History
Code
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 -- //
}