Constants

FieldKeyWebsiteDocumentsPrefix

FieldKeyWebsiteDocumentsPrefix

FieldKeyResponsibleContacts

FieldKeyResponsibleContacts

FieldKeyContactImages

FieldKeyContactImages

Properties

$language

$language : string

Gets or sets the language in which language-specific strings will be retrieved from the CRM-VISIONLINE system

Type

string

$endpoint

$endpoint : string

The endpoint used for webservice calls, e.g. https://app2.visionline.at/WebApi/WebApi.asmx?WSDL

Type

string

$stream_context

$stream_context : boolean|resource

Type

boolean|resource — The stream context to use for soap operations

$getFileUrl

$getFileUrl : string

The url used to get files, e.g. https://app2.visionline.at/WebApi/GetFile.ashx This field is implicitly computed from the endpoint.

Type

string

$debug

$debug : boolean

Specifies whether debugging is enabled or not.

Type

boolean

$debugStartTime

$debugStartTime : integer

Holds the time when the first debug message was provided. This is used for some light profiling.

Type

integer

$debugMessages

$debugMessages : array

Holds the collected debug messages

Type

array

$connection_timeout

$connection_timeout : integer

The connection timeout used for webservice calls

Type

integer

$bufferSize

$bufferSize : integer

The buffer size for file operations (default is 32K)

Type

integer

$cacheWebsiteDocuments

$cacheWebsiteDocuments : 

Specifies, whether to use cache for queryWebsiteDocuments

Type

Methods

__construct()

__construct(string  $endpoint, \Visionline\Crm\WebApi\Connection  $connection, array  $options) 

Creates a new CRM-VISIONLINE WebApi PHP Client

Parameters

string $endpoint

The endpoint (URL) of the CRM-VISIONLINE WebApi Webservice, e.g. https://app2.visionline.at/WebApi/WebApi.aspx?WSDL

\Visionline\Crm\WebApi\Connection $connection

The connection information to the CRM-VISIONLINE system

array $options

Set the specified options.

Throws

\InvalidArgumentException

If an unknown option was provided in $options

getDebugMessages()

getDebugMessages() : array

Returns the debug messages that have been collected since the last call to this method.

Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376 Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376

Returns

array —

The debug messages.

createQuery()

createQuery(string  $type) : \Visionline\Crm\WebApi\Query

Creates a query

Parameters

string $type

The entity type

Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376 Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376

Returns

\Visionline\Crm\WebApi\Query

The query

debug()

debug(mixed  $message) 

If debugging is enabled, collects a debug message

Parameters

mixed $message
Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376 Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376

_Query()

_Query(string  $type, array  $filters, array  $orders, integer  $first, integer  $max) : array

Calls the webservice method Query with the specified arguments

Parameters

string $type

the entity type

array $filters

the filters to use for this query

array $orders

the orders to use for this query

integer $first

index of the beginning of the result set

integer $max

maximum length of the result set

Throws

\Exception

if a remote error occurs

Returns

array —

an array of objects with the properties 'id' and 'lastModified'.

_QueryResponsibleContacts()

_QueryResponsibleContacts(string  $type, array<mixed,integer>  $ids) : \Visionline\Crm\WebApi\QueryResult

Calls the webservice method QueryResponsibleContacts with the specified arguments

Parameters

string $type

the entity type

array<mixed,integer> $ids

the entity id

Throws

\Exception

if a remote error occurs

Returns

\Visionline\Crm\WebApi\QueryResult

an array of objects with the properties 'id' and 'lastModified'.

_QueryContactImages()

_QueryContactImages(array  $ids) : array

Calls the webservice method QueryContactImages with the specified arguments

Parameters

array $ids

the contact ids

Throws

\Exception

if a remote error occurs

Returns

array —

of RelatedQueryResult describing the images of the specified contacts

_QueryWebsiteDocuments()

_QueryWebsiteDocuments(string  $type, array  $ids, integer  $max = null, array  $filterByExtension = null, array  $filterByDokumentart = null) : array

Calls the webservice method QueryWebsiteDocuments with the specified arguments

Parameters

string $type

the entity type

array $ids

the entity ids

integer $max

specifies the maximum count of website documents returned per entity

array $filterByExtension

filters the returned documents by the specified file extensions (array of strings)

array $filterByDokumentart

filters the returned documents by the specified document types (array of strings)

Throws

\Exception

if a remote error occurs

Returns

array —

The query results

_QueryKontakte()

_QueryKontakte(string  $type, array  $ids, integer  $max = null, array  $filterByRole = null) : array

Calls the webservice method QueryKontakte with the specified arguments

Parameters

string $type

the entity type (EntityType::Objekt or EntityType::Projekt)

array $ids

the entity ids

integer $max

specifies the maximum number of results

array $filterByRole

filters the returned results by the specified roles (array of strings)

Throws

\Exception

if a remote error occurs

Returns

array —

The query results

_QueryObjekte()

_QueryObjekte(string  $type, array  $ids, integer  $max = null, array  $filterByRole = null) : array

Calls the webservice method QueryObjekte with the specified arguments

Parameters

string $type

the entity type (EntityType::Kontakt)

array $ids

the entity ids

integer $max

specifies the maximum number of results

array $filterByRole

filters the returned results by the specified roles (array of strings)

Throws

\Exception

if a remote error occurs

Returns

array —

of \Visionline\Crm\WebApi\RelatedRoleQueryResult describing the real estates

_QueryProjekte()

_QueryProjekte(string  $type, array  $ids, integer  $max = null, array  $filterByRole = null) : array

Calls the webservice method QueryProjekte with the specified arguments

Parameters

string $type

the entity type (EntityType::Kontakt)

array $ids

the entity ids

integer $max

specifies the maximum number of results

array $filterByRole

filters the returned results by the specified roles (array of strings)

Throws

\Exception

if a remote error occurs

Returns

array —

of \Visionline\Crm\WebApi\RelatedRoleQueryResult describing the projects

_GetInterests()

_GetInterests(array  $kontaktIds, array  $filterByStatus = null) : array<mixed,\Visionline\Crm\WebApi\Interest>

Calls the webservice method GetInterests with the specified arguments

Parameters

array $kontaktIds

The IDs of the contacts

array $filterByStatus

filter the returned results by the specified stati

Throws

\Exception

if a remote error occurs

Returns

array<mixed,\Visionline\Crm\WebApi\Interest> —

describing the interests

_UpdateInterest()

_UpdateInterest(  $interest) 

Calls the webservice method UpdateInterest with the specified arguments

Parameters

$interest

Throws

\Exception

if a remote error occurs

_GetEnquiries()

_GetEnquiries(array  $enquiryIds) : array<mixed,\Visionline\Crm\WebApi\StoredEnquiry>

Calls the webservice method GetInterests with the specified arguments

Parameters

array $enquiryIds

The IDs of the enquiries

Throws

\Exception

if a remote error occurs

Returns

array<mixed,\Visionline\Crm\WebApi\StoredEnquiry> —

describing the interests

_QueryEvents()

_QueryEvents(\DateTime|null  $fromTimestamp, integer|null  $afterId, integer  $max) : array<mixed,\Visionline\Crm\WebApi\EventQueryResult>

Calls the webservice method QueryEvents with the specified arguments

Parameters

\DateTime|null $fromTimestamp

If supplied, only events that happened at or after this timestamp are returned.

integer|null $afterId

If supplied, only events that happened after the event with this ID are returned.

integer $max

Specifies the maximum amount of events to return.

Throws

\Exception

if a remote error occurs

Returns

array<mixed,\Visionline\Crm\WebApi\EventQueryResult> —

describing the events

_Get()

_Get(string  $type, array  $ids, array  $fields, boolean  $return_ids = false) : array

Calls the webservice method Get with the specified arguments

Parameters

string $type

the entity type

array $ids

the ids of the requested entities (array of int)

array $fields

the requested fields (array of string)

boolean $return_ids

Whether to return ids instead of values for relations

Throws

\SoapFault

if a remote error occurs

Returns

array —

A two-dimensional array that contains the results. The keys of the first level are the ids of the entities. The keys of the second level are the field identifiers and values are the corresponding field values. The field values are UTF-8 encoded strings.

_Create()

_Create(string  $type, array  $fieldValues) : integer

Calls the webservice method Create with the specified arguments

Parameters

string $type

the entity type

array $fieldValues

the field values to assign to the created entity (associative array of string)

Throws

\SoapFault

if a remote error occurs

Returns

integer —

The id of the created entity

_Update()

_Update(string  $type, integer  $id, array  $fieldValues) 

Calls the webservice method Update with the specified arguments

Parameters

string $type

the entity type

integer $id

the id of the entity to be updated

array $fieldValues

the field values to set (associative array of string)

Throws

\SoapFault

