CRM V2

Markers

Table of Contents

examples/CustomerExample.php 1
src/Enums/ApiError.php 2
src/Enums/Country.php 1
src/Exceptions/ApiErrorException.php 2
src/Exceptions/CrmException.php 1
src/Models/Answer.php 1
src/Models/ArcadiaMailDefault.php 3
src/Models/ArcadiaMailGame.php 2
src/Models/CrmClientModel.php 5
src/Models/Customer.php 5
src/Models/Question.php 3
src/Transport/ApiInterface.php 6
src/Transport/Request.php 1
src/Transport/Response.php 4
src/Utils.php 8
src/WordPress/WPCrm.php 8
src/WordPress/WPCrmAnswer.php 2
src/WordPress/WPCrmQuestion.php 6
src/WordPress/WPCrmUser.php 2

CustomerExample.php

Type Line Description
53 phpcs:ignore Squiz.PHP.DiscouragedFunctions.Found

ApiError.php

Type Line Description
53 supportweb.ldc.fr
59 supportweb.ldc.fr

Country.php

Type Line Description
9 datahub.io/core/country-list Data Hub country list

ApiErrorException.php

Type Line Description
100 @codeCoverageIgnoreStart
102 @codeCoverageIgnoreEnd

CrmException.php

Type Line Description
11 supportweb.ldc.fr

Answer.php

Type Line Description
80 * PUBLIC METHODS

ArcadiaMailDefault.php

Type Line Description
325 * Cast anyway
349 Use this to throw validation error.
357 * PUBLIC METHODS

ArcadiaMailGame.php

Type Line Description
294 * Cast anyway
301 * PUBLIC METHODS

CrmClientModel.php

Type Line Description
118 phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch
120 Do nothing.
148 * Force boolean
166 end foreach
167 end if

Customer.php

Type Line Description
349 * Cast anyway
370 Use this to throw validation error.
378 * PUBLIC METHODS
399 ! Use fillRaw here because we cant validate comming
400 ! from CRM since it has crappy data comming from the old crm (jellix).

Question.php

Type Line Description
158 * Cast anyway
179 Use this to throw validation error.
187 * PUBLIC METHODS

ApiInterface.php

Type Line Description
78 Handle HTTP Auth .
97 * Handle response Status.
175 ! UTC date time.
195 %s%s',
196 Assume https if non provided, security first.
221 ! Natural sort by keys.

Request.php

Type Line Description
169 ! Do not throw HTTP Exceptions.

Response.php

Type Line Description
97 * Body should be json data.
106 * If Api Error.
108 * If CRM Exception or Any Exception.
112 * From here it should be an ApiErrorException.

Utils.php

Type Line Description
58 end foreach
59 end foreach
126 end switch
129 * VALIDATION RULES
502 * END VALIDATION RULES
534 Convert bool to integer.
641 end switch
643 end if

WPCrm.php

Type Line Description
9 opensource.org/licenses/MIT
43 opensource.org/licenses/MIT
351 * --- PRIVATE --- METHODS
475 If session identity is violated.
477 If session timed out.
480 * 15 minutes session.
483 Destroy session.
621 phpcs:ignore Squiz.PHP.GlobalKeyword.NotAllowed

WPCrmAnswer.php

Type Line Description
9 opensource.org/licenses/MIT
24 opensource.org/licenses/MIT

WPCrmQuestion.php

Type Line Description
9 opensource.org/licenses/MIT
25 opensource.org/licenses/MIT
57 * Force loading of user info from crm
61 * Get the raw customer
80 * Force loading of user info from crm
84 * Get the raw customer

WPCrmUser.php

Type Line Description
9 opensource.org/licenses/MIT
66 opensource.org/licenses/MIT

Search results