Created
June 18, 2011 17:37
-
-
Save rubensayshi/1033307 to your computer and use it in GitHub Desktop.
Voiture :: SFI :: SFINode :: reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$nodeOne = $coll->addItem(new SFINode('none_one', 'the first node ever', array( | |
'type' => 'page', | |
'title' => 'Node One', | |
'body' => StructuralFixtureItemBase::getLipsum(), | |
))); | |
$coll->addItem(new SFINode('none_two', 'the second node', array( | |
'type' => 'page', | |
'title' => 'Node Two', | |
'body' => StructuralFixtureItemBase::getLipsum(), | |
'field_other_node' => $nodeOne, | |
))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment