class documentation
class ObjChildren(object): (source)
Manage child-object creation and filtered child lookups.
| Method | filtered |
Return visible child nodes matching the configured child attribute. |
| Method | get |
Return child nodes matching the configured child attribute. |
| Method | get |
Return the configured child definition for an object key. |
| Method | init |
Create and initialize a child object for the current container. |
| Method | init |
Initialize all configured child objects for the current metaobject. |
| Method | manage_init |
Handle ZMI creation of a new child object. |
| Class Variable | __ac |
Undocumented |
| Class Variable | __author |
Undocumented |
| Method | _init |
Ensure mandatory and repetitive child objects match metaobject rules. |
Return visible child nodes matching the configured child attribute.
| Parameters | |
| id:str | Child attribute key. |
| REQUEST:ZPublisher.HTTPRequest | The active HTTP request. |
| meta | Optional meta type filter. |
| Returns | |
| list | Visible matching child nodes. |
Return child nodes matching the configured child attribute.
| Parameters | |
| id:str | Child attribute key. |
| REQUEST:ZPublisher.HTTPRequest | The active HTTP request. |
| meta | Optional meta type filter. |
| Returns | |
| list | Matching child nodes in document order. |
Return the configured child definition for an object key.
| Parameters | |
| key:str | Child attribute key. |
| meta | Optional metaobject type override. |
| Returns | |
| dict | Child attribute configuration. |
Create and initialize a child object for the current container.
| Parameters | |
| id:str | Base object id. |
| _sort | Sort position before normalization. |
| type:str | Child meta type. |
| REQUEST:ZPublisher.HTTPRequest | The active HTTP request. |
| Returns | |
| object | The created or reused child object. |
Initialize all configured child objects for the current metaobject.
| Parameters | |
| REQUEST:ZPublisher.HTTPRequest | The active HTTP request. |
Handle ZMI creation of a new child object.
| Parameters | |
| id:str | Base object id. |
| type:str | Child meta type. |
| lang:str | Active UI language. |
| REQUEST:ZPublisher.HTTPRequest | The active HTTP request. |
| RESPONSE:ZPublisher.HTTPResponse | Optional HTTP response for redirects. |
| Returns | |
| object | Redirect response when RESPONSE is provided. |