mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
572945a2fd
@ -73,7 +73,7 @@ Enable multiple fileuploads by using a many_many (or has_many) relation. Again,
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
class GalleryImageExtension extends DataExtension {
|
class GalleryImageExtension extends DataExtension {
|
||||||
private static $belongs_many_many = array('Galleries' => 'GalleryPage);
|
private static $belongs_many_many = array('Galleries' => 'GalleryPage');
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user