Skip to content

Conversation

@dantleech
Copy link
Member

This PR adds support for showing "unfulfilled" child nodes and properties as defined in the node type. Below the "template" properties and child nodes are designated with the @ prefix.

PHPCRSH > ls -L3
+--------------------------+------------------+---------------------------------------------------------+
| Europe2014/              | DTLTravel:voyage |                                                         |
| | 2014/                  | DTLTravel:year   |                                                         |
| |   06/                  | DTLTravel:month  |                                                         |
| |     05/                | DTLTravel:day    |                                                         |
| |     @*                 | DTLTravel:day    |                                                         |
| |     jcr:primaryType    | NAME             | DTLTravel:month                                         |
| |     jcr:createdBy      | STRING           | admin                                                   |
| |     jcr:created        | DATE             | 2014-06-06T07:43:45+00:00                               |
| |     jcr:lastModifiedBy | STRING           | admin                                                   |
| |     jcr:lastModified   | DATE             | 2014-06-06T07:43:45+00:00                               |
| |   @*                   | DTLTravel:month  |                                                         |
| |   jcr:primaryType      | NAME             | DTLTravel:year                                          |
| |   jcr:createdBy        | STRING           | admin                                                   |
| |   jcr:created          | DATE             | 2014-06-06T07:43:44+00:00                               |
| |   jcr:lastModifiedBy   | STRING           | admin                                                   |
| |   jcr:lastModified     | DATE             | 2014-06-06T07:43:44+00:00                               |
| | @*                     | DTLTravel:date   |                                                         |
| | jcr:primaryType        | NAME             | DTLTravel:voyage                                        |
| | startDate              | DATE             | 2014-04-21T00:00:00+00:00                               |
| | jcr:createdBy          | STRING           | admin                                                   |
| | jcr:created            | DATE             | 2014-06-04T20:54:13+00:00                               |
| | jcr:lastModifiedBy     | STRING           | admin                                                   |
| | jcr:lastModified       | DATE             | 2014-06-06T14:01:37+00:00                               |
| | description            | STRING           | Santander, Mnt Ventoux, Mnt Blanc, Pass di Simplone,... |
| | @endDate               | DATE             |                                                         |
| Morroco2012              | DTLTravel:voyage |                                                         |
|   @*                     | DTLTravel:date   |                                                         |
|   jcr:primaryType        | NAME             | DTLTravel:voyage                                        |
|   jcr:createdBy          | STRING           | admin                                                   |
|   jcr:created            | DATE             | 2014-06-05T18:59:26+00:00                               |
|   jcr:lastModifiedBy     | STRING           | admin                                                   |
|   jcr:lastModified       | DATE             | 2014-06-05T19:00:07+00:00                               |
|   description            | STRING           | Starting from Paris, went south thorugh the Massive ... |
|   @endDate               | DATE             |                                                         |
|   @startDate             | DATE             |                                                         |

@dantleech dantleech changed the title Option to "shadow" properties Option to show undefined proerties and children which are in the node type May 19, 2014
@dantleech
Copy link
Member Author

@todo: Add behat test, add option to disable.

@dantleech dantleech added this to the v1.0 milestone Jun 8, 2014
- Behat tests
- Now must be enabled explicitly
dantleech added a commit that referenced this pull request Jun 9, 2014
Option to show undefined proerties and children which are in the node type
@dantleech dantleech merged commit df2d11e into master Jun 9, 2014
@dantleech dantleech deleted the show_template branch June 9, 2014 12:08
dantleech added a commit that referenced this pull request Jun 9, 2014
Option to show undefined proerties and children which are in the node type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants