Свойство | Тип | Описание | |
---|---|---|---|
$accountAddressEntityName | |||
$accountAddressesFieldDescriptors | |||
$accountContactEntityName | |||
$accountContactFieldDescriptors | |||
$accountManager | |||
$accountSerializationGroups | |||
$addressEntityName | |||
$bundlePrefix | |||
$contactEntityKey | |||
$countryEntityName | |||
$entityKey | |||
$fieldDescriptors | |||
$locale | |||
$positionEntityName |
Метод | Описание | |
---|---|---|
cgetAction ( |
Lists all accounts. | |
deleteAction ( $id, |
Delete an account with the given id. | |
deleteContactsAction ( integer $accountId, integer $contactId ) : |
Deleted account contact. | |
fieldsAction ( ) : mixed | Returns all fields that can be used by list. | |
getAction ( integer $id, |
Shows a single account with the given id. | |
getAddressesAction ( integer $id, |
Lists all addresses of an account optional parameter 'flat' calls listAction. | |
getContactsAction ( integer $id, |
Lists all contacts of an account. | |
getDeleteinfoAction ( $id ) : |
Returns information about data which will be also deleted: 3 contacts, total number of contacts, and if deleting is allowed (as 0 or 1). | |
getSecurityContext ( ) | ||
multipledeleteinfoAction ( |
Returns delete info for multiple ids. | |
patchAction ( $id, |
Partial update of account infos. | |
postAction ( |
Creates a new account. | |
putAction ( integer $id, |
Edits the existing contact with the given id. | |
putContactsAction ( integer $accountId, $contactId, |
Метод | Описание | |
---|---|---|
applyRequestParameters ( |
Applies the filter parameter and hasNoparent parameter for listbuilder. | |
doPatch ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account, |
Process geiven entity for patch. | |
doPost ( |
Maps data from request to a new account. | |
doPut ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account, |
processes given entity for put. | |
generateFlatListBuilder ( ) : |
Creates a listbuilder instance. | |
getAccountAddressesFieldDescriptors ( ) : null | array | ||
getAccountContactFieldDescriptors ( ) : null | array | ||
getAccountEntityName ( ) : string | ||
getAccountManager ( ) : AbstractContactManager | ||
getFieldDescriptorForNoParent ( ) : |
Returns fielddescriptor used for checking if account has no parent Will result in an error when added to the array of fielddescriptors because its just for checking if parent exists or not and does not point to a property of the parent. | |
getFieldDescriptors ( ) | ||
getRestHelper ( ) : Sulu\Component\Rest\RestHelperInterface | ||
initAccountAddressesFieldDescriptors ( ) | Inits the account contact descriptors. | |
initAccountContactFieldDescriptors ( ) | Inits the account contact descriptors. | |
initFieldDescriptors ( ) | Initializes the field descriptors. |
Метод | Описание | |
---|---|---|
addLogos ( array $accounts, string $locale ) : array | Takes an array of accounts and resets the logo-property containing the media id with the actual urls to the logo thumbnails. | |
retrieveFilter ( |
Retrieves the ids from the request. | |
setParent ( array $parentData, Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) | Set parent to account. |
protected applyRequestParameters ( |
||
$request | ||
$filter | array | |
$listBuilder |
public cgetAction ( |
||
$request | ||
Результат |
public deleteAction ( $id, |
||
$id | ||
$request | ||
Результат |
public deleteContactsAction ( integer $accountId, integer $contactId ) : |
||
$accountId | integer | |
$contactId | integer | |
Результат |
protected doPatch ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account, |
||
$account | Sulu\Bundle\ContactBundle\Entity\AccountInterface | |
$request | ||
$entityManager | Doctrine\Common\Persistence\ObjectManager |
protected doPost ( |
||
$request | ||
Результат | Sulu\Bundle\ContactBundle\Entity\AccountInterface |
protected doPut ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account, |
||
$account | Sulu\Bundle\ContactBundle\Entity\AccountInterface | |
$request |
public fieldsAction ( ) : mixed | ||
Результат | mixed |
protected generateFlatListBuilder ( ) : |
||
Результат |
protected getAccountAddressesFieldDescriptors ( ) : null | array | ||
Результат | null | array |
protected getAccountContactFieldDescriptors ( ) : null | array | ||
Результат | null | array |
protected getAccountEntityName ( ) : string | ||
Результат | string |
protected getAccountManager ( ) : AbstractContactManager | ||
Результат | AbstractContactManager |
public getAddressesAction ( integer $id, |
||
$id | integer | |
$request | ||
Результат |
public getContactsAction ( integer $id, |
||
$id | integer | |
$request | ||
Результат |
public getDeleteinfoAction ( $id ) : |
||
$id | ||
Результат |
protected getFieldDescriptorForNoParent ( ) : |
||
Результат |
protected getRestHelper ( ) : Sulu\Component\Rest\RestHelperInterface | ||
Результат | Sulu\Component\Rest\RestHelperInterface |
protected initAccountAddressesFieldDescriptors ( ) |
protected initAccountContactFieldDescriptors ( ) |
protected initFieldDescriptors ( ) |
public multipledeleteinfoAction ( |
||
$request | ||
Результат |
public patchAction ( $id, |
||
$id | ||
$request | ||
Результат |
public postAction ( |
||
$request | ||
Результат |
public putContactsAction ( integer $accountId, $contactId, |
||
$accountId | integer | |
$request | ||
Результат |
protected static $accountAddressEntityName |
protected static $accountContactEntityName |
protected AccountManager,Sulu\Bundle\ContactBundle\Contact $accountManager | ||
Результат |
protected static $accountSerializationGroups |
protected DoctrineFieldDescriptor[],Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor $fieldDescriptors | ||
Результат |