Mercurial > hg > rr-repo
annotate sites/all/modules/ctools/ctools_plugin_example/help/Relationships--Letting-one-context-take-us-to-another.html @ 11:b0ee71395280
deleted .DS_Store files
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Mon, 28 Oct 2013 16:12:13 +0000 |
parents | ff03f76ab3fe |
children |
rev | line source |
---|---|
danielebarchiesi@0 | 1 <div id="node-15" class="node"> |
danielebarchiesi@0 | 2 |
danielebarchiesi@0 | 3 |
danielebarchiesi@0 | 4 |
danielebarchiesi@0 | 5 |
danielebarchiesi@0 | 6 <div class="content clear-block"> |
danielebarchiesi@0 | 7 <p>Often a single data type can lead us to other data types. For example, a node has a user (the author) and the user has data associated with it.</p> |
danielebarchiesi@0 | 8 <p>A relationship plugin allows this kind of data to be accessed. </p> |
danielebarchiesi@0 | 9 <p>An example relationship plugin is provided in plugins/relationships/relcontext_from_simplecontext.inc. It looks at a simplecontext (which we got from an argument) and builds an (artificial) "relcontext" from that.</p> |
danielebarchiesi@0 | 10 </div> |
danielebarchiesi@0 | 11 |
danielebarchiesi@0 | 12 <div class="clear-block"> |
danielebarchiesi@0 | 13 <div class="meta"> |
danielebarchiesi@0 | 14 </div> |
danielebarchiesi@0 | 15 |
danielebarchiesi@0 | 16 </div> |
danielebarchiesi@0 | 17 |
danielebarchiesi@0 | 18 </div> |