Index: library/lib/doc-assets/attributemethod.html.tmpl =================================================================== diff -u -r9e98d057e87eb5d9bf8cd3a25dc679ed02cd6399 -re4a5c3979effc10d1e807063956d51c72994db6e --- library/lib/doc-assets/attributemethod.html.tmpl (.../attributemethod.html.tmpl) (revision 9e98d057e87eb5d9bf8cd3a25dc679ed02cd6399) +++ library/lib/doc-assets/attributemethod.html.tmpl (.../attributemethod.html.tmpl) (revision e4a5c3979effc10d1e807063956d51c72994db6e) @@ -3,64 +3,46 @@ [$owning_attribute print_name -status]
[:? {[info exists :@return] && [${:@return} spec] ne ""} {<[${:@return} spec]>} ] - [:? {[$owning_attribute pinfo get -default 0 bundle incremental]} { - /obj/ ${:name} ?value?
- /obj/ ${:name} add|assign|delete value
- /obj/ ${:name} get
- } - { - /obj/ ${:name} ?value? - }] + obj ${:name} ?value? +
[:? {[$owning_attribute pinfo exists validation]} { [$owning_attribute pinfo get validation] }] [$owning_attribute as_text] +
- [:? {[info exists :@parameter]} { -
-
Parameters:
- [:for param ${:@parameter} { -
- [$param print_name] - [:? {[$param eval {info exists :spec}] && [$param spec] ne ""} {<[$param spec]>}] - - [$param statusmark] - [$param as_text] - [$param pinfo get -default "" validation] - [:? {[$param eval {info exists :default}]} { -
- Default Value: [$param default] -
- }] -
- }] -
- }] - - [:? {[info exists :@return]} { -
-
Returns: - - [:? {[${:@return} eval {info exists :spec}] && [${:@return} spec] ne ""} {[${:@return} spec]}] -
-
[${:@return} as_text]
-
- }] - - [:? ${:@deprecated} { + [:? {[$owning_attribute eval {set :@deprecated}]} {
Deprecated
}] -
+
+
Parameters:
+
+ value <optional> + + If provided, list of values to + be set for the attribute ${:name} +
+
+ + [:?objvar $owning_attribute @return { +
+
Returns: + [:? {[${:@return} eval {info exists :spec}] && [${:@return} spec] ne ""} {[${:@return} spec]}] +
+
[${:@return} as_text]
+
+ }] + +
Type:
-
[:pinfo get bundle type]
attribute accessor/mutator
[:? {${:@syshook}} {
-internally called, redefinable hook
- }] +
[:pinfo get bundle type]
attribute accessor/mutator
@@ -69,10 +51,67 @@
redefine-protected
}]
- - + [:? {[$owning_attribute pinfo get -default 0 bundle incremental]} { +
+ +
+

${:name} add +

+
+ [:? {[info exists :@return] && [${:@return} spec] ne ""} {<[${:@return} spec]>} ] + obj + ${:name} add + value + +
+
+
Parameters:
+
+ value <required> + + ... +
+
+
+
Returns:
+
The element + added to the list
+
+
+
+
+
+ +
+

${:name} delete +

+
+ [:? {[info exists :@return] && [${:@return} spec] ne ""} {<[${:@return} spec]>} ] + obj + ${:name} delete + value + +
+
+
Parameters:
+
+ value <required> + + ... +
+
+
+
Returns:
+
The element + deleted from the the list
+
+
+
+
+ }] +
- +

- +