Syntax highlighting for github

This commit is contained in:
UndefinedOffset 2012-10-10 10:40:53 -03:00
parent 87151aad83
commit 9b5e892ee4
2 changed files with 62 additions and 60 deletions

View File

@ -1,6 +1,6 @@
has_many Example
=================
:::php
```php
/*** TestPage.php ***/
class TestPage extends Page {
public static $has_many=array(
@ -29,3 +29,4 @@ has_many Example
public static $default_sort='SortOrder';
}
```

View File

@ -1,6 +1,6 @@
many_many Example
=================
:::php
```php
/*** TestPage.php ***/
class TestPage extends Page {
public static $many_many=array(
@ -41,3 +41,4 @@ many_many Example
'TestPages'=>'TestPage'
);
}
```