You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-14Lines changed: 2 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ This package lets you easily connect to your FileMaker database through the Data
9
9
* FMModel class
10
10
* Extends the base Model class, allowing compatibility with many standard model features
11
11
* Relationship support
12
-
* Container data handling
12
+
* Container data read/write
13
13
* Automatic name/layout/table resolution
14
-
* Portal data support
14
+
* Portal data read/write
15
15
* FileMaker -> Laravel field name remapping
16
16
* Automatic authentication and session management
17
17
* Eloquent query builder and base query builder
@@ -91,14 +91,6 @@ This package supports both reading and writing container field data. Container f
91
91
92
92
When setting a container field you should set it as an `Illuminate/HTTP/File` object. These attributes will be written back to your container fields along with any other model updates when the `save()` method is called on your model object.
93
93
94
-
It is important for the class to know which fields are container fields so that they can be handled appropriately. Any container fields should be listed in a `$containerFields` property of your model.
95
-
96
-
```
97
-
protected $containerFields = [
98
-
'photo'
99
-
];
100
-
```
101
-
102
94
### Mapping FileMaker Fields
103
95
Sometimes you might be working with a FileMaker database with inconvenient field names. These fields can be remapped to model attributes by setting the `$fieldMapping` attribute. This should be an array of strings, mapping FileMaker Field Name => New Attribute Name.
0 commit comments