Diff
Index: __construct.md
--- __construct.md (nonexistent)
+++ __construct.md (revision 4)
@@ -0,0 +1,53 @@
+
+# Alert::__construct
+
+### Usage
+
+> Alert::__construct(int $id, [ bool $is_read = false ], [ string $type = 'alert' ], [ string $uuid = '' ], [ string $sender = '' ], [ string $badge = '' ], [ string $url = '' ], [ string $title = '' ], [ string $contents = '' ], [ ?DateTime $created_at = null ], [ ?DateTime $read_at = null ])
+
+### Description
+
+> Constructor
+
+### Parameters
+
+Parameter | Required | Type | Description
+------------- |------------- |------------- |-------------
+id | Yes | int |
+is_read | No | bool |
+type | No | string |
+uuid | No | string |
+sender | No | string |
+badge | No | string |
+url | No | string |
+title | No | string |
+contents | No | string |
+created_at | No | ?DateTime |
+read_at | No | ?DateTime |
+
+### Return
+>
+### See Also
+
+* __get()
+* __set()
+* all()
+* count()
+* delete()
+* deleteMany()
+* getChildren()
+* insert()
+* insertFromForm()
+* insertOrUpdate()
+* markRead()
+* purge()
+* save()
+* toArray()
+* toDisplayArray()
+* toFormattedArray()
+* update()
+* where()
+* whereFirst()
+* whereId()
+
+
Full Code
Alert::__construct
Usage
Alert::__construct(int $id, [ bool $is_read = false ], [ string $type = 'alert' ], [ string $uuid = '' ], [ string $sender = '' ], [ string $badge = '' ], [ string $url = '' ], [ string $title = '' ], [ string $contents = '' ], [ ?DateTime $created_at = null ], [ ?DateTime $read_at = null ])
Description
Constructor
Parameters
| Parameter |
Required |
Type |
Description |
| id |
Yes |
int |
|
| is_read |
No |
bool |
|
| type |
No |
string |
|
| uuid |
No |
string |
|
| sender |
No |
string |
|
| badge |
No |
string |
|
| url |
No |
string |
|
| title |
No |
string |
|
| contents |
No |
string |
|
| created_at |
No |
?DateTime |
|
| read_at |
No |
?DateTime |
|
Return
See Also