Ferreteria/v0.5/@cls/uri/taForObject: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
(Created page with "{{fmt/title|trait <code>{{l/ver/class||ferret}}\{{i/var|nspace.fmt}}\{{i/var|cls.name}}</code>}} {| style="border: solid 1px grey; background: #eef;" |- | align=right | {{l/ver/class|ns=data|caCard}}<br> {{l/ver/class|ns=uri|taForObject}}<br> {{l/ver/class|ns=data/evlog|tLoggableCard}} | → | {{l/ver/class|ns=data/card|cK1I}} |} * '''Source''': {{l/ferreteria/code|menu/objuri.php}} ==Methods== ===config=== * public function HTML_forNew() : string { return '<i>(new)<...") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{page/ferret/trait}} | ||
{| style="border: solid 1px grey; background: #eef;" | {| style="border: solid 1px grey; background: #eef;" | ||
|- | |- | ||
| align=right | | | align=right | | ||
{{l/ver/class|ns=data| | {{l/ver/class|ns=data/card|caBase}}<br> | ||
{{l/ver/class|ns=uri|taForObject}}<br> | {{l/ver/class|ns=uri|taForObject}}<br> | ||
{{l/ver/class|ns=data/evlog|tLoggableCard}} | {{l/ver/class|ns=data/evlog|tLoggableCard}} |
Latest revision as of 18:49, 25 March 2023
trait
ferret\uri\taForObject |
→ |
- Source: menu/objuri.php
Methods
config
- public function HTML_forNew() : string { return '(new)'; }
info
- abstract protected function HasIdentity() : bool;
- abstract public function IdentityValues() : array;
- abstract protected function KeySlug() : string;
calc
- protected function HTML_forLink($sText=NULL,$sPopup=NULL,array $arAdd=NULL,array $arAttr=NULL) : string
- protected function LinkURL(array $arAdd=NULL) : string
- protected function LinkArray(array $arAdd=NULL) : array
action
- public function SelfRedirect(array $arAdd=NULL,$sText=NULL) : void
- public function SelfLink($sText=NULL,$sPopup=NULL,array $arAdd=NULL,array $arAttr=NULL) : string
History
- 2021-11-21 renamed from tForObject to taForObject because it has abstract methods.
- 2021-11-17 had to make IdentityValues() public for now, because of the way it's used in DropinLink.
- There's probably a better way to do this, but if so it will involve some class-mapping to figure out what is going on and why DropinLink seems to have its own separate system for building links.