2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: contacts.contacts
|
|
|
|
description: contacts_contacts attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: contacts.contacts
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
2017-03-11 19:54:51 +01:00
|
|
|
|contacts|Array of [Contact](../types/Contact.md) | Yes|
|
|
|
|
|users|Array of [User](../types/User.md) | Yes|
|
2017-01-25 23:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [contacts\_Contacts](../types/contacts_Contacts.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
2017-03-11 19:54:51 +01:00
|
|
|
$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ];
|
2017-01-25 23:16:22 +01:00
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|