Reserved Entity IdentifiersΒΆ
There are a few reserved entity identifiers.
containerrefers to the main container (imagination.core.Imagination).selfrefers to the ID of the closest entity and is ONLY used within the context of<interception/>and<call/>(added in v2.6). For example, from an example in Method Calls on Initialization, the definition of the initial method call usesselfto refer to the entitycounter.
<entity id="counter" class="app.Counter">
<!-- omitted -->
<call method="set_counter" from="app">
<param type="entity" name="counter">self</param><!-- NOTE "self" refers to "counter". -->
</call>
</entity>