Trait for AngularJS Module styles signatures.

Go back Parent node: Webfan



// Define:

class MyModule {

  use \Webfan\ngModuleTrait;


$module = new MyModule ;

$module ->controller([function MyControllerName($injected1, $injected2){ ... }], $injectFrom1, $injectFrom2);


$module ->config([function ($injected1, $injected2){ ... }], $injectFrom1, $injectFrom2);


$module ->myCustomBlockName([function ($injected1, $injected2){ ... }], $injectFrom1, $injectFrom2);


$module($MyBlocksProcessorCallable, 'config');


\call_user_func_array($MyBlocksProcessorCallable, ['config',$module, array $ModuleBlocks);

... on each 'config' block/config-block-callable.

You can dynamically use any not declared block-name.

Status: No tests passed/tested.

Source code

Alternative Identifiers

(No PIX allowed)
OIDplus Information Object Application Identifier (ISO/IEC 7816) More information
guid:5912e35b-4c3b-8000-a6f0-11a86764d199OIDplus Information Object Custom UUID (RFC4122bis) More information
mac:62-EB-77-0F-54-21OIDplus Information Object MAC address, Unicast (AAI)
mac:63-EB-77-0F-54-21OIDplus Information Object MAC address, Multicast (AAI)
oid: Information Object OID
x500dn:/​dc=com/​dc=example/​cn=oidplus/​​ Information Object X.500 DN

REST API (Documentation)

Share Static link to this page

Deutsch English (USA)
oidplus:webfan_goto_frdlweb | Frdlweb
oidplus:webfan_goto_webfan | Webfan
oidplus:login_webfan | Login using Webfan
oidplus:weid_info | WEID Documentation
oidplus:webfan_goto_webfan_home | Webfan Objects
oidplus:resources$Tools/Whois.html | Whois Lookup
oidplus:system | System
pen: | IANA Enterprise Numbers
oid: | Object Identifier (OID)
guid: | Globally Unique Identifier (GUID)
other: | Other objects
php: | PHP Namespaces
     php:Webfan |
          php:Webfan\ngModuleTrait.php | -- Trait for AngularJS Module styles signatures.
circuit: | Circuit Definition
uri: | URI objects
web+fan: | web+fan:// [#@resources]
mac: | MAC adresses (EUI/ELI/AAI/SAI)
ipv4: | IPv4 Network Blocks
ipv6: | IPv6 Network Blocks
java: | Java Package Names
domain: | Domain Names
aid: | Application Identifier (ISO/IEC 7816)
fourcc: | Four-Character-Code (FourCC)
x500dn: | X.500 Distinguished Name
alloc: | Allocation
oidplus:login | Login
oidplus:whois | OID-IP / WHOIS
oidplus:com.viathinksoft.freeoid | Register a free OID
oidplus:search | Search
oidplus:resources | Documents and Resources
oidplus:contact | Contact administrator
com.frdlweb.freeweid | Register a free WEID as OID Arc