if a remote error occurs

_EnumFields()

_EnumFields(string  $type, string  $category = NULL) : array

Calls the webservice method EnumFields with the specified arguments

Parameters

string $type

the entity type

string $category

the field category (optional)

Throws

\SoapFault

if a remote error occurs

Returns

array —

of EnumFieldsResult

enumFields()

enumFields(string  $type, string  $category = NULL) : array

Enumerates the fields in CRM-VISIONLINE system for the specified type and optionally in the specified category.

Parameters

string $type

The entity type for which the fields should be enumerated

string $category

The category of fields to which the result set should be limited. This string has to be UTF-8 encoded.

Throws

\Exception

if a remote error occurs

Returns

array —

of EnumFieldsResult

queryResponsibleContacts()

queryResponsibleContacts(string  $type, integer|\Visionline\Crm\WebApi\QueryResult|array  $which) : array

Queries the responsible contacts of the specified entities.

Parameters

string $type

The entity type

integer|\Visionline\Crm\WebApi\QueryResult|array $which

Specifies the entities for which the responsible contacts should be queried

Throws

\InvalidArgumentException

if $which is not of type int, QueryResult, array of int or array of QueryResult

\Exception

if a remote error occurs

Returns

array —

of \Visionline\Crm\WebApi\RelatedQueryResult describing the responsible contacts

queryWebsiteDocuments()

queryWebsiteDocuments(string  $type, integer|\Visionline\Crm\WebApi\QueryResult|array  $which, integer  $max = null, array  $filterByExtension = null, array  $filterByDokumentart = null) : array

Queries the website documents of entities. Currently only the entity types Objekt and Projekt are supported.

Parameters

string $type

The entity type (EntityType::Objekt or EntityType::Projekt)

integer|\Visionline\Crm\WebApi\QueryResult|array $which

Specifies the entities for which the website documents should be queried

integer $max

specifies the maximum count of website documents returned per entity

array $filterByExtension

filters the returned documents by the specified file extensions (array of strings)

array $filterByDokumentart

filters the returned documents by the specified document types (array of strings)

Throws

\InvalidArgumentException

if $which is not of type int, QueryResult, array of int or array of QueryResult

\Exception

if a remote error occurs

Returns

array —

of \Visionline\Crm\WebApi\RelatedQueryResult describing the website documents

queryKontakte()

queryKontakte(string  $type, integer|\Visionline\Crm\WebApi\QueryResult|array  $which, integer  $max = null, array  $filterByRole = null) : array

Queries the contacts of real estates or projects.

Parameters

string $type

The entity type (EntityType::Objekt or EntityType::Projekt)

integer|\Visionline\Crm\WebApi\QueryResult|array $which

Specifies the entities for which the contacts should be queried

integer $max

specifies the maximum number of results

array $filterByRole

Optionally filters the returned documents by the specified file extensions (array of strings)

Throws

\InvalidArgumentException

if $which is not of type int, QueryResult, array of int or array of QueryResult

\Exception

if a remote error occurs

Returns

array —

of \Visionline\Crm\WebApi\RelatedRoleQueryResult describing the contacts

queryObjekte()

queryObjekte(string  $type, integer|\Visionline\Crm\WebApi\QueryResult|array  $which, integer  $max = null, array  $filterByRole = null) : array

Queries the real estates of contacts.

Parameters

string $type

The entity type (EntityType::Kontakt)

integer|\Visionline\Crm\WebApi\QueryResult|array $which

Specifies the contacts for which the real estates should be queried

integer $max

specifies the maximum number of results

array $filterByRole

Optionally filters the returned documents by the specified file extensions (array of strings)

Throws

\InvalidArgumentException

if $which is not of type int, QueryResult, array of int or array of QueryResult

\Exception

if a remote error occurs

Returns

array —

of \Visionline\Crm\WebApi\RelatedRoleQueryResult describing the real estates

queryProjekte()

queryProjekte(string  $type, integer|\Visionline\Crm\WebApi\QueryResult|array  $which, integer  $max = null, array  $filterByRole = null) : array|array<mixed,\Visionline\Crm\WebApi\RelatedRoleQueryResult>

Queries the projects of contacts.

Parameters

string $type

The entity type (EntityType::Kontakt)

integer|\Visionline\Crm\WebApi\QueryResult|array $which

Specifies the contacts for which the projects should be queried

integer $max

specifies the maximum number of results

array $filterByRole

