Ferreteria/v0.5/@cls/uri/taForObject

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Revision as of 17:30, 26 February 2023 by Woozle (talk | contribs) (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)<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
trait ferret\uri\taForObject

caCard
taForObject
tLoggableCard

cK1I

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.