Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update docs/HasManyExample.md

Corrected HasMany Example
  • Loading branch information...
commit 740ae3e59b70e81dac5f59a9f176633c4f26d66e 1 parent acc1ab1
Ed Chipman authored

Showing 1 changed file with 2 additions and 5 deletions. Show diff stats Hide diff stats

  1. +2 5 docs/HasManyExample.md
7 docs/HasManyExample.md
Source Rendered
@@ -23,11 +23,8 @@ has_many Example
23 23 /*** TestObject.php ***/
24 24 class TestObject extends DataObject {
25 25 public static $db=array(
26   - 'Title'=>'Text'
27   - );
28   -
29   - public static $belongs_many_many=array(
30   - 'TestPages'=>'TestPage'
  26 + 'Title'=>'Text',
  27 + 'SortOrder'=>'Int'
31 28 );
32 29
33 30 public static $default_sort='SortOrder';

0 comments on commit 740ae3e

Please sign in to comment.
Something went wrong with that request. Please try again.