Optionally filters the returned documents by the specified file extensions (array of strings)

Throws

\InvalidArgumentException

if $which is not of type int, QueryResult, array of int or array of QueryResult

\Exception

if a remote error occurs

Returns

array|array<mixed,\Visionline\Crm\WebApi\RelatedRoleQueryResult> —

describing the projects

queryContactImages()

queryContactImages(integer|\Visionline\Crm\WebApi\QueryResult|array  $which) : array|array<mixed,\Visionline\Crm\WebApi\RelatedQueryResult>

Queries the images of the specified contacts

Parameters

integer|\Visionline\Crm\WebApi\QueryResult|array $which

Specifies the contacts for which the images should be queried

Throws

\InvalidArgumentException

if $which is not of type int, QueryResult, array of int or array of QueryResult

\Exception

if a remote error occurs

Returns

array|array<mixed,\Visionline\Crm\WebApi\RelatedQueryResult> —

describing the website documents

create()

create(string  $type, array  $values) : integer

Creates an entity of the specified type and sets its fields to the specified values.

Parameters

string $type

The type of the entity to create

array $values

The values to which the entities fields should be set (associative array where the key is the field identifier and the value the field´s value)

Throws

\Exception

if a remote error occurs

Returns

integer —

The id of the created entity

update()

update(string  $type, integer  $id, array  $values) 

Updates the entity of the specified type with the specified id and sets it´s fields to the specified values.

Parameters

string $type

The type of the entity to update

integer $id

The id of the entity to update

array $values

The values to which the entity´s fields should be set (associative array where the key is the field identifier and the value the field´s value)

Throws

\Exception

if a remote error occurs

get()

get(string  $type, array|integer  $which, array  $fields, array  $idFields = array()) : array

Gets the values of the fields for the specified entities.

Parameters

string $type

The entity type

array|integer $which

Specifies for which entities the fields should be returned. This can either be the id of an entity (int), multiple ids of entities (array of int), a query result describing an entity (QueryResult) or multiple query results describing entities (array of QueryResult)

array $fields

The requested fields (array of string). The strings in this array have to be UTF-8 encoded.

array $idFields

The requested fields as ids (array of string). The strings in this array have to be UTF-8 encoded.

Throws

\Exception

if a remote error occurs

Returns

array —

A two-dimensional array that contains the results. The keys of the first level are the ids of the entities. The keys of the second level are the field identifiers and values are the corresponding field values.

getFile()

getFile(array|integer  $documents, integer  $width = null, integer  $height = null, string  $resizeMode = null) : string

Returns the content(s) of the specified document(s) and optionally applies resizing (only works for images).

This method should not be called for large files from within an enduser-request, because it blocks until the whole file has been retrieved from the CRM-VISIONLINE system.

Parameters

array|integer $documents

The document(s) for which the content should be returned. This can either be the id of the document (int), multiple document ids (array of int), a query result describing a document (QueryResult) or multiple query results describing multiple documents (array of QueryResult).

integer $width

The width to which the image should be resized (optional).

integer $height

The height to which the image should be resized (optional).

string $resizeMode

Specifies how the image should be resized (optional).

Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376 Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376

Returns

string —

The file contents

saveFile()

saveFile(integer|\Visionline\Crm\WebApi\QueryResult  $document, string  $directory, boolean  $forceDownload = false, integer  $width = null, integer  $height = null, string  $resizeMode = null) : string

Saves the content of the specified document to a file in the specified directory and optionally applies resizing (only works for images).

This method should not be called for large files from within an enduser-request, because it blocks until the whole file has been retrieved from the CRM-VISIONLINE system.

Parameters

integer|\Visionline\Crm\WebApi\QueryResult $document

The document for which the content should be saved. This can either be the id of the document (int) or query result describing a document.

string $directory

The directory to which the file should be written.

boolean $forceDownload

If true, the file is downloaded even if it already exists in the specified directory and is up-to-date regarding the lastModified date (optional).

integer $width

The width to which the image should be resized (optional).

integer $height

The height to which the image should be resized (optional).

string $resizeMode

Specifies how the image should be resized (optional).

Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376 Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376

Returns

string —

The filename under which the contents have been saved.

saveFiles()

saveFiles(array  $documents, string  $directory, boolean  $forceDownload = false, integer  $width = null, integer  $height = null, string  $resizeMode = null) : array

Saves the content of the specified documents to files in the specified directory and optionally applies resizing (only works for images).

