Module::MODE_ASSOCIATION, // this option can be overridden in the www/_lib/app-config/user.php
'hasLock' => true,
'resourceName' => 'User',
'itemName' => 'Individual',
'itemsName' => 'Individuals',
'photo' => ['width' => 480, 'height' => 640, 'resizeMethod' => 'cropCenter'],
'companyDescription' => [
'rowTpl' => '%title%: %value%
',
'linkTpl' => 'Add this Company as a New Company',
'fields' => [
'name' => 'Name',
'address' => 'Address',
'address2' => 'Address 2',
'city' => 'City',
'state' => 'State',
'zip' => 'Zip'
]
],
'export' => [
'dynamicFieldsAfter' => 'companyZip',
'fields' => [
Module::MODE_SIMPLE => [
'id' => 'User ID',
'added' => '',
'status' => '',
'firstName' => '',
'lastName' => '',
'email' => '',
'directPhone' => 'Phone',
'billingFirstName' => '',
'billingLastName' => '',
'billingAddress' => '',
'billingAddress2' => '',
'billingCity' => '',
'billingState' => '',
'billingZip' => '',
'shippingAsBilling' => '',
'shippingFirstName' => '',
'shippingLastName' => '',
'shippingAddress' => '',
'shippingAddress2' => '',
'shippingCity' => '',
'shippingState' => '',
'shippingZip' => '',
],
Module::MODE_ASSOCIATION => [
'id' => 'User ID',
'added' => '',
'status' => '',
'membershipType' => '',
'firstName' => '',
'lastName' => '',
'email' => '',
'directPhone' => '',
'cellPhone' => '',
'photo' => '',
'bio' => '',
'linkedInUrl' => '',
'homeAddress' => '',
'homeAddress2' => '',
'homeCity' => '',
'homeState' => '',
'homeZip' => '',
'billingFirstName' => '',
'billingLastName' => '',
'billingAddress' => '',
'billingAddress2' => '',
'billingCity' => '',
'billingState' => '',
'billingZip' => '',
'shippingAsBilling' => '',
'shippingFirstName' => '',
'shippingLastName' => '',
'shippingAddress' => '',
'shippingAddress2' => '',
'shippingCity' => '',
'shippingState' => '',
'shippingZip' => '',
'companyName' => '',
'companyPhone' => '',
'companyFax' => '',
'companyAddress' => '',
'companyAddress2' => '',
'companyCity' => '',
'companyState' => '',
'companyZip' => '',
'joinDate' => '',
'leadershipGroup' => '',
'leadershipPosition' => '',
'notes' => '',
],
],
],
'filterFields' => [
Module::MODE_SIMPLE => ['User' => ['firstName', 'lastName', 'email']],
Module::MODE_ASSOCIATION => ['User' => ['firstName', 'lastName', 'email'], 'Company' => ['name']],
],
);