Ferreteria/v0.6/clade/IO/Aspect: Difference between revisions
< Ferreteria | v0.6 | clade | IO
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{page/clade | {{page/clade/v2 | ||
|fam= | |||
! | {{!}} align=right {{!}} {{l/ver/clade|Aux|StandardBase}} | ||
{{!}} align=center {{!}} → {{l/ver/clade|IO|Aspect}} | |||
{{!}} align=left {{!}} | |||
→ Aspect\{{l/ver/clade|IO\Aspect|Connx}}<br> | → Aspect\{{l/ver/clade|IO\Aspect|Connx}}<br> | ||
→ Aspect\{{l/ver/clade|IO\Aspect|Creds}}<br> | → Aspect\{{l/ver/clade|IO\Aspect|Creds}}<br> | ||
| Line 11: | Line 9: | ||
→ Aspect\{{l/ver/clade|IO\Aspect|Socket}}<br> | → Aspect\{{l/ver/clade|IO\Aspect|Socket}}<br> | ||
→ Sys\Data\Engine\{{l/ver/clade|Sys/Data/Engine|Ops}} | → Sys\Data\Engine\{{l/ver/clade|Sys/Data/Engine|Ops}} | ||
|alia= | |||
! | {{!-!}} '''Base*''' [c,i] {{!!}} {{l/ver/clade|Aux|StandardBase}} | ||
}} | |||
==Functions== | ==Functions== | ||
== | * <code>{{l/ver/fx|DescribeInline}}()</code>: not always needed by podling classes, so stubbed off here as a method-prompt (<code>{{l/ver/fx|PromptForMethod}}()</code>) | ||
==Code== | |||
''as of 2025-10-22'' | |||
{{fmt/php/block|1= | |||
interface iAspect extends BaseIface { | |||
// UI | // UI | ||
function DescribeInline() : string; | function DescribeInline() : string; | ||
} | |||
trait tAspect { // IMPLEMENTS iAspect | |||
// PROMPT | |||
public function DescribeInline() : string { return self::PromptForMethod(); } // sometimes not needed | |||
} | |||
abstract class caAspect extends BaseClass implements iAspect { | |||
use tAspect; | |||
} | |||
}} | |||
Revision as of 01:28, 23 October 2025
| ||||||||||||||
Functions
DescribeInline(): not always needed by podling classes, so stubbed off here as a method-prompt (PromptForMethod())
Code
as of 2025-10-22
interface iAspect extends BaseIface {
// UI
function DescribeInline() : string;
}
trait tAspect { // IMPLEMENTS iAspect
// PROMPT
public function DescribeInline() : string { return self::PromptForMethod(); } // sometimes not needed
}
abstract class caAspect extends BaseClass implements iAspect {
use tAspect;
}