This method should not be called for large files from within an enduser-request, because it blocks until the whole file has been retrieved from the CRM-VISIONLINE system.

Parameters

array $documents

The documents for which the content should be saved. This can either be ids or query results.

string $directory

The directory to which the file should be written.

boolean $forceDownload

If true, the file is downloaded even if it already exists in the specified directory and is up-to-date regarding the lastModified date (optional).

integer $width

The width to which the images should be resized (optional).

integer $height

The height to which the images should be resized (optional).

string $resizeMode

Specifies how the images should be resized (optional).

Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376 Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376

Returns

array —

The filenames under which the files have been saved, where the key is the documents id.

passthruFile()

passthruFile(array|integer  $document, boolean  $sendHeaders = false, integer  $width = null, integer  $height = null, string  $resizeMode = null, boolean  $attachment = false) 

Outputs the content of the specified document(s) and optionally applies resizing (only works for images).

It is safe to call this method from within an enduser-request, because it immediately outputs chunks of data as they are received from the CRM-VISIONLINE system.

Parameters

array|integer $document

The document(s) for which the content should be output. This can either be the id of the document (int), multiple document ids (array of int), a query result describing a document (QueryResult) or multiple query results describing multiple documents (array of QueryResult).

boolean $sendHeaders

If true, the HTTP headers 'Content-type' and 'Content-disposition' are sent via header()

integer $width

The width to which the image should be resized (optional).

integer $height

The height to which the image should be resized (optional).

string $resizeMode

Specifies how the image should be resized (optional).

boolean $attachment

If true, the HTTP header 'Content-disposition' is set to 'attachment'

Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376 Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376

queryEvents()

queryEvents(\DateTime|null  $fromTimestamp, integer|null  $afterId, integer  $max) : array<mixed,\Visionline\Crm\WebApi\EventQueryResult>

Calls the webservice method QueryEvents with the specified arguments

Parameters

\DateTime|null $fromTimestamp

If supplied, only events that happened at or after this timestamp are returned.

integer|null $afterId

If supplied, only events that happened after the event with this ID are returned.

integer $max

Specifies the maximum amount of events to return.

Throws

\Exception

if a remote error occurs

Returns

array<mixed,\Visionline\Crm\WebApi\EventQueryResult> —

describing the events

getInterests()

getInterests(integer|\Visionline\Crm\WebApi\QueryResult|array  $contacts, array  $filterByStatus = null) : array

Returns the interests of the specified contact, optionally filtered by status.

Parameters

integer|\Visionline\Crm\WebApi\QueryResult|array $contacts

The contacts

array $filterByStatus

Filters the interests by their status

Throws

\Exception

if a remote error occurs

Returns

array —

of Interest: the interests of the contacts

updateInterest()

updateInterest(\Visionline\Crm\WebApi\Interest  $interest) 

Updates the specified interest.

Parameters

\Visionline\Crm\WebApi\Interest $interest

The Interest to update

Throws

\Exception

if a remote error occurs

getEnquiries()

getEnquiries(integer|\Visionline\Crm\WebApi\QueryResult|array  $enquiries) : array

Retrieves the specified enquiries

Parameters

integer|\Visionline\Crm\WebApi\QueryResult|array $enquiries

The enquiries

Throws

\Exception

if a remote error occurs

Returns

array —

of StoredEnquiry: the enquiries

setOption()

setOption(string  $option, mixed  $value) 

Sets the specified option to the specified value.

Parameters

string $option

The option's name

mixed $value

The option's value

Throws

\InvalidArgumentException

If an invalid option name was supplied

cacheWrite()

cacheWrite(string  $type, integer  $id, integer  $lastModified, array  $fields, array  $idFields = array()) 

Writes a cache entry.

Parameters

string $type

The entity type

integer $id

The entity id

integer $lastModified

The entitys last modification date

array $fields

The entitys fields

array $idFields

The entity`s fields with ids instead of names

Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376 Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376

cacheRead()

cacheRead(string  $type, array  $results, array  $fields, boolean  $return_ids = false) : array

Reads a cache entry.

Parameters

string $type

The entity type

array $results

Results found in the cache are set to this array.

array $fields

The entitys fields

boolean $return_ids

Whether the cache entry contains IDs instead of values for relation fields

Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376 Warning: count(): Parameter must be an array or an object that implements Countable in phar://E:/source/CRM-VISIONLINE/3.4.2/Source/Website/build/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1376

Returns

array —

The ids of the entities that could not be answered from the cache.