diff --git a/.env.example b/.env.example index e19fb18..a7b4b51 100644 --- a/.env.example +++ b/.env.example @@ -32,4 +32,7 @@ MAIL_FROM_ADDRESS="hello@example.com" MAIL_FROM_NAME="${APP_NAME}" # Sentry -SENTRY_LARAVEL_DSN= \ No newline at end of file +SENTRY_LARAVEL_DSN= + +# CRM +CRM_ENDPOINT= \ No newline at end of file diff --git a/README.md b/README.md index 7e0f87f..192ea33 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ -# MesBR \ No newline at end of file +# MesBR + +## CRONS + +* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1 \ No newline at end of file diff --git a/app/Console/Commands/CouponsCanBeUsed.php b/app/Console/Commands/CouponsCanBeUsed.php new file mode 100644 index 0000000..d4dcdb7 --- /dev/null +++ b/app/Console/Commands/CouponsCanBeUsed.php @@ -0,0 +1,34 @@ +handle(); + } +} diff --git a/app/Console/Commands/PurgeCouponsPdf.php b/app/Console/Commands/PurgeCouponsPdf.php new file mode 100644 index 0000000..62d08f9 --- /dev/null +++ b/app/Console/Commands/PurgeCouponsPdf.php @@ -0,0 +1,34 @@ +handle(); + } +} diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 363401a..8352f12 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -2,7 +2,6 @@ namespace App\Console; -use App\Jobs\CouponCanBeUsedUpdate; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; @@ -16,7 +15,8 @@ class Kernel extends ConsoleKernel */ protected function schedule(Schedule $schedule) { - $schedule->job(CouponCanBeUsedUpdate::class)->everyMinute(); + $schedule->job(new PurgeCouponsPdf())->hourly(); + $schedule->job(new CouponsCanBeUsed())->daily(); } /** diff --git a/app/Enums/Country.php b/app/Enums/Country.php index 7d0c40b..fb8427e 100644 --- a/app/Enums/Country.php +++ b/app/Enums/Country.php @@ -259,365 +259,342 @@ enum Country: int case zimbabwe = 249; /** - * Optionnal labels definition + * Custom added images definition */ private const LABELS = [ - self::afghanistan->name => 'Afghanistan', - self::alandIslands->name => 'Åland Islands', - self::albania->name => 'Albania', - self::algeria->name => 'Algeria', - self::americanSamoa->name => 'American Samoa', - self::andorra->name => 'Andorra', - self::angola->name => 'Angola', - self::anguilla->name => 'Anguilla', - self::antarctica->name => 'Antarctica', - self::antiguaAndBarbuda->name => 'Antigua and Barbuda', - self::argentina->name => 'Argentina', - self::armenia->name => 'Armenia', - self::aruba->name => 'Aruba', - self::australia->name => 'Australia', - self::austria->name => 'Austria', - self::azerbaijan->name => 'Azerbaijan', - self::bahrain->name => 'Bahrain', - self::bahamas->name => 'Bahamas', - self::bangladesh->name => 'Bangladesh', - self::barbados->name => 'Barbados', - self::belarus->name => 'Belarus', - self::belgium->name => 'Belgium', - self::belize->name => 'Belize', - self::benin->name => 'Benin', - self::bermuda->name => 'Bermuda', - self::bhutan->name => 'Bhutan', - self::boliviaPlurinationalStateOf->name => 'Bolivia, Plurinational State of', - self::bonaireSintEustatiusAndSaba->name => 'Bonaire, Sint Eustatius and Saba', - self::bosniaAndHerzegovina->name => 'Bosnia and Herzegovina', - self::botswana->name => 'Botswana', - self::bouvetIsland->name => 'Bouvet Island', - self::brazil->name => 'Brazil', - self::britishIndianOceanTerritory->name => 'British Indian Ocean Territory', - self::bruneiDarussalam->name => 'Brunei Darussalam', - self::bulgaria->name => 'Bulgaria', - self::burkinaFaso->name => 'Burkina Faso', - self::burundi->name => 'Burundi', - self::cambodia->name => 'Cambodia', - self::cameroon->name => 'Cameroon', - self::canada->name => 'Canada', - self::capeVerde->name => 'Cape Verde', - self::caymanIslands->name => 'Cayman Islands', - self::centralAfricanRepublic->name => 'Central African Republic', - self::chad->name => 'Chad', - self::chile->name => 'Chile', - self::china->name => 'China', - self::christmasIsland->name => 'Christmas Island', - self::cocosKeelingIslands->name => 'Cocos (Keeling) Islands', - self::colombia->name => 'Colombia', - self::comoros->name => 'Comoros', - self::congo->name => 'Congo', - self::congoTheDemocraticRepublicOfThe->name => 'Congo, the Democratic Republic of the', - self::cookIslands->name => 'Cook Islands', - self::costaRica->name => 'Costa Rica', - self::coteDivoire->name => 'Côte d\'Ivoire', - self::croatia->name => 'Croatia', - self::cuba->name => 'Cuba', - self::curacao->name => 'Curaçao', - self::cyprus->name => 'Cyprus', - self::czechRepublic->name => 'Czech Republic', - self::denmark->name => 'Denmark', - self::djibouti->name => 'Djibouti', - self::dominica->name => 'Dominica', - self::dominicanRepublic->name => 'Dominican Republic', - self::ecuador->name => 'Ecuador', - self::egypt->name => 'Egypt', - self::elSalvador->name => 'El Salvador', - self::equatorialGuinea->name => 'Equatorial Guinea', - self::eritrea->name => 'Eritrea', - self::estonia->name => 'Estonia', - self::ethiopia->name => 'Ethiopia', - self::falklandIslandsMalvinas->name => 'Falkland Islands (Malvinas)', - self::faroeIslands->name => 'Faroe Islands', - self::fiji->name => 'Fiji', - self::finland->name => 'Finland', - self::france->name => 'France', - self::frenchGuiana->name => 'French Guiana', - self::frenchPolynesia->name => 'French Polynesia', - self::frenchSouthernTerritories->name => 'French Southern Territories', - self::gabon->name => 'Gabon', - self::gambia->name => 'Gambia', - self::georgia->name => 'Georgia', - self::germany->name => 'Germany', - self::ghana->name => 'Ghana', - self::gibraltar->name => 'Gibraltar', - self::greece->name => 'Greece', - self::greenland->name => 'Greenland', - self::grenada->name => 'Grenada', - self::guadeloupe->name => 'Guadeloupe', - self::guam->name => 'Guam', - self::guatemala->name => 'Guatemala', - self::guernsey->name => 'Guernsey', - self::guinea->name => 'Guinea', - self::guineaBissau->name => 'GuineaBissau', - self::guyana->name => 'Guyana', - self::haiti->name => 'Haiti', - self::heardIslandAndMcdonaldIslands->name => 'Heard Island and McDonald Islands', - self::holySeeVaticanCityState->name => 'Holy See (Vatican City State)', - self::honduras->name => 'Honduras', - self::hongKong->name => 'Hong Kong', - self::hungary->name => 'Hungary', - self::iceland->name => 'Iceland', - self::india->name => 'India', - self::indonesia->name => 'Indonesia', - self::iranIslamicRepublicOf->name => 'Iran, Islamic Republic of', - self::iraq->name => 'Iraq', - self::ireland->name => 'Ireland', - self::isleOfMan->name => 'Isle of Man', - self::israel->name => 'Israel', - self::italy->name => 'Italy', - self::jamaica->name => 'Jamaica', - self::japan->name => 'Japan', - self::jersey->name => 'Jersey', - self::jordan->name => 'Jordan', - self::kazakhstan->name => 'Kazakhstan', - self::kenya->name => 'Kenya', - self::kiribati->name => 'Kiribati', - self::koreaDemocraticPeoplesRepublicOf->name => 'Korea, Democratic People\'s Republic of', - self::koreaRepublicOf->name => 'Korea, Republic of', - self::kuwait->name => 'Kuwait', - self::kyrgyzstan->name => 'Kyrgyzstan', - self::laoPeoplesDemocraticRepublic->name => 'Lao People\'s Democratic Republic', - self::latvia->name => 'Latvia', - self::lebanon->name => 'Lebanon', - self::lesotho->name => 'Lesotho', - self::liberia->name => 'Liberia', - self::libya->name => 'Libya', - self::liechtenstein->name => 'Liechtenstein', - self::lithuania->name => 'Lithuania', - self::luxembourg->name => 'Luxembourg', - self::macao->name => 'Macao', - self::macedoniaTheFormerYugoslavRepublicOf->name => 'Macedonia, the Former Yugoslav Republic of', - self::madagascar->name => 'Madagascar', - self::malawi->name => 'Malawi', - self::malaysia->name => 'Malaysia', - self::maldives->name => 'Maldives', - self::mali->name => 'Mali', - self::malta->name => 'Malta', - self::marshallIslands->name => 'Marshall Islands', - self::martinique->name => 'Martinique', - self::mauritania->name => 'Mauritania', - self::mauritius->name => 'Mauritius', - self::mayotte->name => 'Mayotte', - self::mexico->name => 'Mexico', - self::micronesiaFederatedStatesOf->name => 'Micronesia, Federated States of', - self::moldovaRepublicOf->name => 'Moldova, Republic of', - self::monaco->name => 'Monaco', - self::mongolia->name => 'Mongolia', - self::montenegro->name => 'Montenegro', - self::montserrat->name => 'Montserrat', - self::morocco->name => 'Morocco', - self::mozambique->name => 'Mozambique', - self::myanmar->name => 'Myanmar', - self::namibia->name => 'Namibia', - self::nauru->name => 'Nauru', - self::nepal->name => 'Nepal', - self::netherlands->name => 'Netherlands', - self::newCaledonia->name => 'New Caledonia', - self::newZealand->name => 'New Zealand', - self::nicaragua->name => 'Nicaragua', - self::niger->name => 'Niger', - self::nigeria->name => 'Nigeria', - self::niue->name => 'Niue', - self::norfolkIsland->name => 'Norfolk Island', - self::northernMarianaIslands->name => 'Northern Mariana Islands', - self::norway->name => 'Norway', - self::oman->name => 'Oman', - self::pakistan->name => 'Pakistan', - self::palau->name => 'Palau', - self::palestineStateOf->name => 'Palestine, State of', - self::panama->name => 'Panama', - self::papuaNewGuinea->name => 'Papua New Guinea', - self::paraguay->name => 'Paraguay', - self::peru->name => 'Peru', - self::philippines->name => 'Philippines', - self::pitcairn->name => 'Pitcairn', - self::poland->name => 'Poland', - self::portugal->name => 'Portugal', - self::puertoRico->name => 'Puerto Rico', - self::qatar->name => 'Qatar', - self::reunion->name => 'Réunion', - self::romania->name => 'Romania', - self::russianFederation->name => 'Russian Federation', - self::rwanda->name => 'Rwanda', - self::saintBarthelemy->name => 'Saint Barthélemy', - self::saintHelenaAscensionAndTristanDaCunha->name => 'Saint Helena, Ascension and Tristan da Cunha', - self::saintKittsAndNevis->name => 'Saint Kitts and Nevis', - self::saintLucia->name => 'Saint Lucia', - self::saintMartinFrenchPart->name => 'Saint Martin (French part)', - self::saintPierreAndMiquelon->name => 'Saint Pierre and Miquelon', - self::saintVincentAndTheGrenadines->name => 'Saint Vincent and the Grenadines', - self::samoa->name => 'Samoa', - self::sanMarino->name => 'San Marino', - self::saoTomeAndPrincipe->name => 'Sao Tome and Principe', - self::saudiArabia->name => 'Saudi Arabia', - self::senegal->name => 'Senegal', - self::serbia->name => 'Serbia', - self::seychelles->name => 'Seychelles', - self::sierraLeone->name => 'Sierra Leone', - self::singapore->name => 'Singapore', - self::sintMaartenDutchPart->name => 'Sint Maarten (Dutch part)', - self::slovakia->name => 'Slovakia', - self::slovenia->name => 'Slovenia', - self::solomonIslands->name => 'Solomon Islands', - self::somalia->name => 'Somalia', - self::southAfrica->name => 'South Africa', - self::southGeorgiaAndTheSouthSandwichIslands->name => 'South Georgia and the South Sandwich Islands', - self::southSudan->name => 'South Sudan', - self::spain->name => 'Spain', - self::sriLanka->name => 'Sri Lanka', - self::sudan->name => 'Sudan', - self::suriname->name => 'Suriname', - self::svalbardAndJanMayen->name => 'Svalbard and Jan Mayen', - self::swaziland->name => 'Swaziland', - self::sweden->name => 'Sweden', - self::switzerland->name => 'Switzerland', - self::syrianArabRepublic->name => 'Syrian Arab Republic', - self::taiwanProvinceOfChina->name => 'Taiwan, Province of China', - self::tajikistan->name => 'Tajikistan', - self::tanzaniaUnitedRepublicOf->name => 'Tanzania, United Republic of', - self::thailand->name => 'Thailand', - self::timorLeste->name => 'TimorLeste', - self::togo->name => 'Togo', - self::tokelau->name => 'Tokelau', - self::tonga->name => 'Tonga', - self::trinidadAndTobago->name => 'Trinidad and Tobago', - self::tunisia->name => 'Tunisia', - self::turkey->name => 'Turkey', - self::turkmenistan->name => 'Turkmenistan', - self::turksAndCaicosIslands->name => 'Turks and Caicos Islands', - self::tuvalu->name => 'Tuvalu', - self::uganda->name => 'Uganda', - self::ukraine->name => 'Ukraine', - self::unitedArabEmirates->name => 'United Arab Emirates', - self::unitedKingdom->name => 'United Kingdom', - self::unitedStates->name => 'United States', - self::unitedStatesMinorOutlyingIslands->name => 'United States Minor Outlying Islands', - self::uruguay->name => 'Uruguay', - self::uzbekistan->name => 'Uzbekistan', - self::vanuatu->name => 'Vanuatu', - self::venezuelaBolivarianRepublicOf->name => 'Venezuela, Bolivarian Republic of', - self::vietNam->name => 'Viet Nam', - self::virginIslandsBritish->name => 'Virgin Islands, British', - self::virginIslandsUs->name => 'Virgin Islands, U.S.', - self::wallisAndFutuna->name => 'Wallis and Futuna', - self::westernSahara->name => 'Western Sahara', - self::yemen->name => 'Yemen', - self::zambia->name => 'Zambia', - self::zimbabwe->name => 'Zimbabwe', + self::afghanistan->name => "Afghanistan", + self::alandIslands->name => "Åland Islands", + self::albania->name => "Albania", + self::algeria->name => "Algeria", + self::americanSamoa->name => "American Samoa", + self::andorra->name => "Andorra", + self::angola->name => "Angola", + self::anguilla->name => "Anguilla", + self::antarctica->name => "Antarctica", + self::antiguaAndBarbuda->name => "Antigua and Barbuda", + self::argentina->name => "Argentina", + self::armenia->name => "Armenia", + self::aruba->name => "Aruba", + self::australia->name => "Australia", + self::austria->name => "Austria", + self::azerbaijan->name => "Azerbaijan", + self::bahrain->name => "Bahrain", + self::bahamas->name => "Bahamas", + self::bangladesh->name => "Bangladesh", + self::barbados->name => "Barbados", + self::belarus->name => "Belarus", + self::belgium->name => "Belgium", + self::belize->name => "Belize", + self::benin->name => "Benin", + self::bermuda->name => "Bermuda", + self::bhutan->name => "Bhutan", + self::boliviaPlurinationalStateOf->name => "Bolivia, Plurinational State of", + self::bonaireSintEustatiusAndSaba->name => "Bonaire, Sint Eustatius and Saba", + self::bosniaAndHerzegovina->name => "Bosnia and Herzegovina", + self::botswana->name => "Botswana", + self::bouvetIsland->name => "Bouvet Island", + self::brazil->name => "Brazil", + self::britishIndianOceanTerritory->name => "British Indian Ocean Territory", + self::bruneiDarussalam->name => "Brunei Darussalam", + self::bulgaria->name => "Bulgaria", + self::burkinaFaso->name => "Burkina Faso", + self::burundi->name => "Burundi", + self::cambodia->name => "Cambodia", + self::cameroon->name => "Cameroon", + self::canada->name => "Canada", + self::capeVerde->name => "Cape Verde", + self::caymanIslands->name => "Cayman Islands", + self::centralAfricanRepublic->name => "Central African Republic", + self::chad->name => "Chad", + self::chile->name => "Chile", + self::china->name => "China", + self::christmasIsland->name => "Christmas Island", + self::cocosKeelingIslands->name => "Cocos (Keeling) Islands", + self::colombia->name => "Colombia", + self::comoros->name => "Comoros", + self::congo->name => "Congo", + self::congoTheDemocraticRepublicOfThe->name => "Congo, the Democratic Republic of the", + self::cookIslands->name => "Cook Islands", + self::costaRica->name => "Costa Rica", + self::coteDivoire->name => "Côte d'Ivoire", + self::croatia->name => "Croatia", + self::cuba->name => "Cuba", + self::curacao->name => "Curaçao", + self::cyprus->name => "Cyprus", + self::czechRepublic->name => "Czech Republic", + self::denmark->name => "Denmark", + self::djibouti->name => "Djibouti", + self::dominica->name => "Dominica", + self::dominicanRepublic->name => "Dominican Republic", + self::ecuador->name => "Ecuador", + self::egypt->name => "Egypt", + self::elSalvador->name => "El Salvador", + self::equatorialGuinea->name => "Equatorial Guinea", + self::eritrea->name => "Eritrea", + self::estonia->name => "Estonia", + self::ethiopia->name => "Ethiopia", + self::falklandIslandsMalvinas->name => "Falkland Islands (Malvinas)", + self::faroeIslands->name => "Faroe Islands", + self::fiji->name => "Fiji", + self::finland->name => "Finland", + self::france->name => "France", + self::frenchGuiana->name => "French Guiana", + self::frenchPolynesia->name => "French Polynesia", + self::frenchSouthernTerritories->name => "French Southern Territories", + self::gabon->name => "Gabon", + self::gambia->name => "Gambia", + self::georgia->name => "Georgia", + self::germany->name => "Germany", + self::ghana->name => "Ghana", + self::gibraltar->name => "Gibraltar", + self::greece->name => "Greece", + self::greenland->name => "Greenland", + self::grenada->name => "Grenada", + self::guadeloupe->name => "Guadeloupe", + self::guam->name => "Guam", + self::guatemala->name => "Guatemala", + self::guernsey->name => "Guernsey", + self::guinea->name => "Guinea", + self::guineaBissau->name => "GuineaBissau", + self::guyana->name => "Guyana", + self::haiti->name => "Haiti", + self::heardIslandAndMcdonaldIslands->name => "Heard Island and McDonald Islands", + self::holySeeVaticanCityState->name => "Holy See (Vatican City State)", + self::honduras->name => "Honduras", + self::hongKong->name => "Hong Kong", + self::hungary->name => "Hungary", + self::iceland->name => "Iceland", + self::india->name => "India", + self::indonesia->name => "Indonesia", + self::iranIslamicRepublicOf->name => "Iran, Islamic Republic of", + self::iraq->name => "Iraq", + self::ireland->name => "Ireland", + self::isleOfMan->name => "Isle of Man", + self::israel->name => "Israel", + self::italy->name => "Italy", + self::jamaica->name => "Jamaica", + self::japan->name => "Japan", + self::jersey->name => "Jersey", + self::jordan->name => "Jordan", + self::kazakhstan->name => "Kazakhstan", + self::kenya->name => "Kenya", + self::kiribati->name => "Kiribati", + self::koreaDemocraticPeoplesRepublicOf->name => "Korea, Democratic People's Republic of", + self::koreaRepublicOf->name => "Korea, Republic of", + self::kuwait->name => "Kuwait", + self::kyrgyzstan->name => "Kyrgyzstan", + self::laoPeoplesDemocraticRepublic->name => "Lao People's Democratic Republic", + self::latvia->name => "Latvia", + self::lebanon->name => "Lebanon", + self::lesotho->name => "Lesotho", + self::liberia->name => "Liberia", + self::libya->name => "Libya", + self::liechtenstein->name => "Liechtenstein", + self::lithuania->name => "Lithuania", + self::luxembourg->name => "Luxembourg", + self::macao->name => "Macao", + self::macedoniaTheFormerYugoslavRepublicOf->name => "Macedonia, the Former Yugoslav Republic of", + self::madagascar->name => "Madagascar", + self::malawi->name => "Malawi", + self::malaysia->name => "Malaysia", + self::maldives->name => "Maldives", + self::mali->name => "Mali", + self::malta->name => "Malta", + self::marshallIslands->name => "Marshall Islands", + self::martinique->name => "Martinique", + self::mauritania->name => "Mauritania", + self::mauritius->name => "Mauritius", + self::mayotte->name => "Mayotte", + self::mexico->name => "Mexico", + self::micronesiaFederatedStatesOf->name => "Micronesia, Federated States of", + self::moldovaRepublicOf->name => "Moldova, Republic of", + self::monaco->name => "Monaco", + self::mongolia->name => "Mongolia", + self::montenegro->name => "Montenegro", + self::montserrat->name => "Montserrat", + self::morocco->name => "Morocco", + self::mozambique->name => "Mozambique", + self::myanmar->name => "Myanmar", + self::namibia->name => "Namibia", + self::nauru->name => "Nauru", + self::nepal->name => "Nepal", + self::netherlands->name => "Netherlands", + self::newCaledonia->name => "New Caledonia", + self::newZealand->name => "New Zealand", + self::nicaragua->name => "Nicaragua", + self::niger->name => "Niger", + self::nigeria->name => "Nigeria", + self::niue->name => "Niue", + self::norfolkIsland->name => "Norfolk Island", + self::northernMarianaIslands->name => "Northern Mariana Islands", + self::norway->name => "Norway", + self::oman->name => "Oman", + self::pakistan->name => "Pakistan", + self::palau->name => "Palau", + self::palestineStateOf->name => "Palestine, State of", + self::panama->name => "Panama", + self::papuaNewGuinea->name => "Papua New Guinea", + self::paraguay->name => "Paraguay", + self::peru->name => "Peru", + self::philippines->name => "Philippines", + self::pitcairn->name => "Pitcairn", + self::poland->name => "Poland", + self::portugal->name => "Portugal", + self::puertoRico->name => "Puerto Rico", + self::qatar->name => "Qatar", + self::reunion->name => "Réunion", + self::romania->name => "Romania", + self::russianFederation->name => "Russian Federation", + self::rwanda->name => "Rwanda", + self::saintBarthelemy->name => "Saint Barthélemy", + self::saintHelenaAscensionAndTristanDaCunha->name => "Saint Helena, Ascension and Tristan da Cunha", + self::saintKittsAndNevis->name => "Saint Kitts and Nevis", + self::saintLucia->name => "Saint Lucia", + self::saintMartinFrenchPart->name => "Saint Martin (French part)", + self::saintPierreAndMiquelon->name => "Saint Pierre and Miquelon", + self::saintVincentAndTheGrenadines->name => "Saint Vincent and the Grenadines", + self::samoa->name => "Samoa", + self::sanMarino->name => "San Marino", + self::saoTomeAndPrincipe->name => "Sao Tome and Principe", + self::saudiArabia->name => "Saudi Arabia", + self::senegal->name => "Senegal", + self::serbia->name => "Serbia", + self::seychelles->name => "Seychelles", + self::sierraLeone->name => "Sierra Leone", + self::singapore->name => "Singapore", + self::sintMaartenDutchPart->name => "Sint Maarten (Dutch part)", + self::slovakia->name => "Slovakia", + self::slovenia->name => "Slovenia", + self::solomonIslands->name => "Solomon Islands", + self::somalia->name => "Somalia", + self::southAfrica->name => "South Africa", + self::southGeorgiaAndTheSouthSandwichIslands->name => "South Georgia and the South Sandwich Islands", + self::southSudan->name => "South Sudan", + self::spain->name => "Spain", + self::sriLanka->name => "Sri Lanka", + self::sudan->name => "Sudan", + self::suriname->name => "Suriname", + self::svalbardAndJanMayen->name => "Svalbard and Jan Mayen", + self::swaziland->name => "Swaziland", + self::sweden->name => "Sweden", + self::switzerland->name => "Switzerland", + self::syrianArabRepublic->name => "Syrian Arab Republic", + self::taiwanProvinceOfChina->name => "Taiwan, Province of China", + self::tajikistan->name => "Tajikistan", + self::tanzaniaUnitedRepublicOf->name => "Tanzania, United Republic of", + self::thailand->name => "Thailand", + self::timorLeste->name => "TimorLeste", + self::togo->name => "Togo", + self::tokelau->name => "Tokelau", + self::tonga->name => "Tonga", + self::trinidadAndTobago->name => "Trinidad and Tobago", + self::tunisia->name => "Tunisia", + self::turkey->name => "Turkey", + self::turkmenistan->name => "Turkmenistan", + self::turksAndCaicosIslands->name => "Turks and Caicos Islands", + self::tuvalu->name => "Tuvalu", + self::uganda->name => "Uganda", + self::ukraine->name => "Ukraine", + self::unitedArabEmirates->name => "United Arab Emirates", + self::unitedKingdom->name => "United Kingdom", + self::unitedStates->name => "United States", + self::unitedStatesMinorOutlyingIslands->name => "United States Minor Outlying Islands", + self::uruguay->name => "Uruguay", + self::uzbekistan->name => "Uzbekistan", + self::vanuatu->name => "Vanuatu", + self::venezuelaBolivarianRepublicOf->name => "Venezuela, Bolivarian Republic of", + self::vietNam->name => "Viet Nam", + self::virginIslandsBritish->name => "Virgin Islands, British", + self::virginIslandsUs->name => "Virgin Islands, U.S.", + self::wallisAndFutuna->name => "Wallis and Futuna", + self::westernSahara->name => "Western Sahara", + self::yemen->name => "Yemen", + self::zambia->name => "Zambia", + self::zimbabwe->name => "Zimbabwe" ]; /** - * Get Valid Shipping Countries + * Get valid countries label * * @return array */ - public static function validShippingCountries(): array + public static function getValidCountriesLabel(): array + { + return collect(self::getValidCountries())->map(function (self $country) { + return $country->label; + })->all(); + } + + /** + * Get Alpha 2 ISO code of valid countries + * + * @return array + */ + public static function getValidIsoAplha2Codes(): array + { + return \array_values(self::isoCodes()); + } + + /** + * Get valid countries + * + * @return array + */ + public static function getValidCountries(): array { return [ - self::france, - /** - * // * DROM COM . - // self::guadeloupe, - // self::martinique, - // self::frenchGuiana, - // self::reunion, - // self::saintPierreAndMiquelon, - // self::mayotte, - // self::saintBarthelemy, - // self::saintMartinFrenchPart, - // self::wallisAndFutuna, - // self::frenchPolynesia, - // self::newCaledonia - */ + Country::belgium, + Country::luxembourg, + Country::france, + // * DROM C. + Country::guadeloupe, + Country::martinique, + Country::frenchGuiana, + Country::reunion, + Country::saintPierreAndMiquelon, + Country::mayotte, + Country::saintBarthelemy, + Country::saintMartinFrenchPart, + Country::wallisAndFutuna, + Country::frenchPolynesia, + Country::newCaledonia ]; } /** - * Get Valid Shipping Countries + * Enum classes * * @return array */ - public static function validBillingCountries(): array + protected static function isoCodes(): array { return [ - self::france, - // * DROM COM. - self::guadeloupe, - self::martinique, - self::frenchGuiana, - self::reunion, - self::saintPierreAndMiquelon, - self::mayotte, - self::saintBarthelemy, - self::saintMartinFrenchPart, - self::wallisAndFutuna, - self::frenchPolynesia, - self::newCaledonia + 'france' => 'FR', + 'belgium' => 'BE', + 'luxembourg' => 'LU', + 'guadeloupe' => 'GP', + 'martinique' => 'MQ', + 'frenchGuiana' => 'GF', + 'reunion' => 'RE', + 'saintPierreAndMiquelon' => 'PM', + 'mayotte' => 'YT', + 'saintBarthelemy' => 'BL', + 'saintMartinFrenchPart' => 'MF', + 'wallisAndFutuna' => 'WF', + 'frenchPolynesia' => 'PF', + 'newCaledonia' => 'NC', ]; } /** - * Get Alpha 2 ISO code of valid shipping countries - * - * @return array + * @param string $attribute + * @return integer|string */ - public static function getValidShippingCountriesIsoAplha2Codes(): array + public function get(string $attribute) { - return ['FR']; - } - - /** - * Get Alpha 2 ISO code of valid billing countries - * - * @return array - */ - public static function getValidBillingCountriesIsoAplha2Codes(): array - { - return \array_values(self::ISOCODES); - } - - /** - * Custom added ISOCODES definition - */ - private const ISOCODES = [ - self::france->name => 'FR', - self::guadeloupe->name => 'GP', - self::martinique->name => 'MQ', - self::frenchGuiana->name => 'GF', - self::reunion->name => 'RE', - self::saintPierreAndMiquelon->name => 'PM', - self::mayotte->name => 'YT', - self::saintBarthelemy->name => 'BL', - self::saintMartinFrenchPart->name => 'MF', - self::wallisAndFutuna->name => 'WF', - self::frenchPolynesia->name => 'PF', - self::newCaledonia->name => 'NC', - ]; - - /** - * Get ISOCODE - * - * @return string - */ - public function iso(): string - { - return self::ISOCODES[$this->name]; - } - - /** - * Get enum ISOCODES - * - * @return array - */ - public static function toIsoCodes(): array - { - return self::ISOCODES; + if ($attribute === 'iso') { + return $this->isoCodes()[$this->name] ?? null; + } + return $this->{$attribute}; } } diff --git a/app/Http/Controllers/Api/V1/CampaignController.php b/app/Http/Controllers/Api/V1/CampaignController.php new file mode 100644 index 0000000..0d0992c --- /dev/null +++ b/app/Http/Controllers/Api/V1/CampaignController.php @@ -0,0 +1,51 @@ +fill($request->validated()); + $customer->save(); + + return new CustomerResource($customer); + } + + /** + * Update customer resource + * + * @param \App\Http\Requests\Api\V1\Customer\UpdateRequest $request + * @param \App\Models\Customer $customer + * @return \App\Http\Resources\Api\V1\CustomerResource + * @throws \Illuminate\Validation\ValidationException ValidationException. + * @throws \Illuminate\Database\Eloquent\MassAssignmentException MassAssignmentException. + * @throws \InvalidArgumentException InvalidArgumentException. + * @throws \Illuminate\Database\Eloquent\InvalidCastException InvalidCastException. + */ + public function update(UpdateRequest $request, Customer $customer) + { + $customer->fill($request->validated()); + $customer->save(); + + return new CustomerResource($customer); + } + + /** + * Destroy customer resource + * + * @param \App\Models\Customer $customer + * @return \Illuminate\Http\Response|\Illuminate\Contracts\Routing\ResponseFactory ResponseFactory. + * @throws \LogicException LogicException. + * @throws \Illuminate\Contracts\Container\BindingResolutionException BindingResolutionException. + */ + public function destroy(Customer $customer) + { + $customer->delete(); + + return response("", 204); + } +} diff --git a/app/Http/Controllers/Api/V1/PrintController.php b/app/Http/Controllers/Api/V1/PrintController.php new file mode 100644 index 0000000..59d3c40 --- /dev/null +++ b/app/Http/Controllers/Api/V1/PrintController.php @@ -0,0 +1,110 @@ +customer_hashcode)->first(); + $campaign = Campaign::find($request->campaign_id); + + $couponsToPrint = []; + $crmApi = new CrmApiV2( + config('services.crm.endpoint'), + $campaign->brand->crm_token, + $campaign->brand->crm_password + ); + $crmCustomer = $crmApi->getCustomer($customer->hashcode); + + if ($campaign->type === CampaignTypes::WALL) { + $coupons = $request->coupons; + + $availableCoupons = $campaign->coupons + ->where('status', 1)->where('can_be_used', 1)->whereIn('id', explode(",", $coupons)); + + // FIXME : Mettre une condition et un retour erreur si availableCoupons est vide pour ne pas renvoyer un PDF vide. + foreach ($availableCoupons as $coupon) { + if (!CouponHelper::wallCouponIsUsed($coupon, $campaign, $customer)) { + $printUniqId = CouponLog::create( + ['coupon_id' => $coupon->id, 'campaign_id' => $campaign->id, 'customer_id' => $customer->id] + )->id; + $cpH = new CouponHelper($coupon, $campaign, $crmCustomer, $printUniqId); + $couponsToPrint[] = $cpH->generate(); + + // ----- Mémorise l'impression. + $wall = new PrintedWall(); + $wall->campaign_id = $campaign->id; + $wall->coupon_id = $coupon->id; + $wall->customer_id = $customer->id; + $wall->save(); + // FIXME : Ajout le save pour les stats, se servir de la table coupon_logs pour journaliser ? + } + } + } //end if + + + if ($campaign->type === CampaignTypes::BASKET) { + $basket = Basket::firstOrCreate( + [ + 'campaign_id' => $campaign->id, + 'customer_id' => $customer->id + ] + ); + + foreach ($basket->content as $content) { + if ($content->coupon->status === 1 && $content->coupon->can_be_used) { + for ($i = 1; $i <= $content->qty; $i++) { + $printUniqId = CouponLog::create( + [ + 'coupon_id' => $content->coupon->id, + 'campaign_id' => $campaign->id, + 'customer_id' => $customer->id + ] + )->id; + $cpH = new CouponHelper($content->coupon, $campaign, $crmCustomer, $printUniqId); + $couponsToPrint[] = $cpH->generate(); + } + } + $basket->content()->delete(); + } + } //end if + + $pdfName = sprintf("Coupons_%s_%s_%s.pdf", $crmCustomer->firstname, $crmCustomer->lastname, Str::ulid()); + $pdfPath = sprintf("%s/%s", 'app/private/coupons_pdf', $pdfName); + Pdf::loadView('api.pdf.coupons', ['coupons' => $couponsToPrint])->save(storage_path($pdfPath)); + // FIXME : Gérer l'échec + + /** + * Methode Pixibox a fixer sur le print + * return route('coupons.print', ['pdf' => + * Storage::disk('coupons_pdf')->temporaryUrl($pdfName, now()->addMinutes(config('coupons.fileValidity')))]);. + */ + return Storage::disk('coupons_pdf')->temporaryUrl($pdfName, now()->addMinutes(config('coupons.fileValidity'))); + } +} diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php index 61356d0..98f8c8e 100644 --- a/app/Http/Middleware/VerifyCsrfToken.php +++ b/app/Http/Middleware/VerifyCsrfToken.php @@ -12,6 +12,7 @@ class VerifyCsrfToken extends Middleware * @var array */ protected $except = [ + 'api/*', '/csp-report' ]; } diff --git a/app/Http/Requests/Api/V1/Customer/StoreRequest.php b/app/Http/Requests/Api/V1/Customer/StoreRequest.php new file mode 100644 index 0000000..e6728e1 --- /dev/null +++ b/app/Http/Requests/Api/V1/Customer/StoreRequest.php @@ -0,0 +1,33 @@ + + */ + public function rules(): array + { + return [ + 'hashcode' => "required|uuid|unique:customers,hashcode", + 'email' => "required|email" + // FIXME : Voir si on met autre chose ici pour email + // FIXME : Ajouter le check pour la clé unique hashcode + email. + ]; + } +} diff --git a/app/Http/Requests/Api/V1/Customer/UpdateRequest.php b/app/Http/Requests/Api/V1/Customer/UpdateRequest.php new file mode 100644 index 0000000..da184d7 --- /dev/null +++ b/app/Http/Requests/Api/V1/Customer/UpdateRequest.php @@ -0,0 +1,20 @@ + + */ + public function rules(): array + { + return [ + 'email' => "required|email" + // FIXME : Voir si on met autre chose ici pour email + // FIXME : Ajouter le check pour la clé unique hashcode + email. + ]; + } +} diff --git a/app/Http/Requests/Api/V1/PrintRequest.php b/app/Http/Requests/Api/V1/PrintRequest.php new file mode 100644 index 0000000..3536f85 --- /dev/null +++ b/app/Http/Requests/Api/V1/PrintRequest.php @@ -0,0 +1,57 @@ + + */ + public function rules(): array + { + return [ + 'customer_hashcode' => 'required|exists:customers,hashcode', + 'campaign_id' => [ + 'required', + 'exists:campaigns,id', + function (string $attribute, mixed $value, Closure $fail) { + $campaign = Campaign::find($value); + if ($campaign && $campaign->status === 0) { + $fail("The selected {$attribute} is invalid."); + } + }, + ], + 'coupons' => [ + Rule::requiredIf(function () { + $campaign = Campaign::find($this->campaign_id); + return $campaign->type === CampaignTypes::WALL ? true : false; + }), + function (string $attribute, mixed $value, Closure $fail) { + foreach (explode(",", $value) as $coupon_id) { + if (!is_int(intval($coupon_id)) or !intval($coupon_id) or intval($coupon_id) < 0) { + $fail("The selected {$attribute} is invalid."); + } + } + }, + ] + ]; + } +} diff --git a/app/Http/Resources/Api/V1/BrandResource.php b/app/Http/Resources/Api/V1/BrandResource.php new file mode 100644 index 0000000..f1ed135 --- /dev/null +++ b/app/Http/Resources/Api/V1/BrandResource.php @@ -0,0 +1,25 @@ + + */ + public function toArray(Request $request): array + { + return [ + 'id' => $this->id, + 'name' => $this->name, + 'contact_mail' => $this->contact_mail, + 'rcs' => $this->rcs + ]; + } +} diff --git a/app/Http/Resources/Api/V1/CampaignResource.php b/app/Http/Resources/Api/V1/CampaignResource.php new file mode 100644 index 0000000..976f185 --- /dev/null +++ b/app/Http/Resources/Api/V1/CampaignResource.php @@ -0,0 +1,25 @@ + + */ + public function toArray(Request $request): array + { + return [ + 'id' => $this->id, + 'name' => $this->name, + 'type' => new CampaignTypeResource($this->type), + 'brand' => new BrandResource($this->brand) + ]; + } +} diff --git a/app/Http/Resources/Api/V1/CampaignTypeResource.php b/app/Http/Resources/Api/V1/CampaignTypeResource.php new file mode 100644 index 0000000..b42ae88 --- /dev/null +++ b/app/Http/Resources/Api/V1/CampaignTypeResource.php @@ -0,0 +1,24 @@ + + */ + public function toArray(Request $request): array + { + return [ + 'name' => $this->name, + 'label' => $this->label(), + 'value' => $this->value, + ]; + } +} diff --git a/app/Http/Resources/Api/V1/CampaignWithCouponsByCustomerResource.php b/app/Http/Resources/Api/V1/CampaignWithCouponsByCustomerResource.php new file mode 100644 index 0000000..bbe417a --- /dev/null +++ b/app/Http/Resources/Api/V1/CampaignWithCouponsByCustomerResource.php @@ -0,0 +1,21 @@ + + */ + public function toArray(Request $request): array + { + $resource = parent::toArray($request); + $resource['coupons']['datas'] = CouponByCustomerResource::collection($resource['coupons']['datas']); + return $resource; + } +} diff --git a/app/Http/Resources/Api/V1/CampaignWithCouponsResource.php b/app/Http/Resources/Api/V1/CampaignWithCouponsResource.php new file mode 100644 index 0000000..dfcdb33 --- /dev/null +++ b/app/Http/Resources/Api/V1/CampaignWithCouponsResource.php @@ -0,0 +1,31 @@ + + */ + public function toArray(Request $request): array + { + $availableCoupons = $this->coupons->where('status', 1)->where('can_be_used', 1); + + return array_merge( + parent::toArray($request), + [ + 'coupons' => [ + 'total' => $availableCoupons->count(), + 'total_amount' => $availableCoupons->sum(fn(Coupon $item) => $item->amount), + 'datas' => CouponResource::collection($availableCoupons) + ] + ] + ); + } +} diff --git a/app/Http/Resources/Api/V1/CouponByCustomerResource.php b/app/Http/Resources/Api/V1/CouponByCustomerResource.php new file mode 100644 index 0000000..d1737b5 --- /dev/null +++ b/app/Http/Resources/Api/V1/CouponByCustomerResource.php @@ -0,0 +1,54 @@ + + */ + public function toArray(Request $request): array + { + $campaign = $request->publishedCampaign; + $customer = $request->customer; + + if ($campaign->type->value === CampaignTypes::WALL->value) { + return array_merge( + parent::toArray($request), + [ + 'is_used' => CouponHelper::wallCouponIsUsed(Coupon::find($this->id), $campaign, $customer) + ] + ); + } + + if ($campaign->type->value === CampaignTypes::BASKET->value) { + $basket = Basket::firstOrCreate( + [ + 'campaign_id' => $campaign->id, + 'customer_id' => $customer->id + ] + ); + + $couponFromBasket = $basket->content->where('id', $this->id)->first(); + + return array_merge( + parent::toArray($request), + [ + 'can_be_use' => !is_null($couponFromBasket) ? true : false, + 'quantity' => !is_null($couponFromBasket) ? $couponFromBasket->qty : null + ] + ); + } + + return parent::toArray($request); + } +} diff --git a/app/Http/Resources/Api/V1/CouponResource.php b/app/Http/Resources/Api/V1/CouponResource.php new file mode 100644 index 0000000..748d402 --- /dev/null +++ b/app/Http/Resources/Api/V1/CouponResource.php @@ -0,0 +1,28 @@ + + */ + public function toArray(Request $request): array + { + return [ + 'id' => $this->id, + 'process_code' => $this->process_code, + 'name' => $this->name, + 'amount' => $this->amount, + 'website_picture' => !is_null($this->website_picture) ? asset($this->website_picture) : null, + 'website_picture_mobile' => !is_null($this->website_picture_mobile) ? + asset($this->website_picture_mobile) : null, + ]; + } +} diff --git a/app/Http/Resources/Api/V1/CustomerResource.php b/app/Http/Resources/Api/V1/CustomerResource.php new file mode 100644 index 0000000..10e90e5 --- /dev/null +++ b/app/Http/Resources/Api/V1/CustomerResource.php @@ -0,0 +1,24 @@ + + */ + public function toArray(Request $request): array + { + return [ + 'id' => $this->id, + 'hashcode' => $this->hashcode, + 'email' => $this->email + ]; + } +} diff --git a/app/Jobs/CouponCanBeUsedUpdate.php b/app/Jobs/CouponCanBeUsedUpdate.php deleted file mode 100644 index 1bb8ccb..0000000 --- a/app/Jobs/CouponCanBeUsedUpdate.php +++ /dev/null @@ -1,24 +0,0 @@ -can_be_used = $coupon->checkIfCanBeUsed(); - $coupon->save(); - } - } -} diff --git a/app/Jobs/CouponsCanBeUsed.php b/app/Jobs/CouponsCanBeUsed.php new file mode 100644 index 0000000..253f288 --- /dev/null +++ b/app/Jobs/CouponsCanBeUsed.php @@ -0,0 +1,37 @@ +update(['can_be_used' => 0]); + // On set can_be_used en fonction des dates fournies. + $coupons = Coupon::where('status', 1)->get(); + foreach ($coupons as $coupon) { + $coupon->can_be_used = $coupon->checkIfCanBeUsed(); + $coupon->save(); + } + } +} diff --git a/app/Jobs/PurgeCouponsPdf.php b/app/Jobs/PurgeCouponsPdf.php new file mode 100644 index 0000000..a6fa9fc --- /dev/null +++ b/app/Jobs/PurgeCouponsPdf.php @@ -0,0 +1,39 @@ +files(); + foreach ($files as $file) { + $lastModified = Storage::disk('coupons_pdf')->lastModified($file); + $lastModifiedCarbon = Carbon::createFromTimestamp($lastModified, new DateTimeZone(config('app.timezone'))); + if ($lastModifiedCarbon->addMinutes(config('coupons.fileValidity'))->lessThan(Carbon::now())) { + Storage::disk('coupons_pdf')->delete($file); + } + } + } +} diff --git a/app/Lib/Helpers/CollectionHelper.php b/app/Lib/Helpers/CollectionHelper.php index a665a2f..b9e9ecd 100644 --- a/app/Lib/Helpers/CollectionHelper.php +++ b/app/Lib/Helpers/CollectionHelper.php @@ -1,6 +1,6 @@ fontArial = resource_path('br_generation/fonts/arial.ttf'); + $this->fontArialBd = resource_path('br_generation/fonts/arialbd.ttf'); + $this->fontImpact = resource_path('br_generation/fonts/impact.ttf'); + $this->imgHand = resource_path('br_generation/images/hand.png'); + $this->imgMask = resource_path('br_generation/images/mask.png'); + // FIXME : Implementer gestion de cache pour ne pas regénérer ce qui est générique au coupon. + $this->mask = \imagecreatefrompng($this->imgMask); + + $this->coupon = $coupon; + $this->campaign = $campaign; + $this->customer = $customer; + $this->printUniqId = $printUniqId; + } + + /** + * Generate coupon picture and return base64 + * + * @return string + * @throws \Illuminate\Contracts\Container\BindingResolutionException BindingResolutionException. + * @throws \Psr\Container\NotFoundExceptionInterface NotFoundExceptionInterface. + * @throws \Psr\Container\ContainerExceptionInterface ContainerExceptionInterface. + */ + public function generate(): string + { + // Generic. + $this->addHand(); + $this->addAmount(); + $this->addWatermark(); + $this->addValidOn(); + $this->addDecoImg(); + $this->addLogoImg(); + // End Generic. + // User Specific. + $this->addLegalNotice(); + $this->addCustomerInfos(); + $this->addCustomerBarcode(); + $this->addCouponBarcode(); + // End User Specific. + // Date Specific. + $this->addValidityPeriod(); + // End Date Specific. + ob_start(); + imagejpeg($this->mask, null, 100); + $br = ob_get_contents(); + ob_end_clean(); + imagedestroy($this->mask); + + return "data:image/jpeg;base64," . base64_encode($br); + } + + /** + * Add coupom barcode into mask var + * + * used datas : + * - customer country + * - coupon gs1 + * - coupon process_code + * + * @return void + * @throws \Illuminate\Contracts\Container\BindingResolutionException BindingResolutionException. + */ + private function addCouponBarcode(): void + { + // Nom du centre de traitement. + if ($this->customer->country !== Country::france->value) { + $textReduc = "Traitement ScanCoupon/HighCo Data Benelux"; + } else { + $textReduc = "• Traitement ScanCoupon •"; + } + + $ImageFond = imagecreate(270, 20); + imagecolorallocate($ImageFond, 255, 255, 255); + $black = imagecolorallocate($ImageFond, 0, 0, 0); + imagettftext($ImageFond, 9, 0, 0, 10, $black, $this->fontArialBd, $textReduc); + if ($this->customer->country !== 250) { + imagecopy($this->mask, $ImageFond, 60, 230, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); + } else { + imagecopy($this->mask, $ImageFond, 110, 322, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); + } + imagedestroy($ImageFond); + + // Left barcode. + if ($this->customer->country !== 250) { + $codeBarre = imagecreatefromjpeg(storage_path($this->coupon->gs1)); + imageresolution($codeBarre, 72); + list($width, $height) = getimagesize(storage_path($this->coupon->gs1)); + $r = $width / $height; + $w = 285; + $h = 150; + if ($w / $h > $r) { + $newwidth = $h * $r; + $newheight = $h; + } else { + $newheight = $w / $r; + $newwidth = $w; + } + $test = imagecreatetruecolor($newwidth, $newheight); + imagecopyresampled($test, $codeBarre, 0, 0, 0, 0, $newwidth, $newheight, $width, $height); + imagecopy($this->mask, $test, 60, 250, 0, 0, imagesx($test), imagesy($test)); + } else { + $codeBarre = $this->coupon->process_code; + $generator = new BarcodeGeneratorPNG(); + $base64 = $generator->getBarcode($codeBarre, $generator::TYPE_CODE_128_A, 2, 46); + $barcodeImage = imagecreatefromstring($base64); + imagecopy($this->mask, $barcodeImage, 10, 342, 0, 0, imagesx($barcodeImage), imagesy($barcodeImage)); + $ImageFond = imagecreate(380, 15); + imagecolorallocate($ImageFond, 255, 255, 255); + $black = imagecolorallocate($ImageFond, 0, 0, 0); + imagettftext($ImageFond, 11, 0, 0, 14, $black, $this->fontArial, $codeBarre); + imagecopy($this->mask, $ImageFond, 135, 390, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); + } //end if + imagedestroy($ImageFond); + // End left barcode. + } + + /** + * Add customer barcode from printUniqId into mask var + * + * @return void + */ + private function addCustomerBarcode(): void + { + // Right barcode. + $barcode = str_pad($this->printUniqId, 13, "0", STR_PAD_LEFT); + $generator = new BarcodeGeneratorPNG(); + $base64 = $generator->getBarcode($barcode, $generator::TYPE_CODE_128_A, 1, 46); + $barcodeImage = imagecreatefromstring($base64); + imagecopy($this->mask, $barcodeImage, 730, 342, 0, 0, imagesx($barcodeImage), imagesy($barcodeImage)); + // Text. + $ImageFond = imagecreate(110, 15); + imagecolorallocate($ImageFond, 255, 255, 255); + $black = imagecolorallocate($ImageFond, 0, 0, 0); + imagettftext($ImageFond, 11, 0, 0, 14, $black, $this->fontArial, $barcode); + imagecopy($this->mask, $ImageFond, 800, 390, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); + // End text. + // End right barcode. + } + + /** + * Add validity period from coupon validity_period into mask var + * + * @return void + * @throws \Illuminate\Contracts\Container\BindingResolutionException BindingResolutionException. + * @throws \Psr\Container\NotFoundExceptionInterface NotFoundExceptionInterface. + * @throws \Psr\Container\ContainerExceptionInterface ContainerExceptionInterface. + */ + private function addValidityPeriod(): void + { + // Inscription de la date de validité. + $ImageFond = imagecreate(120, 40); + $white = imagecolorallocate($ImageFond, 255, 255, 255); + $black = imagecolorallocate($ImageFond, 0, 0, 0); + imagettftext($ImageFond, 8, 0, 1, 8, $black, $this->fontArialBd, sprintf("%s : ", trans("Valable jusqu'au"))); + imagettftext( + $ImageFond, + 8, + 0, + 20, + 23, + $black, + $this->fontArial, + Carbon::now()->addDays($this->coupon->validity_period)->format("d/m/Y") + ); + imagecolortransparent($ImageFond, $white); + imagecopy($this->mask, $ImageFond, 780, 142, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); + imagedestroy($ImageFond); + } + + /** + * Add customer infos into mask var + * + * used datas : + * - customer firstname + * - customer lastname + * - customer address + * - customer postcode + * - customer city + * - printUniqId + * + * @return void + */ + private function addCustomerInfos(): void + { + $libelle = "OFFRE RÉSERVÉE À"; + $user = sprintf( + "%s %s\r\n%s\r\n%s\r\n%s\r\nid %s", + $this->customer->firstname, + $this->customer->lastname, + $this->customer->address, + $this->customer->postcode, + $this->customer->city, + str_pad($this->printUniqId, 13, "0", STR_PAD_LEFT) + ); + $ImageFond = imagecreate(120, 80); + $white = imagecolorallocate($ImageFond, 255, 255, 255); + $black = imagecolorallocate($ImageFond, 0, 0, 0); + $box1 = imagettfbbox(8, 0, $this->fontArial, $user); + $box2 = imagettfbbox(8, 0, $this->fontArial, $libelle); + imagettftext( + $ImageFond, + 8, + 0, + (120 / 2) - (abs($box2[4]) - abs($box2[6])) / 2, + 10, + $black, + $this->fontArialBd, + $libelle + ); + imagettftext( + $ImageFond, + 8, + 0, + (120 / 2) - (abs($box1[4]) - abs($box1[6])) / 2, + 25, + $black, + $this->fontArial, + $user + ); + imagecolortransparent($ImageFond, $white); + imagecopy($this->mask, $ImageFond, 770, 40, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); + imagedestroy($ImageFond); + } + + /** + * Add logo picture from brand logo into mask var + * + * @return void + * @throws \Illuminate\Contracts\Container\BindingResolutionException BindingResolutionException. + */ + private function addLogoImg(): void + { + // ---- Copie le logo dans le mask + $logo = imagecreatefromjpeg(storage_path($this->campaign->brand->logo)); + imagealphablending($this->mask, true); + imagesavealpha($this->mask, true); + imagecopy($this->mask, $logo, 767, 220, 0, 0, imagesx($logo), imagesy($logo)); + imagedestroy($logo); + imagedestroy($logo); + } + + /** + * add decoration picture from coupon decoration into mask var + * + * @return void + * @throws \Illuminate\Contracts\Container\BindingResolutionException BindingResolutionException. + */ + private function addDecoImg(): void + { + // Copie l'image de decoration dans le mask. + $pdt = imagecreatefromjpeg(storage_path($this->coupon->decoration)); + imagealphablending($this->mask, true); + imagesavealpha($this->mask, true); + imagecopy($this->mask, $pdt, 40, 10, 0, 0, imagesx($pdt), imagesy($pdt)); + imagedestroy($pdt); + } + + /** + * Add valid on legal text from coupon valid_on into mask var + * + * @return void + */ + private function addValidOn(): void + { + $maxCharByLines = 64; + $ImageFond = imagecreate(387, 200); + $white = imagecolorallocate($ImageFond, 255, 255, 255); + $black = imagecolorallocate($ImageFond, 0, 0, 0); + + $textReducs = explode("\r\n", str_replace("
", "\r\n", $this->coupon->valid_on)); + $y = 14; + foreach ($textReducs as $line) { + foreach (str_split($line, $maxCharByLines) as $sLine) { + $this->imagettftextSp($ImageFond, 10, 0, 0, $y, $black, $this->fontArialBd, $sLine, 0.01); + $y += 12; + } + } + imagecolortransparent($ImageFond, $white); + imagecopy($this->mask, $ImageFond, 360, 170, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); + imagedestroy($ImageFond); + } + + /** + * Add watermark into mask var + * + * used datas : + * - brand name + * - coupon amount + * + * @return void + */ + private function addWatermark(): void + { + // Inscription filigrane. + $watermark = sprintf( + "%s %s €", + strtoupper($this->campaign->brand->name), + number_format($this->coupon->amount, 2, ",", " ") + ); + $line_filigramme = ""; + $textFili = ""; + for ($i = 0; $i < 11; $i++) { + $line_filigramme .= $watermark . " "; + } + $line_filigramme .= "\r\n"; + + for ($i = 0; $i < 30; $i++) { + $textFili .= $line_filigramme; + } + $textFiliLines = explode("\r\n", $textFili); + $ImageFond = imagecreate(402, 240); + $white = imagecolorallocate($ImageFond, 255, 255, 255); + $black = imagecolorallocate($ImageFond, 0, 0, 0); + $y = 0; + foreach ($textFiliLines as $textFiliLine) { + $y += 20; + $this->imagettftextSp($ImageFond, 11, 25, -100, $y, $black, $this->fontArial, $textFiliLine, 0.01); + } + imagecolortransparent($ImageFond, $white); + imagecopymerge($this->mask, $ImageFond, 349, 1, 0, 0, imagesx($ImageFond), imagesy($ImageFond), 30); + imagedestroy($ImageFond); + } + + /** + * Add amount from coupon amount into mask var + * + * @return void + */ + private function addAmount(): void + { + // ---- Inscription du montant du BR + $textMontant = number_format($this->coupon->amount, 2, ",", " "); + $textEuro = "€"; + $libReduc = "DE RÉDUCTION IMMÉDIATE"; + $ImageFond = imagecreate(265, 200); + $white = imagecolorallocate($ImageFond, 255, 255, 255); + $blue = imagecolorallocate($ImageFond, 8, 169, 223); + $grey = imagecolorallocate($ImageFond, 219, 219, 221); + $this->imagettftextContour( + $ImageFond, + 95, + 0, + 5, + 110, + $grey, + $this->fontImpact, + $textMontant, + $blue, + 3, + 3, + 3, + 3 + ); + $this->imagettftextContour($ImageFond, 50, 0, 220, 55, $grey, $this->fontArial, $textEuro, $blue, 2, 2, 2, 2); + $this->imagettftextContour($ImageFond, 16, 0, 0, 150, $grey, $this->fontImpact, $libReduc, $blue, 1, 1, 1, 1); + imagecolortransparent($ImageFond, $white); + imagecopy($this->mask, $ImageFond, 360, 10, 0, 0, imagesx($ImageFond), imagesy($ImageFond)); + imagedestroy($ImageFond); + } + + /** + * Add hand into mask var + * + * @return void + */ + private function addHand(): void + { + // Copie la main dans le mask. + $hand = imagecreatefrompng($this->imgHand); + imagecopy($this->mask, $hand, 577, 2, 0, 0, imagesx($hand), imagesy($hand)); + imagealphablending($this->mask, false); + imagesavealpha($this->mask, true); + imagedestroy($hand); + } + + /** + * Add legal notice into mask var using writeLegalNotice method, taking account multiple factors + * + * used datas : + * - coupon legal_notices + * - customer country + * - brand rcs + * - brand contact_mail + * + * @return void + * @throws \Illuminate\Contracts\Container\BindingResolutionException BindingResolutionException. + * @throws \Psr\Container\NotFoundExceptionInterface NotFoundExceptionInterface. + * @throws \Psr\Container\ContainerExceptionInterface ContainerExceptionInterface. + */ + private function addLegalNotice(): void + { + // Si on trouve la pseudo balise alors on a les mentions internationales. + if (strpos($this->coupon->legal_notices, "")) { + $legalNotices = explode('', $this->coupon->legal_notices); + // Si le customer ne viens pas de France. + if ($this->customer->country !== Country::france->value) { + $this->writeLegalNotice(sprintf( + "%s\r\n%s\r\n%s", + $legalNotices[0], + $legalNotices[1], + $this->campaign->brand->rcs + ), $this->campaign->brand->contact_mail); + } else { + $this->writeLegalNotice(sprintf( + "%s\r\n%s", + $legalNotices[0], + $this->campaign->brand->rcs + ), $this->campaign->brand->contact_mail); + } + } else { + // Si on ne trouve pas la pseudo balise alors on a que du FR. + $this->writeLegalNotice(sprintf( + "%s\r\n%s", + $this->coupon->legal_notices, + $this->campaign->brand->rcs + ), $this->campaign->brand->contact_mail); + } //end if + } + + /** + * Write legal notice into mask var + * + * @param string $legalNotice + * @param string $contactMail + * @return void + * @throws \Illuminate\Contracts\Container\BindingResolutionException. BindingResolutionException. + * @throws \Psr\Container\NotFoundExceptionInterface NotFoundExceptionInterface. + * @throws \Psr\Container\ContainerExceptionInterface ContainerExceptionInterface. + */ + private function writeLegalNotice(string $legalNotice, string $contactMail): void + { + $maxCharByLines = 103; + $ImageMentionFond = imagecreate(420, 145); + $white = imagecolorallocate($ImageMentionFond, 255, 255, 255); + imagefilledrectangle($ImageMentionFond, 0, 0, 414, 99, $white); + $black = imagecolorallocate($ImageMentionFond, 0, 0, 0); + $lines_mentions = explode("\r\n", $legalNotice); + $y = 19; + foreach ($lines_mentions as $line) { + foreach (str_split($line, $maxCharByLines) as $sLine) { + $this->imagettftextSp($ImageMentionFond, 7, 0, 15, $y, $black, $this->fontArial, $sLine, 0.01); + $y += 9; + } + } + $this->imagettftextSp( + $ImageMentionFond, + 7, + 0, + 15, + $y, + $black, + $this->fontArialBd, + sprintf("%s : %s", trans('Renseignements'), $contactMail), + 0.01 + ); + imagecopy( + $this->mask, + $ImageMentionFond, + 335, + 235, + 0, + 0, + imagesx($ImageMentionFond), + imagesy($ImageMentionFond) + ); + imagedestroy($ImageMentionFond); + } + + /** + * Create picture from text Contour + * + * @todo Définir le sens de contour + * @todo remettre au propre les types du proto + * + * @param mixed $image + * @param mixed $fontsize + * @param mixed $angle + * @param mixed $x + * @param mixed $y + * @param mixed $color + * @param mixed $font + * @param mixed $text + * @param mixed $color_contour + * @param integer $contour_haut + * @param integer $contour_bas + * @param integer $contour_gauche + * @param integer $contour_droite + * @return void + */ + private function imagettftextContour( + mixed $image, + mixed $fontsize, + mixed $angle, + mixed $x, + mixed $y, + mixed $color, + mixed $font, + mixed $text, + mixed $color_contour, + int $contour_haut = 1, + int $contour_bas = 1, + int $contour_gauche = 1, + int $contour_droite = 1 + ): void { + $coords_x = []; + $coords_y = []; + for ($i_y = -$contour_haut; $i_y <= $contour_bas; $i_y++) { + $y_temp = array_fill(0, $contour_gauche + $contour_droite + 1, $i_y); + $x_temp = []; + for ($i_x = -$contour_gauche; $i_x <= $contour_droite; $i_x++) { + $x_temp[] = $i_x; + } + $coords_x = array_merge($coords_x, $x_temp); + $coords_y = array_merge($coords_y, $y_temp); + } + $c = count($coords_x); + for ($i = 0; $i < $c; $i++) { + imagettftext( + $image, + $fontsize, + $angle, + $x + $coords_x[$i], + $y + $coords_y[$i], + $color_contour, + $font, + $text + ); + } + imagettftext($image, $fontsize, $angle, $x, $y, $color, $font, $text); + } + + /** + * Create picture from text Sp + * + * @todo définir Sp + * @todo remettre au propre les types du proto + * + * @param mixed $image + * @param mixed $size + * @param mixed $angle + * @param mixed $x + * @param mixed $y + * @param mixed $color + * @param mixed $font + * @param mixed $text + * @param integer $spacing + * @return void + */ + private function imagettftextSp( + mixed $image, + mixed $size, + mixed $angle, + mixed $x, + mixed $y, + mixed $color, + mixed $font, + mixed $text, + int $spacing = 0 + ): void { + if ($spacing == 0) { + imagefttext($image, $size, $angle, $x, $y, $color, $font, $text); + } else { + $temp_x = $x; + $temp_y = $y; + // To avoid special char problems. + $char_array = preg_split('//u', $text, -1, PREG_SPLIT_NO_EMPTY); + foreach ($char_array as $char) { + imagefttext($image, $size, $angle, $temp_x, $temp_y, $color, $font, $char); + $bbox = imagettfbbox($size, 0, $font, $char); + $temp_x += cos(deg2rad($angle)) * ($spacing + ($bbox[2] - $bbox[0])); + $temp_y -= sin(deg2rad($angle)) * ($spacing + ($bbox[2] - $bbox[0])); + } + } + } + + /** + * Check if a coupon attached to a wall campaign is used + * + * @param \App\Models\Coupon $coupon + * @param \App\Models\Campaign $campaign + * @param \App\Models\Customer $customer + * @return boolean + */ + public static function wallCouponIsUsed(Coupon $coupon, Campaign $campaign, Customer $customer): bool + { + // FIXME : Revoir la règle de gestion et donc l'implémentation. + $isUsed = false; + + // ---- Contrôle le nombre limite d'impression + if ($coupon->limit_qty > 0) { + $count = PrintedWall::where( + [ + ['campaign_id', '=', $campaign->id], + ['coupon_id', '=', $coupon->id], + ['customer_id', '=', $customer->id] + ] + )->count(); + + if ($count >= $coupon->limit_qty) { + $isUsed = true; + } + } + + // ---- Contrôle la limite de période de diffusion + if ($coupon->limit_period > 0) { + $count = PrintedWall::where( + [ + ['campaign_id', '=', $campaign->id], + ['coupon_id', '=', $coupon->id], + ['customer_id', '=', $customer->id] + ] + )->orderBy('created_at', 'DESC')->first(); + + if ($count && $count->count() > 0) { + if ((new Carbon($count->created_at))->addDays($coupon->limit_period)->greaterThan(Carbon::now())) { + $isUsed = true; + } + } + } + return $isUsed; + } +} diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 3147311..73e4665 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -2,11 +2,14 @@ namespace App\Providers; +use DateTime; +use Illuminate\Support\Facades\Storage; use Illuminate\Pagination\Paginator; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\URL; use Illuminate\Support\ServiceProvider; +use Illuminate\Http\Resources\Json\JsonResource; class AppServiceProvider extends ServiceProvider { @@ -48,6 +51,18 @@ class AppServiceProvider extends ServiceProvider Carbon::setLocale(config('app.locale')); $this->sharetoView(); + + JsonResource::withoutWrapping(); + + Storage::disk('coupons_pdf')->buildTemporaryUrlsUsing( + function (string $path, DateTime $expiration, array $options) { + return URL::temporarySignedRoute( + 'pdf.stream', + $expiration, + array_merge($options, ['path' => $path]) + ); + } + ); } /** diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index a3d2fca..6ab665f 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -33,6 +33,10 @@ class RouteServiceProvider extends ServiceProvider $this->cspReportRoute(); $this->routes(function () { + Route::middleware('api') + ->namespace($this->namespace) + ->group(base_path('routes/api.php')); + Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/web-bo.php')); @@ -44,6 +48,24 @@ class RouteServiceProvider extends ServiceProvider Route::model('campaign', Campaign::class); Route::model('coupon', Coupon::class); + + Route::bind('publishedCampaign', function (string $value) { + return Campaign::where( + [ + ['id', '=', $value], + ['status', '=', 1], // FIXME : Mettre un Enum + ] + )->firstOrFail(); + }); + + Route::bind('publishedCoupon', function (string $value) { + return Coupon::where( + [ + ['id', '=', $value], + ['status', '=', 1], // FIXME : Mettre un Enum + ] + )->firstOrFail(); + }); } /** diff --git a/composer.json b/composer.json index 9de6276..e1e9fb9 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,9 @@ "laravel/framework": "^10.0", "laravel/tinker": "^2.8", "laravel/ui": "^4.2", + "ldc/ldccrmv2client": "^3.0", "mews/purifier": "^3.4", + "picqer/php-barcode-generator": "^2.4", "sentry/sentry-laravel": "*" }, "require-dev": { @@ -35,7 +37,12 @@ "Database\\Seeders\\": "database/seeders/" } }, - "repositories": [], + "repositories": [ + { + "type": "path", + "url": "./crm-client-3.0.6" + } + ], "autoload-dev": { "psr-4": { "Tests\\": "tests/" diff --git a/composer.lock b/composer.lock index 560ac1c..02c4d0f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "246d8cf8d2b528e7b07ee0ef3a355bdf", + "content-hash": "14ffc217bc3e32c6fd2df6411a4baf6e", "packages": [ { "name": "brick/math", @@ -1349,6 +1349,66 @@ }, "time": "2021-10-08T21:21:46+00:00" }, + { + "name": "kwaadpepper/enum", + "version": "2.1.3", + "source": { + "type": "git", + "url": "https://github.com/Kwaadpepper/enum.git", + "reference": "cc695e6a07ee57a1220942581c303842e186b22f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Kwaadpepper/enum/zipball/cc695e6a07ee57a1220942581c303842e186b22f", + "reference": "cc695e6a07ee57a1220942581c303842e186b22f", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "orchestra/testbench": "^6", + "phpunit/php-code-coverage": "^9", + "phpunit/phpunit": "~9", + "slevomat/coding-standard": "^7", + "squizlabs/php_codesniffer": "^3" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Kwaadpepper\\Enum\\EnumServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Kwaadpepper\\Enum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérémy Munsch", + "email": "github@jeremydev.ovh", + "homepage": "https://jeremydev.ovh" + } + ], + "description": "Enums to use for any project", + "homepage": "https://github.com/kwaadpepper/enum", + "keywords": [ + "enum", + "laravel" + ], + "support": { + "issues": "https://github.com/Kwaadpepper/enum/issues", + "source": "https://github.com/Kwaadpepper/enum/tree/2.1.3" + }, + "time": "2022-07-28T15:18:54+00:00" + }, { "name": "laravel/framework", "version": "v10.7.1", @@ -1739,6 +1799,60 @@ }, "time": "2023-02-17T09:17:24+00:00" }, + { + "name": "ldc/ldccrmv2client", + "version": "3.0.6", + "dist": { + "type": "path", + "url": "./crm-client-3.0.6", + "reference": "6bf5fd00367dd1bfd9c1372ed44596f2096e1057" + }, + "require": { + "ext-curl": "^7.3|^8", + "guzzlehttp/guzzle": "^7.4", + "kwaadpepper/enum": "^2.1", + "php": "^7.3|^8", + "respect/validation": "^2.2" + }, + "require-dev": { + "orchestra/testbench": "^6.13", + "phpunit/phpunit": "~9.0", + "slevomat/coding-standard": "^7.0", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "LDC\\LDCCRM\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "LDC\\LDCCRM\\Tests\\": "tests" + } + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérémy Munsch", + "email": "jeremy.munsch@ldc.fr", + "homepage": "https://jeremydev.ovh" + } + ], + "description": "LDC CRM Client V2", + "homepage": "https://github.com/kwaadpepper", + "keywords": [ + "CRM", + "Client", + "LDC", + "Laravel" + ], + "transport-options": { + "relative": true + } + }, { "name": "league/commonmark", "version": "2.4.0", @@ -3191,6 +3305,93 @@ ], "time": "2023-02-25T19:38:58+00:00" }, + { + "name": "picqer/php-barcode-generator", + "version": "v2.4.0", + "source": { + "type": "git", + "url": "https://github.com/picqer/php-barcode-generator.git", + "reference": "4cec18909dffd86e14beb69b1040f2520c2e1bb1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/picqer/php-barcode-generator/zipball/4cec18909dffd86e14beb69b1040f2520c2e1bb1", + "reference": "4cec18909dffd86e14beb69b1040f2520c2e1bb1", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^7.3|^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5" + }, + "suggest": { + "ext-bcmath": "Barcode IMB (Intelligent Mail Barcode) needs bcmath extension", + "ext-gd": "For JPG and PNG generators, GD or Imagick is required", + "ext-imagick": "For JPG and PNG generators, GD or Imagick is required" + }, + "type": "library", + "autoload": { + "psr-4": { + "Picqer\\Barcode\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "homepage": "http://nicolaasuni.tecnick.com" + }, + { + "name": "Casper Bakker", + "email": "info@picqer.com", + "homepage": "https://picqer.com" + } + ], + "description": "An easy to use, non-bloated, barcode generator in PHP. Creates SVG, PNG, JPG and HTML images from the most used 1D barcode standards.", + "homepage": "https://github.com/picqer/php-barcode-generator", + "keywords": [ + "CODABAR", + "Code11", + "Code93", + "EAN13", + "KIX", + "KIXCODE", + "MSI", + "POSTNET", + "Pharma", + "Standard 2 of 5", + "barcode", + "barcode generator", + "code128", + "code39", + "ean", + "html", + "jpeg", + "jpg", + "php", + "png", + "svg", + "upc" + ], + "support": { + "issues": "https://github.com/picqer/php-barcode-generator/issues", + "source": "https://github.com/picqer/php-barcode-generator/tree/v2.4.0" + }, + "funding": [ + { + "url": "https://github.com/casperbakker", + "type": "github" + } + ], + "time": "2023-09-16T08:58:52+00:00" + }, { "name": "psr/container", "version": "2.0.2", @@ -3856,6 +4057,127 @@ ], "time": "2023-01-12T18:13:24+00:00" }, + { + "name": "respect/stringifier", + "version": "0.2.0", + "source": { + "type": "git", + "url": "https://github.com/Respect/Stringifier.git", + "reference": "e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Respect/Stringifier/zipball/e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59", + "reference": "e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.8", + "malukenho/docheader": "^0.1.7", + "phpunit/phpunit": "^6.4" + }, + "type": "library", + "autoload": { + "files": [ + "src/stringify.php" + ], + "psr-4": { + "Respect\\Stringifier\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Respect/Stringifier Contributors", + "homepage": "https://github.com/Respect/Stringifier/graphs/contributors" + } + ], + "description": "Converts any value to a string", + "homepage": "http://respect.github.io/Stringifier/", + "keywords": [ + "respect", + "stringifier", + "stringify" + ], + "support": { + "issues": "https://github.com/Respect/Stringifier/issues", + "source": "https://github.com/Respect/Stringifier/tree/0.2.0" + }, + "time": "2017-12-29T19:39:25+00:00" + }, + { + "name": "respect/validation", + "version": "2.2.4", + "source": { + "type": "git", + "url": "https://github.com/Respect/Validation.git", + "reference": "d304ace5325efd7180daffb1f8627bb0affd4e3a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Respect/Validation/zipball/d304ace5325efd7180daffb1f8627bb0affd4e3a", + "reference": "d304ace5325efd7180daffb1f8627bb0affd4e3a", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0 || ^8.1 || ^8.2", + "respect/stringifier": "^0.2.0", + "symfony/polyfill-mbstring": "^1.2" + }, + "require-dev": { + "egulias/email-validator": "^3.0", + "malukenho/docheader": "^0.1", + "mikey179/vfsstream": "^1.6", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.6", + "psr/http-message": "^1.0", + "respect/coding-standard": "^3.0", + "squizlabs/php_codesniffer": "^3.7", + "symfony/validator": "^3.0||^4.0" + }, + "suggest": { + "egulias/email-validator": "Strict (RFC compliant) email validation", + "ext-bcmath": "Arbitrary Precision Mathematics", + "ext-fileinfo": "File Information", + "ext-mbstring": "Multibyte String Functions" + }, + "type": "library", + "autoload": { + "psr-4": { + "Respect\\Validation\\": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Respect/Validation Contributors", + "homepage": "https://github.com/Respect/Validation/graphs/contributors" + } + ], + "description": "The most awesome validation engine ever created for PHP", + "homepage": "http://respect.github.io/Validation/", + "keywords": [ + "respect", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/Respect/Validation/issues", + "source": "https://github.com/Respect/Validation/tree/2.2.4" + }, + "time": "2023-02-15T01:05:24+00:00" + }, { "name": "sentry/sdk", "version": "3.3.0", @@ -10097,7 +10419,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^8.1" + "php": "^8.2" }, "platform-dev": [], "plugin-api-version": "2.3.0" diff --git a/config/coupons.php b/config/coupons.php new file mode 100644 index 0000000..a41d9d3 --- /dev/null +++ b/config/coupons.php @@ -0,0 +1,6 @@ + 5 +]; diff --git a/config/filesystems.php b/config/filesystems.php index 89920a5..9e4427f 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -63,6 +63,12 @@ return [ 'throw' => false, ], + 'coupons_pdf' => [ + 'driver' => 'local', + 'root' => storage_path('app/private/coupons_pdf'), + 'throw' => false, + ], + ], /* diff --git a/crm-client-3.0.6/.editorconfig b/crm-client-3.0.6/.editorconfig new file mode 100644 index 0000000..0a72ec6 --- /dev/null +++ b/crm-client-3.0.6/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.json] +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 diff --git a/crm-client-3.0.6/.env.default b/crm-client-3.0.6/.env.default new file mode 100644 index 0000000..2bbcb69 --- /dev/null +++ b/crm-client-3.0.6/.env.default @@ -0,0 +1,3 @@ +crm.token=qsdqsd +crm.password=qsdqsdqsds +crm.endpoint=localhost diff --git a/crm-client-3.0.6/.gitignore b/crm-client-3.0.6/.gitignore new file mode 100644 index 0000000..5ee5d3c --- /dev/null +++ b/crm-client-3.0.6/.gitignore @@ -0,0 +1,5 @@ +workspace.code-workspace +vendor +node_modules +.phpdoc +.phive diff --git a/crm-client-3.0.6/.gitkeep b/crm-client-3.0.6/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/crm-client-3.0.6/.gitlab-ci.yml b/crm-client-3.0.6/.gitlab-ci.yml new file mode 100644 index 0000000..2c93b54 --- /dev/null +++ b/crm-client-3.0.6/.gitlab-ci.yml @@ -0,0 +1,26 @@ +# This file is a template, and might need editing before it works on your project. +# To contribute improvements to CI/CD templates, please follow the Development guide at: +# https://docs.gitlab.com/ee/development/cicd/templates.html +# This specific template is located at: +# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Composer.gitlab-ci.yml + +# Publishes a tag/branch to Composer Packages of the current project +package-publish: + image: curlimages/curl:latest + stage: build + variables: + URL: "$CI_SERVER_PROTOCOL://$CI_SERVER_HOST:$CI_SERVER_PORT/api/v4/projects/$CI_PROJECT_ID/packages/composer?job_token=$CI_JOB_TOKEN" + script: + - insecure=$([ "$CI_SERVER_PROTOCOL" = "http" ] && echo "--insecure" || echo "") + - response=$(curl -s -w "\n%{http_code}" $insecure --data tag=$CI_COMMIT_TAG $URL) + - code=$(echo "$response" | tail -n 1) + - body=$(echo "$response" | head -n 1) + # Output state information + - if [ $code -eq 201 ]; then + echo "Package created - Code $code - $body"; + else + echo "Could not create package - Code $code - $body"; + exit 1; + fi + rules: + - if: '$CI_COMMIT_TAG =~ /^\d+.\d+.\d+/' diff --git a/crm-client-3.0.6/.vscode/launch.json b/crm-client-3.0.6/.vscode/launch.json new file mode 100644 index 0000000..964a7bf --- /dev/null +++ b/crm-client-3.0.6/.vscode/launch.json @@ -0,0 +1,22 @@ +{ + // Utilisez IntelliSense pour en savoir plus sur les attributs possibles. + // Pointez pour afficher la description des attributs existants. + // Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Listen for XDebug", + "type": "php", + "request": "launch", + "port": 9000 + }, + { + "name": "Launch currently open script", + "type": "php", + "request": "launch", + "program": "${file}", + "cwd": "${fileDirname}", + "port": 9000 + } + ] +} diff --git a/crm-client-3.0.6/apiConfig.readonly.json b/crm-client-3.0.6/apiConfig.readonly.json new file mode 100644 index 0000000..26a7377 --- /dev/null +++ b/crm-client-3.0.6/apiConfig.readonly.json @@ -0,0 +1,6 @@ +{ + "version": "3.0.6", + "timestampTimeout": 30, + "apiRequestRatePerMinute": 256, + "servicesDBCache": 10 +} \ No newline at end of file diff --git a/crm-client-3.0.6/changelog.md b/crm-client-3.0.6/changelog.md new file mode 100644 index 0000000..97b070b --- /dev/null +++ b/crm-client-3.0.6/changelog.md @@ -0,0 +1,92 @@ +# Changelog + +### All notable changes to `CRM CLient V2` will be documented in this file. + +# version 3.0.6 +- Added: SingleOptin::unsetStatusWithHashcode to allow customers to unsubscribe using a hashcode, now single optins do have hashcodes. +# version 3.0.5 +- Bumped to follow CRM updates + +# version 3.0.4 +- Added CI configuration + +# version 3.0.3 +- Update Country enum +- Fixed : request merge method of data to query (Request.php) +- Fixed : validate json check should check if really false (Response.php) +- Bumped composer deps + +# version 3.0.2 +- Regen documentation with php documentor + +# version 3.0.1 +- Fixed : Customer do not call update if there are no updated fields +- Fixed : WPCrm bootSessionIfNeeded trying to access $_SESSION['wpcrm'] before session was started +- Fixed : WPCrm now only returns a boolean +- Fixed : get crm info when client used in laravel +- Changed : WpCrm::makeApiV2Call Change LogLevel on error from Emerge to Critical +- Changed : WPCrm readd forceLogin() + +# version 3.0.0 + +This removes api authentication with token in favor of signature method. +Refactored code and clean up. It add more unit test plus code coverage +in test/coverage. + +- Added : mardown documentation. +- Changed : WPCrm::login now only returns a boolean +- Changed : model Stats::getQuestionStats to pass question as route parameter +- Changed : now requests need to have a signature generated with a private key (crm password) using hmac sha256 wrapping url, method and parameters +- Changed : now timestamp will timeout if request is slower than "timestampTimeout", this means crm will reject the request +- Changed : throw ValidationException s instead of TypeErrors +- Changed : timestamp has to be send in request with a DateTime format, it also has to a UTC value +- Fixed : Change WPCRM dynamic session key, this could prevent spoofing session in some cases. +- Fixed : closure validation +- Fixed : model mutator not catching reflectionException +- Fixed : really send json request using Guzzle internal lib methods. +- Removed : Api AUTH system with api token +- Removed : ApiError::needAuth +- Removed : composer vlucas/dotenv, .env file is not handled any more. +- Removed : LoginException +- Removed : memcached dependency +- Removed : need of memcached +- Removed : unused service provider +- Removed : WpCrm::forceLogin +- Removed : WpCrm::sendArcadiaMailDefault +- Removed : WpCrm::sendArcadiaMailGame +- Updated : PHPCS rules, phpcs fixes and refactored code + +# version 2.3.2 +- Hotfixed arcadia order + +# version 2.3.1 +- Fixed Consider fill attributes as can be nullable +- Fixed Respect sometimes validation + +# version 2.3.0 +- Added Stats call by brand and by question +- Added min rule valdation for integers as well as for strings in Utils + +# version 2.2.3 +- Changed for bool casting for response parse field 'status' when is int 1 or 0 +- Changed, properties are filled from CRM after a save or update action, this will allow for props to be set on model as it is on the crm, after all checks and casts (firstname capitalized, ... etc) + +# version 2.2.2 +- Fixed Arcadia mail where sending parameters as query instead of Data + +# version 2.2.1 +- Fixed fill methods on models to handle all enums + arrays +- Changed validation on customer, city minimum is now 2 chars, + firstname and lastname min are now 1 char, phone min 10 has been removed, + other validations are made on backend side such as limit countries, + right now limit is FR, BE, NL. + Anyway dont forget to handle ValidationException which returns crm message. +- Include Drom Com to allowed countries +- Update Country enum to remove '-' chars + +# version 2.2.0 +- Fixed Utils.php getResquest method +- Changed Arcadia mails, add customer parameters for these calls + +# version 2.1.9 +- Fixed method CrmClientModel::fill now validates data and put value to updatedValues array diff --git a/crm-client-3.0.6/composer.json b/crm-client-3.0.6/composer.json new file mode 100644 index 0000000..8f424a1 --- /dev/null +++ b/crm-client-3.0.6/composer.json @@ -0,0 +1,49 @@ +{ + "name": "ldc/ldccrmv2client", + "type": "library", + "description": "LDC CRM Client V2", + "license": "MIT", + "version": "3.0.6", + "authors": [ + { + "name": "Jérémy Munsch", + "email": "jeremy.munsch@ldc.fr", + "homepage": "https://jeremydev.ovh" + } + ], + "homepage": "https://github.com/kwaadpepper", + "keywords": [ + "Laravel", + "CRM", + "Client", + "LDC" + ], + "require": { + "ext-curl": "^7.3|^8", + "php": "^7.3|^8", + "kwaadpepper/enum": "^2.1", + "guzzlehttp/guzzle": "^7.4", + "respect/validation": "^2.2" + }, + "require-dev": { + "phpunit/phpunit": "~9.0", + "squizlabs/php_codesniffer": "^3.5", + "orchestra/testbench": "^6.13", + "slevomat/coding-standard": "^7.0" + }, + "autoload": { + "psr-4": { + "LDC\\LDCCRM\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "LDC\\LDCCRM\\Tests\\": "tests" + } + }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + } +} \ No newline at end of file diff --git a/crm-client-3.0.6/composer.lock b/crm-client-3.0.6/composer.lock new file mode 100644 index 0000000..d19719a --- /dev/null +++ b/crm-client-3.0.6/composer.lock @@ -0,0 +1,8082 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "9fc0e0c41d5cadd6137da5643e676e9d", + "packages": [ + { + "name": "guzzlehttp/guzzle", + "version": "7.4.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", + "reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-curl": "*", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.4-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.4.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2022-05-25T13:24:33+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "1.5.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.5.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2021-10-22T20:56:57+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.3.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/83260bb50b8fc753c72d14dc1621a2dac31877ee", + "reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.8 || ^9.3.10" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.3.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2022-06-09T08:26:02+00:00" + }, + { + "name": "kwaadpepper/enum", + "version": "2.1.2", + "source": { + "type": "git", + "url": "https://github.com/Kwaadpepper/enum.git", + "reference": "bbd08723895cad5a41bc0d57e565fe64fa13ca41" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Kwaadpepper/enum/zipball/bbd08723895cad5a41bc0d57e565fe64fa13ca41", + "reference": "bbd08723895cad5a41bc0d57e565fe64fa13ca41", + "shasum": "" + }, + "require": { + "php": "^7.3" + }, + "require-dev": { + "orchestra/testbench": "^5", + "phpunit/php-code-coverage": "^9.2", + "phpunit/phpunit": "~9.0", + "slevomat/coding-standard": "^7.0", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Kwaadpepper\\Enum\\EnumServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Kwaadpepper\\Enum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérémy Munsch", + "email": "github@jeremydev.ovh", + "homepage": "https://jeremydev.ovh" + } + ], + "description": "Enums to use for any project", + "homepage": "https://github.com/kwaadpepper/enum", + "keywords": [ + "enum", + "laravel" + ], + "support": { + "issues": "https://github.com/Kwaadpepper/enum/issues", + "source": "https://github.com/Kwaadpepper/enum/tree/2.1.2" + }, + "time": "2021-11-18T16:52:08+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client/tree/master" + }, + "time": "2020-06-29T06:28:15+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "time": "2019-04-30T12:38:16+00:00" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/master" + }, + "time": "2016-08-06T14:39:51+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, + { + "name": "respect/stringifier", + "version": "0.2.0", + "source": { + "type": "git", + "url": "https://github.com/Respect/Stringifier.git", + "reference": "e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Respect/Stringifier/zipball/e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59", + "reference": "e55af3c8aeaeaa2abb5fa47a58a8e9688cc23b59", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.8", + "malukenho/docheader": "^0.1.7", + "phpunit/phpunit": "^6.4" + }, + "type": "library", + "autoload": { + "files": [ + "src/stringify.php" + ], + "psr-4": { + "Respect\\Stringifier\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Respect/Stringifier Contributors", + "homepage": "https://github.com/Respect/Stringifier/graphs/contributors" + } + ], + "description": "Converts any value to a string", + "homepage": "http://respect.github.io/Stringifier/", + "keywords": [ + "respect", + "stringifier", + "stringify" + ], + "support": { + "issues": "https://github.com/Respect/Stringifier/issues", + "source": "https://github.com/Respect/Stringifier/tree/0.2.0" + }, + "time": "2017-12-29T19:39:25+00:00" + }, + { + "name": "respect/validation", + "version": "2.2.3", + "source": { + "type": "git", + "url": "https://github.com/Respect/Validation.git", + "reference": "4c21a7ffc9a4915673cb2c2843963919e664e627" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Respect/Validation/zipball/4c21a7ffc9a4915673cb2c2843963919e664e627", + "reference": "4c21a7ffc9a4915673cb2c2843963919e664e627", + "shasum": "" + }, + "require": { + "php": "^7.3 || ^8.0", + "respect/stringifier": "^0.2.0", + "symfony/polyfill-mbstring": "^1.2" + }, + "require-dev": { + "egulias/email-validator": "^3.0", + "malukenho/docheader": "^0.1", + "mikey179/vfsstream": "^1.6", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-deprecation-rules": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^9.3", + "psr/http-message": "^1.0", + "respect/coding-standard": "^3.0", + "squizlabs/php_codesniffer": "^3.5", + "symfony/validator": "^3.0||^4.0", + "zendframework/zend-validator": "^2.1" + }, + "suggest": { + "egulias/email-validator": "Strict (RFC compliant) email validation", + "ext-bcmath": "Arbitrary Precision Mathematics", + "ext-fileinfo": "File Information", + "ext-mbstring": "Multibyte String Functions", + "symfony/validator": "Use Symfony validator through Respect\\Validation", + "zendframework/zend-validator": "Use Zend Framework validator through Respect\\Validation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Respect\\Validation\\": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Respect/Validation Contributors", + "homepage": "https://github.com/Respect/Validation/graphs/contributors" + } + ], + "description": "The most awesome validation engine ever created for PHP", + "homepage": "http://respect.github.io/Validation/", + "keywords": [ + "respect", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/Respect/Validation/issues", + "source": "https://github.com/Respect/Validation/tree/2.2.3" + }, + "time": "2021-03-19T14:12:45+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + } + ], + "packages-dev": [ + { + "name": "brick/math", + "version": "0.9.3", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae", + "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", + "vimeo/psalm": "4.9.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Brick\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "brick", + "math" + ], + "support": { + "issues": "https://github.com/brick/math/issues", + "source": "https://github.com/brick/math/tree/0.9.3" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/brick/math", + "type": "tidelift" + } + ], + "time": "2021-08-15T20:50:18+00:00" + }, + { + "name": "dealerdirect/phpcodesniffer-composer-installer", + "version": "v0.7.2", + "source": { + "type": "git", + "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" + }, + "require-dev": { + "composer/composer": "*", + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0" + }, + "type": "composer-plugin", + "extra": { + "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + }, + "autoload": { + "psr-4": { + "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Franck Nijhof", + "email": "franck.nijhof@dealerdirect.com", + "homepage": "http://www.frenck.nl", + "role": "Developer / IT Manager" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" + } + ], + "description": "PHP_CodeSniffer Standards Composer Installer Plugin", + "homepage": "http://www.dealerdirect.com", + "keywords": [ + "PHPCodeSniffer", + "PHP_CodeSniffer", + "code quality", + "codesniffer", + "composer", + "installer", + "phpcbf", + "phpcs", + "plugin", + "qa", + "quality", + "standard", + "standards", + "style guide", + "stylecheck", + "tests" + ], + "support": { + "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", + "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + }, + "time": "2022-02-04T12:51:07+00:00" + }, + { + "name": "doctrine/inflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^8.2", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "vimeo/psalm": "^4.10" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "keywords": [ + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2021-10-22T20:16:43+00:00" + }, + { + "name": "doctrine/instantiator", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.22" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.4.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-03-03T08:28:38+00:00" + }, + { + "name": "doctrine/lexer", + "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9.0", + "phpstan/phpstan": "^1.3", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.11" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/1.2.3" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2022-02-28T11:07:21+00:00" + }, + { + "name": "dragonmantank/cron-expression", + "version": "v3.3.1", + "source": { + "type": "git", + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/be85b3f05b46c39bbc0d95f6c071ddff669510fa", + "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "webmozart/assert": "^1.0" + }, + "replace": { + "mtdowling/cron-expression": "^1.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-webmozart-assert": "^1.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "support": { + "issues": "https://github.com/dragonmantank/cron-expression/issues", + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.1" + }, + "funding": [ + { + "url": "https://github.com/dragonmantank", + "type": "github" + } + ], + "time": "2022-01-18T15:43:28+00:00" + }, + { + "name": "egulias/email-validator", + "version": "2.1.25", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0dbf5d78455d4d6a41d186da50adc1122ec066f4", + "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^1.0.1", + "php": ">=5.5", + "symfony/polyfill-intl-idn": "^1.10" + }, + "require-dev": { + "dominicsayers/isemail": "^3.0.7", + "phpunit/phpunit": "^4.8.36|^7.5.15", + "satooshi/php-coveralls": "^1.0.1" + }, + "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Egulias\\EmailValidator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eduardo Gulias Davis" + } + ], + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", + "keywords": [ + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/egulias/EmailValidator/issues", + "source": "https://github.com/egulias/EmailValidator/tree/2.1.25" + }, + "funding": [ + { + "url": "https://github.com/egulias", + "type": "github" + } + ], + "time": "2020-12-29T14:50:06+00:00" + }, + { + "name": "fakerphp/faker", + "version": "v1.19.0", + "source": { + "type": "git", + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "d7f08a622b3346766325488aa32ddc93ccdecc75" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/d7f08a622b3346766325488aa32ddc93ccdecc75", + "reference": "d7f08a622b3346766325488aa32ddc93ccdecc75", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "conflict": { + "fzaninotto/faker": "*" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "doctrine/persistence": "^1.3 || ^2.0", + "ext-intl": "*", + "symfony/phpunit-bridge": "^4.4 || ^5.2" + }, + "suggest": { + "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", + "ext-curl": "Required by Faker\\Provider\\Image to download images.", + "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", + "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", + "ext-mbstring": "Required for multibyte Unicode string functionality." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "v1.19-dev" + } + }, + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ], + "support": { + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.19.0" + }, + "time": "2022-02-02T17:38:57+00:00" + }, + { + "name": "graham-campbell/result-type", + "version": "v1.0.4", + "source": { + "type": "git", + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "0690bde05318336c7221785f2a932467f98b64ca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/0690bde05318336c7221785f2a932467f98b64ca", + "reference": "0690bde05318336c7221785f2a932467f98b64ca", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "phpoption/phpoption": "^1.8" + }, + "require-dev": { + "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "GrahamCampbell\\ResultType\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "An Implementation Of The Result Type", + "keywords": [ + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" + ], + "support": { + "issues": "https://github.com/GrahamCampbell/Result-Type/issues", + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.4" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" + } + ], + "time": "2021-11-21T21:41:47+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + }, + "time": "2020-07-09T08:09:16+00:00" + }, + { + "name": "laravel/framework", + "version": "v8.83.16", + "source": { + "type": "git", + "url": "https://github.com/laravel/framework.git", + "reference": "6be5abd144faf517879af7298e9d79f06f250f75" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/framework/zipball/6be5abd144faf517879af7298e9d79f06f250f75", + "reference": "6be5abd144faf517879af7298e9d79f06f250f75", + "shasum": "" + }, + "require": { + "doctrine/inflector": "^1.4|^2.0", + "dragonmantank/cron-expression": "^3.0.2", + "egulias/email-validator": "^2.1.10", + "ext-json": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "laravel/serializable-closure": "^1.0", + "league/commonmark": "^1.3|^2.0.2", + "league/flysystem": "^1.1", + "monolog/monolog": "^2.0", + "nesbot/carbon": "^2.53.1", + "opis/closure": "^3.6", + "php": "^7.3|^8.0", + "psr/container": "^1.0", + "psr/log": "^1.0|^2.0", + "psr/simple-cache": "^1.0", + "ramsey/uuid": "^4.2.2", + "swiftmailer/swiftmailer": "^6.3", + "symfony/console": "^5.4", + "symfony/error-handler": "^5.4", + "symfony/finder": "^5.4", + "symfony/http-foundation": "^5.4", + "symfony/http-kernel": "^5.4", + "symfony/mime": "^5.4", + "symfony/process": "^5.4", + "symfony/routing": "^5.4", + "symfony/var-dumper": "^5.4", + "tijsverkoyen/css-to-inline-styles": "^2.2.2", + "vlucas/phpdotenv": "^5.4.1", + "voku/portable-ascii": "^1.6.1" + }, + "conflict": { + "tightenco/collect": "<5.5.33" + }, + "provide": { + "psr/container-implementation": "1.0", + "psr/simple-cache-implementation": "1.0" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/collections": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/macroable": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/testing": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version" + }, + "require-dev": { + "aws/aws-sdk-php": "^3.198.1", + "doctrine/dbal": "^2.13.3|^3.1.4", + "filp/whoops": "^2.14.3", + "guzzlehttp/guzzle": "^6.5.5|^7.0.1", + "league/flysystem-cached-adapter": "^1.0", + "mockery/mockery": "^1.4.4", + "orchestra/testbench-core": "^6.27", + "pda/pheanstalk": "^4.0", + "phpunit/phpunit": "^8.5.19|^9.5.8", + "predis/predis": "^1.1.9", + "symfony/cache": "^5.4" + }, + "suggest": { + "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.198.1).", + "brianium/paratest": "Required to run tests in parallel (^6.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", + "ext-bcmath": "Required to use the multiple_of validation rule.", + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", + "ext-pcntl": "Required to use all features of the queue worker.", + "ext-posix": "Required to use all features of the queue worker.", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", + "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "filp/whoops": "Required for friendly error pages in development (^2.14.3).", + "guzzlehttp/guzzle": "Required to use the HTTP Client, Mailgun mail driver and the ping methods on schedules (^6.5.5|^7.0.1).", + "laravel/tinker": "Required to use the tinker console command (^2.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", + "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", + "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", + "mockery/mockery": "Required to use mocking (^1.4.4).", + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^8.5.19|^9.5.8).", + "predis/predis": "Required to use the predis connector (^1.1.9).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0|^7.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^5.4).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^5.4).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).", + "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" + } + }, + "autoload": { + "files": [ + "src/Illuminate/Collections/helpers.php", + "src/Illuminate/Events/functions.php", + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Support/helpers.php" + ], + "psr-4": { + "Illuminate\\": "src/Illuminate/", + "Illuminate\\Support\\": [ + "src/Illuminate/Macroable/", + "src/Illuminate/Collections/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", + "keywords": [ + "framework", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/framework/issues", + "source": "https://github.com/laravel/framework" + }, + "time": "2022-06-07T15:09:06+00:00" + }, + { + "name": "laravel/serializable-closure", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/serializable-closure.git", + "reference": "09f0e9fb61829f628205b7c94906c28740ff9540" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/09f0e9fb61829f628205b7c94906c28740ff9540", + "reference": "09f0e9fb61829f628205b7c94906c28740ff9540", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "pestphp/pest": "^1.18", + "phpstan/phpstan": "^0.12.98", + "symfony/var-dumper": "^5.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\SerializableClosure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Nuno Maduro", + "email": "nuno@laravel.com" + } + ], + "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", + "keywords": [ + "closure", + "laravel", + "serializable" + ], + "support": { + "issues": "https://github.com/laravel/serializable-closure/issues", + "source": "https://github.com/laravel/serializable-closure" + }, + "time": "2022-05-16T17:09:47+00:00" + }, + { + "name": "league/commonmark", + "version": "1.6.7", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "2b8185c13bc9578367a5bf901881d1c1b5bbd09b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/2b8185c13bc9578367a5bf901881d1c1b5bbd09b", + "reference": "2b8185c13bc9578367a5bf901881d1c1b5bbd09b", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^7.1 || ^8.0" + }, + "conflict": { + "scrutinizer/ocular": "1.7.*" + }, + "require-dev": { + "cebe/markdown": "~1.0", + "commonmark/commonmark.js": "0.29.2", + "erusev/parsedown": "~1.0", + "ext-json": "*", + "github/gfm": "0.29.0", + "michelf/php-markdown": "~1.4", + "mikehaertl/php-shellcommand": "^1.4", + "phpstan/phpstan": "^0.12.90", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.2", + "scrutinizer/ocular": "^1.5", + "symfony/finder": "^4.2" + }, + "bin": [ + "bin/commonmark" + ], + "type": "library", + "autoload": { + "psr-4": { + "League\\CommonMark\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Github-Flavored Markdown (GFM)", + "homepage": "https://commonmark.thephpleague.com", + "keywords": [ + "commonmark", + "flavored", + "gfm", + "github", + "github-flavored", + "markdown", + "md", + "parser" + ], + "support": { + "docs": "https://commonmark.thephpleague.com/", + "issues": "https://github.com/thephpleague/commonmark/issues", + "rss": "https://github.com/thephpleague/commonmark/releases.atom", + "source": "https://github.com/thephpleague/commonmark" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "type": "tidelift" + } + ], + "time": "2022-01-13T17:18:13+00:00" + }, + { + "name": "league/flysystem", + "version": "1.1.9", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "094defdb4a7001845300334e7c1ee2335925ef99" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99", + "reference": "094defdb4a7001845300334e7c1ee2335925ef99", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/mime-type-detection": "^1.3", + "php": "^7.2.5 || ^8.0" + }, + "conflict": { + "league/flysystem-sftp": "<1.0.6" + }, + "require-dev": { + "phpspec/prophecy": "^1.11.1", + "phpunit/phpunit": "^8.5.8" + }, + "suggest": { + "ext-ftp": "Allows you to use FTP server storage", + "ext-openssl": "Allows you to use FTPS server storage", + "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", + "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", + "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", + "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", + "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", + "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", + "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", + "league/flysystem-webdav": "Allows you to use WebDAV storage", + "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", + "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", + "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frenky.net" + } + ], + "description": "Filesystem abstraction: Many filesystems, one API.", + "keywords": [ + "Cloud Files", + "WebDAV", + "abstraction", + "aws", + "cloud", + "copy.com", + "dropbox", + "file systems", + "files", + "filesystem", + "filesystems", + "ftp", + "rackspace", + "remote", + "s3", + "sftp", + "storage" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/1.1.9" + }, + "funding": [ + { + "url": "https://offset.earth/frankdejonge", + "type": "other" + } + ], + "time": "2021-12-09T09:40:50+00:00" + }, + { + "name": "league/mime-type-detection", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\MimeTypeDetection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Mime-type detection for Flysystem", + "support": { + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0" + }, + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2022-04-17T13:12:02+00:00" + }, + { + "name": "mockery/mockery", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", + "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": "^7.3 || ^8.0" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "psr-0": { + "Mockery": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "http://blog.astrumfutura.com" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "http://davedevelopment.co.uk" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "issues": "https://github.com/mockery/mockery/issues", + "source": "https://github.com/mockery/mockery/tree/1.5.0" + }, + "time": "2022-01-20T13:18:17+00:00" + }, + { + "name": "monolog/monolog", + "version": "2.7.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "5579edf28aee1190a798bfa5be8bc16c563bd524" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5579edf28aee1190a798bfa5be8bc16c563bd524", + "reference": "5579edf28aee1190a798bfa5be8bc16c563bd524", + "shasum": "" + }, + "require": { + "php": ">=7.2", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" + }, + "provide": { + "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2", + "guzzlehttp/guzzle": "^7.4", + "guzzlehttp/psr7": "^2.2", + "mongodb/mongodb": "^1.8", + "php-amqplib/php-amqplib": "~2.4 || ^3", + "php-console/php-console": "^3.1.3", + "phpspec/prophecy": "^1.15", + "phpstan/phpstan": "^0.12.91", + "phpunit/phpunit": "^8.5.14", + "predis/predis": "^1.1", + "rollbar/rollbar": "^1.3 || ^2 || ^3", + "ruflin/elastica": "^7", + "swiftmailer/swiftmailer": "^5.3|^6.0", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "ext-openssl": "Required to send log messages using SSL", + "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "https://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/2.7.0" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "type": "tidelift" + } + ], + "time": "2022-06-09T08:59:12+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2022-03-03T13:19:32+00:00" + }, + { + "name": "nesbot/carbon", + "version": "2.58.0", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/97a34af22bde8d0ac20ab34b29d7bfe360902055", + "reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.1.8 || ^8.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.16", + "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" + }, + "require-dev": { + "doctrine/dbal": "^2.0 || ^3.0", + "doctrine/orm": "^2.7", + "friendsofphp/php-cs-fixer": "^3.0", + "kylekatarnls/multi-tester": "^2.0", + "phpmd/phpmd": "^2.9", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.54 || ^1.0", + "phpunit/php-file-iterator": "^2.0.5", + "phpunit/phpunit": "^7.5.20 || ^8.5.23", + "squizlabs/php_codesniffer": "^3.4" + }, + "bin": [ + "bin/carbon" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-3.x": "3.x-dev", + "dev-master": "2.x-dev" + }, + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + }, + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "https://markido.com" + }, + { + "name": "kylekatarnls", + "homepage": "https://github.com/kylekatarnls" + } + ], + "description": "An API extension for DateTime that supports 281 different languages.", + "homepage": "https://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ], + "support": { + "docs": "https://carbon.nesbot.com/docs", + "issues": "https://github.com/briannesbitt/Carbon/issues", + "source": "https://github.com/briannesbitt/Carbon" + }, + "funding": [ + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2022-04-25T19:31:17+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.14.0", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/34bea19b6e03d8153165d8f30bba4c3be86184c1", + "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.14.0" + }, + "time": "2022-05-31T20:59:12+00:00" + }, + { + "name": "opis/closure", + "version": "3.6.3", + "source": { + "type": "git", + "url": "https://github.com/opis/closure.git", + "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/opis/closure/zipball/3d81e4309d2a927abbe66df935f4bb60082805ad", + "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad", + "shasum": "" + }, + "require": { + "php": "^5.4 || ^7.0 || ^8.0" + }, + "require-dev": { + "jeremeamia/superclosure": "^2.0", + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.6.x-dev" + } + }, + "autoload": { + "files": [ + "functions.php" + ], + "psr-4": { + "Opis\\Closure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marius Sarca", + "email": "marius.sarca@gmail.com" + }, + { + "name": "Sorin Sarca", + "email": "sarca_sorin@hotmail.com" + } + ], + "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", + "homepage": "https://opis.io/closure", + "keywords": [ + "anonymous functions", + "closure", + "function", + "serializable", + "serialization", + "serialize" + ], + "support": { + "issues": "https://github.com/opis/closure/issues", + "source": "https://github.com/opis/closure/tree/3.6.3" + }, + "time": "2022-01-27T09:35:39+00:00" + }, + { + "name": "orchestra/testbench", + "version": "v6.24.1", + "source": { + "type": "git", + "url": "https://github.com/orchestral/testbench.git", + "reference": "7b6a225851f6c148a80e241af5cbd833c83e572c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/7b6a225851f6c148a80e241af5cbd833c83e572c", + "reference": "7b6a225851f6c148a80e241af5cbd833c83e572c", + "shasum": "" + }, + "require": { + "laravel/framework": "^8.75", + "mockery/mockery": "^1.4.4", + "orchestra/testbench-core": "^6.28.1", + "php": "^7.3 || ^8.0", + "phpunit/phpunit": "^8.5.21 || ^9.5.10", + "spatie/laravel-ray": "^1.26.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.0-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mior Muhammad Zaki", + "email": "crynobone@gmail.com", + "homepage": "https://github.com/crynobone" + } + ], + "description": "Laravel Testing Helper for Packages Development", + "homepage": "https://packages.tools/testbench/", + "keywords": [ + "BDD", + "TDD", + "laravel", + "orchestra-platform", + "orchestral", + "testing" + ], + "support": { + "issues": "https://github.com/orchestral/testbench/issues", + "source": "https://github.com/orchestral/testbench/tree/v6.24.1" + }, + "funding": [ + { + "url": "https://paypal.me/crynobone", + "type": "custom" + }, + { + "url": "https://liberapay.com/crynobone", + "type": "liberapay" + } + ], + "time": "2022-02-08T12:57:17+00:00" + }, + { + "name": "orchestra/testbench-core", + "version": "v6.28.1", + "source": { + "type": "git", + "url": "https://github.com/orchestral/testbench-core.git", + "reference": "e66074e825e21b40b3433703dc3f76f2bfebebe0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/e66074e825e21b40b3433703dc3f76f2bfebebe0", + "reference": "e66074e825e21b40b3433703dc3f76f2bfebebe0", + "shasum": "" + }, + "require": { + "fakerphp/faker": "^1.9.1", + "php": "^7.3 || ^8.0", + "symfony/yaml": "^5.0", + "vlucas/phpdotenv": "^5.1" + }, + "require-dev": { + "laravel/framework": "^8.75", + "laravel/laravel": "8.x-dev", + "mockery/mockery": "^1.4.4", + "orchestra/canvas": "^6.1", + "phpunit/phpunit": "^8.5.21 || ^9.5.10 || ^10.0", + "spatie/laravel-ray": "^1.7.1", + "symfony/process": "^5.0" + }, + "suggest": { + "laravel/framework": "Required for testing (^8.75).", + "mockery/mockery": "Allow using Mockery for testing (^1.4.4).", + "orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^6.0).", + "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^6.0).", + "phpunit/phpunit": "Allow using PHPUnit for testing (^8.5.21|^9.5.10|^10.0)." + }, + "bin": [ + "testbench" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.0-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Orchestra\\Testbench\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mior Muhammad Zaki", + "email": "crynobone@gmail.com", + "homepage": "https://github.com/crynobone" + } + ], + "description": "Testing Helper for Laravel Development", + "homepage": "https://packages.tools/testbench", + "keywords": [ + "BDD", + "TDD", + "laravel", + "orchestra-platform", + "orchestral", + "testing" + ], + "support": { + "issues": "https://github.com/orchestral/testbench/issues", + "source": "https://github.com/orchestral/testbench-core" + }, + "funding": [ + { + "url": "https://paypal.me/crynobone", + "type": "custom" + }, + { + "url": "https://liberapay.com/crynobone", + "type": "liberapay" + } + ], + "time": "2022-02-08T12:50:35+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-2.x": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" + }, + "time": "2020-06-27T09:03:43+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "5.3.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" + }, + "require-dev": { + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + }, + { + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" + }, + "time": "2021-10-19T17:43:47+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "1.6.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "77a32518733312af16a44300404e945338981de3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3", + "reference": "77a32518733312af16a44300404e945338981de3", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.0" + }, + "require-dev": { + "ext-tokenizer": "*", + "psalm/phar": "^4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "support": { + "issues": "https://github.com/phpDocumentor/TypeResolver/issues", + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1" + }, + "time": "2022-03-15T21:29:03+00:00" + }, + { + "name": "phpoption/phpoption", + "version": "1.8.1", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8-dev" + } + }, + "autoload": { + "psr-4": { + "PhpOption\\": "src/PhpOption/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" + }, + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "support": { + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.8.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2021-12-04T23:24:31+00:00" + }, + { + "name": "phpspec/prophecy", + "version": "v1.15.0", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.2", + "php": "^7.2 || ~8.0, <8.2", + "phpdocumentor/reflection-docblock": "^5.2", + "sebastian/comparator": "^3.0 || ^4.0", + "sebastian/recursion-context": "^3.0 || ^4.0" + }, + "require-dev": { + "phpspec/phpspec": "^6.0 || ^7.0", + "phpunit/phpunit": "^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Prophecy\\": "src/Prophecy" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "support": { + "issues": "https://github.com/phpspec/prophecy/issues", + "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" + }, + "time": "2021-12-08T12:19:24+00:00" + }, + { + "name": "phpstan/phpdoc-parser", + "version": "1.5.1", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "981cc368a216c988e862a75e526b6076987d1b50" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/981cc368a216c988e862a75e526b6076987d1b50", + "reference": "981cc368a216c988e862a75e526b6076987d1b50", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", + "symfony/process": "^5.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPDoc parser with support for nullable, intersection and generic types", + "support": { + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.5.1" + }, + "time": "2022-05-05T11:32:40+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "9.2.15", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.13.0", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcov": "*", + "ext-xdebug": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-03-07T09:28:20+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "3.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T05:33:50+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "9.5.20", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/12bc8879fb65aef2138b26fc633cb1e3620cffba", + "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.3.1", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpspec/prophecy": "^1.12.1", + "phpunit/php-code-coverage": "^9.2.13", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.5", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.3", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.0", + "sebastian/version": "^3.0.2" + }, + "require-dev": { + "ext-pdo": "*", + "phpspec/prophecy-phpunit": "^2.0.1" + }, + "suggest": { + "ext-soap": "*", + "ext-xdebug": "*" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.5-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.20" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-04-01T12:37:26+00:00" + }, + { + "name": "pimple/pimple", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/silexphp/Pimple.git", + "reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/silexphp/Pimple/zipball/a94b3a4db7fb774b3d78dad2315ddc07629e1bed", + "reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/container": "^1.1 || ^2.0" + }, + "require-dev": { + "symfony/phpunit-bridge": "^5.4@dev" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4.x-dev" + } + }, + "autoload": { + "psr-0": { + "Pimple": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Pimple, a simple Dependency Injection Container", + "homepage": "https://pimple.symfony.com", + "keywords": [ + "container", + "dependency injection" + ], + "support": { + "source": "https://github.com/silexphp/Pimple/tree/v3.5.0" + }, + "time": "2021-10-28T11:13:42+00:00" + }, + { + "name": "psr/container", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/1.1.1" + }, + "time": "2021-03-05T17:36:06+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/log", + "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.4" + }, + "time": "2021-05-03T11:20:27+00:00" + }, + { + "name": "psr/simple-cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/master" + }, + "time": "2017-10-23T01:57:42+00:00" + }, + { + "name": "ramsey/collection", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/ramsey/collection.git", + "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/collection/zipball/cccc74ee5e328031b15640b51056ee8d3bb66c0a", + "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a", + "shasum": "" + }, + "require": { + "php": "^7.3 || ^8", + "symfony/polyfill-php81": "^1.23" + }, + "require-dev": { + "captainhook/captainhook": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "ergebnis/composer-normalize": "^2.6", + "fakerphp/faker": "^1.5", + "hamcrest/hamcrest-php": "^2", + "jangregor/phpstan-prophecy": "^0.8", + "mockery/mockery": "^1.3", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1", + "phpstan/phpstan": "^0.12.32", + "phpstan/phpstan-mockery": "^0.12.5", + "phpstan/phpstan-phpunit": "^0.12.11", + "phpunit/phpunit": "^8.5 || ^9", + "psy/psysh": "^0.10.4", + "slevomat/coding-standard": "^6.3", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ramsey\\Collection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "A PHP library for representing and manipulating collections.", + "keywords": [ + "array", + "collection", + "hash", + "map", + "queue", + "set" + ], + "support": { + "issues": "https://github.com/ramsey/collection/issues", + "source": "https://github.com/ramsey/collection/tree/1.2.2" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", + "type": "tidelift" + } + ], + "time": "2021-10-10T03:01:02+00:00" + }, + { + "name": "ramsey/uuid", + "version": "4.2.3", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", + "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", + "shasum": "" + }, + "require": { + "brick/math": "^0.8 || ^0.9", + "ext-json": "*", + "php": "^7.2 || ^8.0", + "ramsey/collection": "^1.0", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-php80": "^1.14" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "captainhook/captainhook": "^5.10", + "captainhook/plugin-composer": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.8", + "ergebnis/composer-normalize": "^2.15", + "mockery/mockery": "^1.3", + "moontoast/math": "^1.1", + "paragonie/random-lib": "^2", + "php-mock/php-mock": "^2.2", + "php-mock/php-mock-mockery": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-mockery": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^8.5 || ^9", + "slevomat/coding-standard": "^7.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-ctype": "Enables faster processing of character classification using ctype functions.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.x-dev" + }, + "captainhook": { + "force-install": true + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "support": { + "issues": "https://github.com/ramsey/uuid/issues", + "source": "https://github.com/ramsey/uuid/tree/4.2.3" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", + "type": "tidelift" + } + ], + "time": "2021-09-25T23:10:38+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { + "name": "sebastian/comparator", + "version": "4.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "55f4261989e546dc112258c7a75935a81a7ce382" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", + "reference": "55f4261989e546dc112258c7a75935a81a7ce382", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:49:45+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:10:38+00:00" + }, + { + "name": "sebastian/environment", + "version": "5.1.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-04-03T09:37:03+00:00" + }, + { + "name": "sebastian/exporter", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-11-11T14:18:36+00:00" + }, + { + "name": "sebastian/global-state", + "version": "5.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-02-14T08:28:10+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.6", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:42:11+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:12:34+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:17:30+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:45:17+00:00" + }, + { + "name": "sebastian/type", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.0.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-03-15T09:54:48+00:00" + }, + { + "name": "sebastian/version", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" + }, + { + "name": "slevomat/coding-standard", + "version": "7.2.1", + "source": { + "type": "git", + "url": "https://github.com/slevomat/coding-standard.git", + "reference": "aff06ae7a84e4534bf6f821dc982a93a5d477c90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/aff06ae7a84e4534bf6f821dc982a93a5d477c90", + "reference": "aff06ae7a84e4534bf6f821dc982a93a5d477c90", + "shasum": "" + }, + "require": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", + "php": "^7.2 || ^8.0", + "phpstan/phpdoc-parser": "^1.5.1", + "squizlabs/php_codesniffer": "^3.6.2" + }, + "require-dev": { + "phing/phing": "2.17.3", + "php-parallel-lint/php-parallel-lint": "1.3.2", + "phpstan/phpstan": "1.4.10|1.7.1", + "phpstan/phpstan-deprecation-rules": "1.0.0", + "phpstan/phpstan-phpunit": "1.0.0|1.1.1", + "phpstan/phpstan-strict-rules": "1.2.3", + "phpunit/phpunit": "7.5.20|8.5.21|9.5.20" + }, + "type": "phpcodesniffer-standard", + "extra": { + "branch-alias": { + "dev-master": "7.x-dev" + } + }, + "autoload": { + "psr-4": { + "SlevomatCodingStandard\\": "SlevomatCodingStandard" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", + "support": { + "issues": "https://github.com/slevomat/coding-standard/issues", + "source": "https://github.com/slevomat/coding-standard/tree/7.2.1" + }, + "funding": [ + { + "url": "https://github.com/kukulich", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", + "type": "tidelift" + } + ], + "time": "2022-05-25T10:58:12+00:00" + }, + { + "name": "spatie/backtrace", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/backtrace.git", + "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "ext-json": "*", + "phpunit/phpunit": "^9.3", + "symfony/var-dumper": "^5.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Backtrace\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van de Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A better backtrace", + "homepage": "https://github.com/spatie/backtrace", + "keywords": [ + "Backtrace", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/backtrace/issues", + "source": "https://github.com/spatie/backtrace/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2021-11-09T10:57:15+00:00" + }, + { + "name": "spatie/laravel-ray", + "version": "1.29.7", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-ray.git", + "reference": "97b8ccdb9975e3339069765417990e89474254ee" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/97b8ccdb9975e3339069765417990e89474254ee", + "reference": "97b8ccdb9975e3339069765417990e89474254ee", + "shasum": "" + }, + "require": { + "ext-json": "*", + "illuminate/contracts": "^7.20|^8.19|^9.0", + "illuminate/database": "^7.20|^8.19|^9.0", + "illuminate/queue": "^7.20|^8.19|^9.0", + "illuminate/support": "^7.20|^8.19|^9.0", + "php": "^7.3|^8.0", + "spatie/backtrace": "^1.0", + "spatie/ray": "^1.33", + "symfony/stopwatch": "4.2|^5.1|^6.0", + "zbateson/mail-mime-parser": "^1.3.1|^2.0" + }, + "require-dev": { + "guzzlehttp/guzzle": "^7.3", + "laravel/framework": "^7.20|^8.19|^9.0", + "orchestra/testbench-core": "^5.0|^6.0|^7.0", + "phpstan/phpstan": "^0.12.93", + "phpunit/phpunit": "^9.3", + "spatie/phpunit-snapshot-assertions": "^4.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.29.x-dev" + }, + "laravel": { + "providers": [ + "Spatie\\LaravelRay\\RayServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Spatie\\LaravelRay\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Easily debug Laravel apps", + "homepage": "https://github.com/spatie/laravel-ray", + "keywords": [ + "laravel-ray", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/laravel-ray/issues", + "source": "https://github.com/spatie/laravel-ray/tree/1.29.7" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2022-05-27T18:45:58+00:00" + }, + { + "name": "spatie/macroable", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/macroable.git", + "reference": "7a99549fc001c925714b329220dea680c04bfa48" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/macroable/zipball/7a99549fc001c925714b329220dea680c04bfa48", + "reference": "7a99549fc001c925714b329220dea680c04bfa48", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.0|^9.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Macroable\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A trait to dynamically add methods to a class", + "homepage": "https://github.com/spatie/macroable", + "keywords": [ + "macroable", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/macroable/issues", + "source": "https://github.com/spatie/macroable/tree/1.0.1" + }, + "time": "2020-11-03T10:15:05+00:00" + }, + { + "name": "spatie/ray", + "version": "1.34.5", + "source": { + "type": "git", + "url": "https://github.com/spatie/ray.git", + "reference": "2d64ea264eecbdc7ec01e4e8b45978cae80815d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/ray/zipball/2d64ea264eecbdc7ec01e4e8b45978cae80815d2", + "reference": "2d64ea264eecbdc7ec01e4e8b45978cae80815d2", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "php": "^7.3|^8.0", + "ramsey/uuid": "^3.0|^4.1", + "spatie/backtrace": "^1.1", + "spatie/macroable": "^1.0|^2.0", + "symfony/stopwatch": "^4.0|^5.1|^6.0", + "symfony/var-dumper": "^4.2|^5.1|^6.0" + }, + "require-dev": { + "illuminate/support": "6.x|^8.18|^9.0", + "nesbot/carbon": "^2.43", + "phpstan/phpstan": "^0.12.92", + "phpunit/phpunit": "^9.5", + "spatie/phpunit-snapshot-assertions": "^4.2", + "spatie/test-time": "^1.2" + }, + "type": "library", + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\Ray\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Debug with Ray to fix problems faster", + "homepage": "https://github.com/spatie/ray", + "keywords": [ + "ray", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/ray/issues", + "source": "https://github.com/spatie/ray/tree/1.34.5" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2022-06-03T12:32:57+00:00" + }, + { + "name": "squizlabs/php_codesniffer", + "version": "3.6.2", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "bin": [ + "bin/phpcs", + "bin/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "keywords": [ + "phpcs", + "standards" + ], + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, + "time": "2021-12-12T21:44:58+00:00" + }, + { + "name": "swiftmailer/swiftmailer", + "version": "v6.3.0", + "source": { + "type": "git", + "url": "https://github.com/swiftmailer/swiftmailer.git", + "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8a5d5072dca8f48460fce2f4131fcc495eec654c", + "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c", + "shasum": "" + }, + "require": { + "egulias/email-validator": "^2.0|^3.1", + "php": ">=7.0.0", + "symfony/polyfill-iconv": "^1.0", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "symfony/phpunit-bridge": "^4.4|^5.4" + }, + "suggest": { + "ext-intl": "Needed to support internationalized email addresses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.2-dev" + } + }, + "autoload": { + "files": [ + "lib/swift_required.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Corbyn" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Swiftmailer, free feature-rich PHP mailer", + "homepage": "https://swiftmailer.symfony.com", + "keywords": [ + "email", + "mail", + "mailer" + ], + "support": { + "issues": "https://github.com/swiftmailer/swiftmailer/issues", + "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.3.0" + }, + "funding": [ + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer", + "type": "tidelift" + } + ], + "abandoned": "symfony/mailer", + "time": "2021-10-18T15:26:12+00:00" + }, + { + "name": "symfony/console", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/829d5d1bf60b2efeb0887b7436873becc71a45eb", + "reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.1|^6.0" + }, + "conflict": { + "psr/log": ">=3", + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0" + }, + "require-dev": { + "psr/log": "^1|^2", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/lock": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-18T06:17:34+00:00" + }, + { + "name": "symfony/css-selector", + "version": "v5.4.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "b0a190285cd95cb019237851205b8140ef6e368e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/b0a190285cd95cb019237851205b8140ef6e368e", + "reference": "b0a190285cd95cb019237851205b8140ef6e368e", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Converts CSS selectors to XPath expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/css-selector/tree/v5.4.3" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/error-handler", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/error-handler.git", + "reference": "c116cda1f51c678782768dce89a45f13c949455d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/c116cda1f51c678782768dce89a45f13c949455d", + "reference": "c116cda1f51c678782768dce89a45f13c949455d", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^4.4|^5.0|^6.0" + }, + "require-dev": { + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/http-kernel": "^4.4|^5.0|^6.0", + "symfony/serializer": "^4.4|^5.0|^6.0" + }, + "bin": [ + "Resources/bin/patch-type-declarations" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorHandler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to manage errors and ease debugging PHP code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/error-handler/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-21T13:57:48+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", + "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/event-dispatcher-contracts": "^2|^3", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "symfony/dependency-injection": "<4.4" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/http-foundation": "^4.4|^5.0|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/stopwatch": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-05T16:45:39+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1", + "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/event-dispatcher": "^1" + }, + "suggest": { + "symfony/event-dispatcher-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/finder", + "version": "v5.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/9b630f3427f3ebe7cd346c277a1408b00249dad9", + "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v5.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-15T08:07:45+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "6b0d0e4aca38d57605dcd11e2416994b38774522" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/6b0d0e4aca38d57605dcd11e2416994b38774522", + "reference": "6b0d0e4aca38d57605dcd11e2416994b38774522", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "predis/predis": "~1.0", + "symfony/cache": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/mime": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/mime": "To use the file extension guesser" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-foundation/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-17T15:07:29+00:00" + }, + { + "name": "symfony/http-kernel", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-kernel.git", + "reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/34b121ad3dc761f35fe1346d2f15618f8cbf77f8", + "reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/log": "^1|^2", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^5.0|^6.0", + "symfony/http-foundation": "^5.3.7|^6.0", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "symfony/browser-kit": "<5.4", + "symfony/cache": "<5.0", + "symfony/config": "<5.0", + "symfony/console": "<4.4", + "symfony/dependency-injection": "<5.3", + "symfony/doctrine-bridge": "<5.0", + "symfony/form": "<5.0", + "symfony/http-client": "<5.0", + "symfony/mailer": "<5.0", + "symfony/messenger": "<5.0", + "symfony/translation": "<5.0", + "symfony/twig-bridge": "<5.0", + "symfony/validator": "<5.0", + "twig/twig": "<2.13" + }, + "provide": { + "psr/log-implementation": "1.0|2.0" + }, + "require-dev": { + "psr/cache": "^1.0|^2.0|^3.0", + "symfony/browser-kit": "^5.4|^6.0", + "symfony/config": "^5.0|^6.0", + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/css-selector": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^5.3|^6.0", + "symfony/dom-crawler": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/http-client-contracts": "^1.1|^2|^3", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/routing": "^4.4|^5.0|^6.0", + "symfony/stopwatch": "^4.4|^5.0|^6.0", + "symfony/translation": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2|^3", + "twig/twig": "^2.13|^3.0.4" + }, + "suggest": { + "symfony/browser-kit": "", + "symfony/config": "", + "symfony/console": "", + "symfony/dependency-injection": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpKernel\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a structured process for converting a Request into a Response", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-kernel/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-27T07:09:08+00:00" + }, + { + "name": "symfony/mime", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/mime.git", + "reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mime/zipball/2b3802a24e48d0cfccf885173d2aac91e73df92e", + "reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "egulias/email-validator": "~3.0.0", + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/mailer": "<4.4" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10|^3.1", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/property-access": "^4.4|^5.1|^6.0", + "symfony/property-info": "^4.4|^5.1|^6.0", + "symfony/serializer": "^5.2|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows manipulating MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "support": { + "source": "https://github.com/symfony/mime/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-21T10:24:18+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-iconv", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-iconv.git", + "reference": "143f1881e655bebca1312722af8068de235ae5dc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/143f1881e655bebca1312722af8068de235ae5dc", + "reference": "143f1881e655bebca1312722af8068de235ae5dc", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-iconv": "*" + }, + "suggest": { + "ext-iconv": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Iconv\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Iconv extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "iconv", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-iconv/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "433d05519ce6990bf3530fba6957499d327395c2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", + "reference": "433d05519ce6990bf3530fba6957499d327395c2", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/59a8d271f00dd0e4c2e518104cc7963f655a1aa8", + "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "symfony/polyfill-intl-normalizer": "^1.10", + "symfony/polyfill-php72": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "219aa369ceff116e673852dce47c3a41794c14bd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", + "reference": "219aa369ceff116e673852dce47c3a41794c14bd", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-php72", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/bf44a9fd41feaac72b074de600314a93e2ae78e2", + "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php72/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", + "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-10T07:21:04+00:00" + }, + { + "name": "symfony/polyfill-php81", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php81/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/process", + "version": "v5.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "597f3fff8e3e91836bb0bd38f5718b56ddbde2f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/597f3fff8e3e91836bb0bd38f5718b56ddbde2f3", + "reference": "597f3fff8e3e91836bb0bd38f5718b56ddbde2f3", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v5.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-08T05:07:18+00:00" + }, + { + "name": "symfony/routing", + "version": "v5.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/routing.git", + "reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/routing/zipball/e07817bb6244ea33ef5ad31abc4a9288bef3f2f7", + "reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "doctrine/annotations": "<1.12", + "symfony/config": "<5.3", + "symfony/dependency-injection": "<4.4", + "symfony/yaml": "<4.4" + }, + "require-dev": { + "doctrine/annotations": "^1.12", + "psr/log": "^1|^2|^3", + "symfony/config": "^5.3|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/http-foundation": "^4.4|^5.0|^6.0", + "symfony/yaml": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/config": "For using the all-in-one router or any loader", + "symfony/expression-language": "For using expression matching", + "symfony/http-foundation": "For using a Symfony Request object", + "symfony/yaml": "For using the YAML loader" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Routing\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Maps an HTTP request to a set of configuration variables", + "homepage": "https://symfony.com", + "keywords": [ + "router", + "routing", + "uri", + "url" + ], + "support": { + "source": "https://github.com/symfony/routing/tree/v5.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-18T21:45:37+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c", + "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/container": "^1.1", + "symfony/deprecation-contracts": "^2.1|^3" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-03-13T20:07:29+00:00" + }, + { + "name": "symfony/stopwatch", + "version": "v5.4.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/stopwatch.git", + "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/4d04b5c24f3c9a1a168a131f6cbe297155bc0d30", + "reference": "4d04b5c24f3c9a1a168a131f6cbe297155bc0d30", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/service-contracts": "^1|^2|^3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Stopwatch\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a way to profile code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/stopwatch/tree/v5.4.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-02-18T16:06:09+00:00" + }, + { + "name": "symfony/string", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", + "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" + }, + "conflict": { + "symfony/translation-contracts": ">=3.0" + }, + "require-dev": { + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0|^6.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-19T10:40:37+00:00" + }, + { + "name": "symfony/translation", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "1639abc1177d26bcd4320e535e664cef067ab0ca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/1639abc1177d26bcd4320e535e664cef067ab0ca", + "reference": "1639abc1177d26bcd4320e535e664cef067ab0ca", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.16", + "symfony/translation-contracts": "^2.3" + }, + "conflict": { + "symfony/config": "<4.4", + "symfony/console": "<5.3", + "symfony/dependency-injection": "<5.0", + "symfony/http-kernel": "<5.0", + "symfony/twig-bundle": "<5.0", + "symfony/yaml": "<4.4" + }, + "provide": { + "symfony/translation-implementation": "2.3" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/console": "^5.4|^6.0", + "symfony/dependency-injection": "^5.0|^6.0", + "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/http-client-contracts": "^1.1|^2.0|^3.0", + "symfony/http-kernel": "^5.0|^6.0", + "symfony/intl": "^4.4|^5.0|^6.0", + "symfony/polyfill-intl-icu": "^1.21", + "symfony/service-contracts": "^1.1.2|^2|^3", + "symfony/yaml": "^4.4|^5.0|^6.0" + }, + "suggest": { + "psr/log-implementation": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to internationalize your application", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/translation/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-06T12:33:37+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "1211df0afa701e45a04253110e959d4af4ef0f07" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/1211df0afa701e45a04253110e959d4af4ef0f07", + "reference": "1211df0afa701e45a04253110e959d4af4ef0f07", + "shasum": "" + }, + "require": { + "php": ">=7.2.5" + }, + "suggest": { + "symfony/translation-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/translation-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "af52239a330fafd192c773795520dc2dd62b5657" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/af52239a330fafd192c773795520dc2dd62b5657", + "reference": "af52239a330fafd192c773795520dc2dd62b5657", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "phpunit/phpunit": "<5.4.3", + "symfony/console": "<4.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/uid": "^5.1|^6.0", + "twig/twig": "^2.13|^3.0.4" + }, + "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-intl": "To show region name in time zone dump", + "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "support": { + "source": "https://github.com/symfony/var-dumper/tree/v5.4.9" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-21T10:24:18+00:00" + }, + { + "name": "symfony/yaml", + "version": "v5.4.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "e80f87d2c9495966768310fc531b487ce64237a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2", + "reference": "e80f87d2c9495966768310fc531b487ce64237a2", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/console": "<5.3" + }, + "require-dev": { + "symfony/console": "^5.3|^6.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "bin": [ + "Resources/bin/yaml-lint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/v5.4.3" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-26T16:32:32+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2021-07-28T10:34:58+00:00" + }, + { + "name": "tijsverkoyen/css-to-inline-styles", + "version": "2.2.4", + "source": { + "type": "git", + "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", + "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0c140f68c6182e337d5b1c", + "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": "^5.5 || ^7.0 || ^8.0", + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "TijsVerkoyen\\CssToInlineStyles\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Tijs Verkoyen", + "email": "css_to_inline_styles@verkoyen.eu", + "role": "Developer" + } + ], + "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", + "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", + "support": { + "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.4" + }, + "time": "2021-12-08T09:12:39+00:00" + }, + { + "name": "vlucas/phpdotenv", + "version": "v5.4.1", + "source": { + "type": "git", + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/264dce589e7ce37a7ba99cb901eed8249fbec92f", + "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "graham-campbell/result-type": "^1.0.2", + "php": "^7.1.3 || ^8.0", + "phpoption/phpoption": "^1.8", + "symfony/polyfill-ctype": "^1.23", + "symfony/polyfill-mbstring": "^1.23.1", + "symfony/polyfill-php80": "^1.23.1" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-filter": "*", + "phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "psr-4": { + "Dotenv\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "https://github.com/vlucas" + } + ], + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "support": { + "issues": "https://github.com/vlucas/phpdotenv/issues", + "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2021-12-12T23:22:04+00:00" + }, + { + "name": "voku/portable-ascii", + "version": "1.6.1", + "source": { + "type": "git", + "url": "https://github.com/voku/portable-ascii.git", + "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/87337c91b9dfacee02452244ee14ab3c43bc485a", + "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" + }, + "suggest": { + "ext-intl": "Use Intl for transliterator_transliterate() support" + }, + "type": "library", + "autoload": { + "psr-4": { + "voku\\": "src/voku/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Lars Moelleken", + "homepage": "http://www.moelleken.org/" + } + ], + "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", + "homepage": "https://github.com/voku/portable-ascii", + "keywords": [ + "ascii", + "clean", + "php" + ], + "support": { + "issues": "https://github.com/voku/portable-ascii/issues", + "source": "https://github.com/voku/portable-ascii/tree/1.6.1" + }, + "funding": [ + { + "url": "https://www.paypal.me/moelleken", + "type": "custom" + }, + { + "url": "https://github.com/voku", + "type": "github" + }, + { + "url": "https://opencollective.com/portable-ascii", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", + "type": "tidelift" + } + ], + "time": "2022-01-24T18:55:24+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.11.0" + }, + "time": "2022-06-03T18:03:27+00:00" + }, + { + "name": "zbateson/mail-mime-parser", + "version": "2.2.1", + "source": { + "type": "git", + "url": "https://github.com/zbateson/mail-mime-parser.git", + "reference": "24955de7ec352b3258c1d4551efd21202cb8710c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/24955de7ec352b3258c1d4551efd21202cb8710c", + "reference": "24955de7ec352b3258c1d4551efd21202cb8710c", + "shasum": "" + }, + "require": { + "guzzlehttp/psr7": "^1.7.0|^2.0", + "php": ">=5.4", + "pimple/pimple": "^3.0", + "zbateson/mb-wrapper": "^1.0.1", + "zbateson/stream-decorators": "^1.0.6" + }, + "require-dev": { + "mikey179/vfsstream": "^1.6.0", + "sanmai/phpunit-legacy-adapter": "^6.3 || ^8.2" + }, + "suggest": { + "ext-iconv": "For best support/performance", + "ext-mbstring": "For best support/performance" + }, + "type": "library", + "autoload": { + "psr-4": { + "ZBateson\\MailMimeParser\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Zaahid Bateson" + }, + { + "name": "Contributors", + "homepage": "https://github.com/zbateson/mail-mime-parser/graphs/contributors" + } + ], + "description": "MIME email message parser", + "homepage": "https://mail-mime-parser.org", + "keywords": [ + "MimeMailParser", + "email", + "mail", + "mailparse", + "mime", + "mimeparse", + "parser", + "php-imap" + ], + "support": { + "docs": "https://mail-mime-parser.org/#usage-guide", + "issues": "https://github.com/zbateson/mail-mime-parser/issues", + "source": "https://github.com/zbateson/mail-mime-parser" + }, + "funding": [ + { + "url": "https://github.com/zbateson", + "type": "github" + } + ], + "time": "2022-02-22T21:35:59+00:00" + }, + { + "name": "zbateson/mb-wrapper", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/zbateson/mb-wrapper.git", + "reference": "5d9d190ef18ce6d424e3ac6f5ebe13901f92b74a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zbateson/mb-wrapper/zipball/5d9d190ef18ce6d424e3ac6f5ebe13901f92b74a", + "reference": "5d9d190ef18ce6d424e3ac6f5ebe13901f92b74a", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "symfony/polyfill-iconv": "^1.9", + "symfony/polyfill-mbstring": "^1.9" + }, + "require-dev": { + "sanmai/phpunit-legacy-adapter": "^6.3 || ^8" + }, + "suggest": { + "ext-iconv": "For best support/performance", + "ext-mbstring": "For best support/performance" + }, + "type": "library", + "autoload": { + "psr-4": { + "ZBateson\\MbWrapper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Zaahid Bateson" + } + ], + "description": "Wrapper for mbstring with fallback to iconv for encoding conversion and string manipulation", + "keywords": [ + "charset", + "encoding", + "http", + "iconv", + "mail", + "mb", + "mb_convert_encoding", + "mbstring", + "mime", + "multibyte", + "string" + ], + "support": { + "issues": "https://github.com/zbateson/mb-wrapper/issues", + "source": "https://github.com/zbateson/mb-wrapper/tree/1.1.2" + }, + "funding": [ + { + "url": "https://github.com/zbateson", + "type": "github" + } + ], + "time": "2022-05-26T15:55:05+00:00" + }, + { + "name": "zbateson/stream-decorators", + "version": "1.0.6", + "source": { + "type": "git", + "url": "https://github.com/zbateson/stream-decorators.git", + "reference": "3403c4323bd1cd15fe54348b031b26b064c706af" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/3403c4323bd1cd15fe54348b031b26b064c706af", + "reference": "3403c4323bd1cd15fe54348b031b26b064c706af", + "shasum": "" + }, + "require": { + "guzzlehttp/psr7": "^1.7.0|^2.0", + "php": ">=5.4", + "zbateson/mb-wrapper": "^1.0.0" + }, + "require-dev": { + "sanmai/phpunit-legacy-adapter": "^6.3 || ^8" + }, + "type": "library", + "autoload": { + "psr-4": { + "ZBateson\\StreamDecorators\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Zaahid Bateson" + } + ], + "description": "PHP psr7 stream decorators for mime message part streams", + "keywords": [ + "base64", + "charset", + "decorators", + "mail", + "mime", + "psr7", + "quoted-printable", + "stream", + "uuencode" + ], + "support": { + "issues": "https://github.com/zbateson/stream-decorators/issues", + "source": "https://github.com/zbateson/stream-decorators/tree/1.0.6" + }, + "funding": [ + { + "url": "https://github.com/zbateson", + "type": "github" + } + ], + "time": "2021-07-08T19:01:59+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "ext-curl": "^7.3", + "php": "^7.3" + }, + "platform-dev": [], + "plugin-api-version": "2.2.0" +} diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-CrmApiV2.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-CrmApiV2.html new file mode 100644 index 0000000..a74a44c --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-CrmApiV2.html @@ -0,0 +1,807 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
+

CRM V2

+ + + + + +
+ +
+
+ + + + +
+ + +
+

+ CrmApiV2 + + +
+ in package + +
+ + +

+ + + +

This is the main class to interact with the CRM

+ + + + + + + + + +

+ Table of Contents + +

+ +
+
+ $apiInterface + +  : ApiInterface +
+
The Api object that will handle requests and responses
+ +
+ __construct() + +  : mixed +
+
CrmApiV2
+ +
+ getCustomer() + +  : Customer|null +
+
Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.
+ +
+ getCustomerOrNew() + +  : Customer +
+
Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.
+ +
+ login() + +  : bool +
+
Test a customer credentials to see if it can login
+ +
+ ping() + +  : bool +
+
Use this the ping the crm and know its current status
+ +
+ setStatus() + +  : bool +
+
Set the single optin status for an email
+ +
+ + + + + + +
+

+ Properties + +

+
+

+ $apiInterface + + + +

+ + +

The Api object that will handle requests and responses

+ + + private + static ApiInterface + $apiInterface + + + + + + +
+
+ +
+

+ Methods + +

+
+

+ __construct() + +

+ + +

CrmApiV2

+ + + public + __construct([string|null $endpoint = null ][, string|null $bearerToken = null ][, string|null $bearerPwd = null ]) : mixed + + +
Parameters
+
+
+ $endpoint + : string|null + = null
+
+ +
+
+ $bearerToken + : string|null + = null
+
+ +
+
+ $bearerPwd + : string|null + = null
+
+ +
+
+ + + +
Return values
+ mixed + — + + +
+
+

+ getCustomer() + +

+ + +

Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.

+ + + public + getCustomer(string $identification) : Customer|null + + +
Parameters
+
+
+ $identification + : string +
+
+

The customer hashcode or email.

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs on server side or on getting response.

+
+ +
+
+ throws +
+
+ ApiErrorException + +

If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

+
+ +
+
+ phpcs:ignore +
+
+ +

Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

+
+ +
+
+ +
Return values
+ Customer|null + — +

Return null if the customer was not found

+
+ + +
+
+

+ getCustomerOrNew() + +

+ + +

Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.

+ + + public + getCustomerOrNew(string $identification) : Customer + + +
Parameters
+
+
+ $identification + : string +
+
+

The customer hashcode or email.

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs on server side or on getting response.

+
+ +
+
+ throws +
+
+ ApiErrorException + +

If any error or \LDC\LDCCRM\Enums\ApiError occurs.

+
+ +
+
+ phpcs:ignore +
+
+ +

Squiz.Commenting.FunctionComment.EmptyThrows

+
+ +
+
+ +
Return values
+ Customer + — +

A client Customer model.

+
+ + +
+
+

+ login() + +

+ + +

Test a customer credentials to see if it can login

+ + + public + static login(string $email, string $password) : bool + + +
Parameters
+
+
+ $email + : string +
+
+ +
+
+ $password + : string +
+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs on server side or on getting response.

+
+ +
+
+ throws +
+
+ ApiErrorException + +

If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

+
+ +
+
+ phpcs:ignore +
+
+ +

Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

+
+ +
+
+ +
Return values
+ bool + — + + +
+
+

+ ping() + +

+ + +

Use this the ping the crm and know its current status

+ + + public + ping() : bool + + + + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs +on server side or on getting response.

+
+ +
+
+ +
Return values
+ bool + — + + +
+
+

+ setStatus() + +

+ + +

Set the single optin status for an email

+ + + public + static setStatus(string $email, bool $opt_in) : bool + + +
Parameters
+
+
+ $email + : string +
+
+ +
+
+ $opt_in + : bool +
+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ CrmException + +

If an error occurs on server side or on getting response.

+
+ +
+
+ throws +
+
+ ApiErrorException + +

If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

+
+ +
+
+ phpcs:ignore +
+
+ +

Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

+
+ +
+
+ +
Return values
+ bool + — +

true if succeeded

+
+ + +
+
+ + + + +
+
+
+
+

Search results

+ +
+
+
    +
    +
    +
    +
    +
    + + +
    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiError.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiError.html new file mode 100644 index 0000000..f463e80 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiError.html @@ -0,0 +1,906 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
    +

    CRM V2

    + + + + + +
    + +
    +
    + + + + +
    + + +
    +

    + ApiError + + + extends BaseEnum + + +
    + in package + +
    + + +

    + + + +

    This describes an API error.

    + + + +
    + Tags + +
    +
    +
    + subpackage +
    +
    + +

    enums

    +
    + +
    +
    + + + + + + +

    + Table of Contents + +

    + +
    +
    + apiAuthFailed() + +  : +
    +
    + +
    + authFailed() + +  : +
    +
    + +
    + authorizationException() + +  : +
    +
    + +
    + customerAlreadyActive() + +  : +
    +
    + +
    + customerExists() + +  : +
    +
    + +
    + customerNotActivated() + +  : +
    +
    + +
    + labels() + +  : array<string|int, mixed> +
    +
    Libellés des possibilités de cet énumération (label)
    + +
    + methodNotAllowed() + +  : +
    +
    + +
    + missingParameter() + +  : +
    +
    + +
    + modelNotFound() + +  : +
    +
    + +
    + singleOptinCustomerExists() + +  : +
    +
    + +
    + throttleRequestsException() + +  : +
    +
    + +
    + validationFailed() + +  : +
    +
    + +
    + values() + +  : array<string|int, mixed> +
    +
    Valeurs des possibilités de cet énumération (value)
    + +
    + wrongTimeStamp() + +  : +
    +
    + +
    + + + + + + + +
    +

    + Methods + +

    +
    +

    + apiAuthFailed() + +

    + + + + + public + static apiAuthFailed() : + +

    The authentification to the api failed. You may have to +check into config or .env file for your service credentials

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + authFailed() + +

    + + + + + public + static authFailed() : + +

    The authentification for this customer failed because of wrong credentials

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + authorizationException() + +

    + + + + + public + static authorizationException() : + +

    You are maybe trying to access data that is out of your range. +This should not happen normally, it is here to allow you to handle this case. +If this happens fill a ticket on https://supportweb.ldc.fr +with some technical details

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + customerAlreadyActive() + +

    + + + + + public + static customerAlreadyActive() : + +

    You have requested to activate a customer account, +but it is already active

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + customerExists() + +

    + + + + + public + static customerExists() : + +

    The customer already exists

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + customerNotActivated() + +

    + + + + + public + static customerNotActivated() : + +

    The customer account is not activated and cannot perform +this action

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + labels() + +

    + + +

    Libellés des possibilités de cet énumération (label)

    + + + public + static labels() : array<string|int, mixed> + + + + + +
    Return values
    + array<string|int, mixed> + — + + +
    +
    +

    + methodNotAllowed() + +

    + + + + + public + static methodNotAllowed() : + +

    This http method is not allowed

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + missingParameter() + +

    + + + + + public + static missingParameter() : + +

    The request is missing some parameters

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + modelNotFound() + +

    + + + + + public + static modelNotFound() : + +

    The request model was not found (typically the customer)

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + singleOptinCustomerExists() + +

    + + + + + public + static singleOptinCustomerExists() : + +

    You have requested to create a single optin for an email, +but it already exists

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + throttleRequestsException() + +

    + + + + + public + static throttleRequestsException() : + +

    Too many requests have been attempted. The is a throttle security. +Normally you should not trigger this. +If this happens fill a ticket on https://supportweb.ldc.fr +with some technical details

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + validationFailed() + +

    + + + + + public + static validationFailed() : + +

    This means some data could not be validated, +you may have to look into message to get the details

    +
    + + + + +
    Return values
    + + — + + +
    +
    +

    + values() + +

    + + +

    Valeurs des possibilités de cet énumération (value)

    + + + public + static values() : array<string|int, mixed> + + + + + +
    Return values
    + array<string|int, mixed> + — + + +
    +
    +

    + wrongTimeStamp() + +

    + + + + + public + static wrongTimeStamp() : + +

    The timestamp given is wrong. This would happen in case if +a replay attack scenario. Timestamps are provided in headers +and in the http body

    +
    + + + + +
    Return values
    + + — + + +
    +
    + + + + +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      +
      + + +
      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiStatus.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiStatus.html new file mode 100644 index 0000000..25185da --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ApiStatus.html @@ -0,0 +1,357 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
      +

      CRM V2

      + + + + + +
      + +
      +
      + + + + +
      + + +
      +

      + ApiStatus + + + extends BaseEnum + + +
      + in package + +
      + + +

      + + + + + + +
      + Tags + +
      +
      +
      + subpackage +
      +
      + +

      enums

      +
      + +
      +
      + + + + + + +

      + Table of Contents + +

      + +
      +
      + KO() + +  : +
      +
      + +
      + OK() + +  : +
      +
      + +
      + + + + + + + +
      +

      + Methods + +

      +
      +

      + KO() + +

      + + + + + public + static KO() : + + + + + +
      Return values
      + + — + + +
      +
      +

      + OK() + +

      + + + + + public + static OK() : + + + + + +
      Return values
      + + — + + +
      +
      + + + + +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        +
        + + +
        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html new file mode 100644 index 0000000..4a9897c --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html @@ -0,0 +1,397 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
        +

        CRM V2

        + + + + + +
        + +
        +
        + + + + +
        + + +
        +

        + ArcadiaMailType + + + extends BaseEnum + + +
        + in package + +
        + + +

        + + + + + + +
        + Tags + +
        +
        +
        + subpackage +
        +
        + +

        enums

        +
        + +
        +
        + + + + + + +

        + Table of Contents + +

        + +
        +
        + default() + +  : +
        +
        + +
        + game() + +  : +
        +
        + +
        + values() + +  : array<string|int, mixed> +
        +
        Valeurs des possibilités de cet énumération (value)
        + +
        + + + + + + + +
        +

        + Methods + +

        +
        +

        + default() + +

        + + + + + public + static default() : + + + + + +
        Return values
        + + — + + +
        +
        +

        + game() + +

        + + + + + public + static game() : + + + + + +
        Return values
        + + — + + +
        +
        +

        + values() + +

        + + +

        Valeurs des possibilités de cet énumération (value)

        + + + public + static values() : array<string|int, mixed> + + + + + +
        Return values
        + array<string|int, mixed> + — + + +
        +
        + + + + +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          +
          + + +
          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html new file mode 100644 index 0000000..4f25195 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html @@ -0,0 +1,397 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
          +

          CRM V2

          + + + + + +
          + +
          +
          + + + + +
          + + +
          +

          + ArcadiaOrderType + + + extends BaseEnum + + +
          + in package + +
          + + +

          + + + + + + +
          + Tags + +
          +
          +
          + subpackage +
          +
          + +

          enums

          +
          + +
          +
          + + + + + + +

          + Table of Contents + +

          + +
          +
          + cb() + +  : +
          +
          + +
          + check() + +  : +
          +
          + +
          + values() + +  : array<string|int, mixed> +
          +
          Valeurs des possibilités de cet énumération (value)
          + +
          + + + + + + + +
          +

          + Methods + +

          +
          +

          + cb() + +

          + + + + + public + static cb() : + + + + + +
          Return values
          + + — + + +
          +
          +

          + check() + +

          + + + + + public + static check() : + + + + + +
          Return values
          + + — + + +
          +
          +

          + values() + +

          + + +

          Valeurs des possibilités de cet énumération (value)

          + + + public + static values() : array<string|int, mixed> + + + + + +
          Return values
          + array<string|int, mixed> + — + + +
          +
          + + + + +
          +
          +
          +
          +

          Search results

          + +
          +
          +
            +
            +
            +
            +
            +
            + + +
            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-Country.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-Country.html new file mode 100644 index 0000000..92ebd08 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-Country.html @@ -0,0 +1,10078 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
            +

            CRM V2

            + + + + + +
            + +
            +
            + + + + +
            + + +
            +

            + Country + + + extends BaseEnum + + +
            + in package + +
            + + +

            + + + +

            Liste de Pays

            + + + +
            + Tags + +
            +
            +
            + source +
            +
            + + +
            +
            + subpackage +
            +
            + +

            enums

            +
            + +
            +
            + + + + + + +

            + Table of Contents + +

            + +
            +
            + afghanistan() + +  : +
            +
            + +
            + alandIslands() + +  : +
            +
            + +
            + albania() + +  : +
            +
            + +
            + algeria() + +  : +
            +
            + +
            + americanSamoa() + +  : +
            +
            + +
            + andorra() + +  : +
            +
            + +
            + angola() + +  : +
            +
            + +
            + anguilla() + +  : +
            +
            + +
            + antarctica() + +  : +
            +
            + +
            + antiguaAndBarbuda() + +  : +
            +
            + +
            + argentina() + +  : +
            +
            + +
            + armenia() + +  : +
            +
            + +
            + aruba() + +  : +
            +
            + +
            + australia() + +  : +
            +
            + +
            + austria() + +  : +
            +
            + +
            + azerbaijan() + +  : +
            +
            + +
            + bahamas() + +  : +
            +
            + +
            + bahrain() + +  : +
            +
            + +
            + bangladesh() + +  : +
            +
            + +
            + barbados() + +  : +
            +
            + +
            + belarus() + +  : +
            +
            + +
            + belgium() + +  : +
            +
            + +
            + belize() + +  : +
            +
            + +
            + benin() + +  : +
            +
            + +
            + bermuda() + +  : +
            +
            + +
            + bhutan() + +  : +
            +
            + +
            + boliviaPlurinationalStateOf() + +  : +
            +
            + +
            + bonaireSintEustatiusAndSaba() + +  : +
            +
            + +
            + bosniaAndHerzegovina() + +  : +
            +
            + +
            + botswana() + +  : +
            +
            + +
            + bouvetIsland() + +  : +
            +
            + +
            + brazil() + +  : +
            +
            + +
            + britishIndianOceanTerritory() + +  : +
            +
            + +
            + bruneiDarussalam() + +  : +
            +
            + +
            + bulgaria() + +  : +
            +
            + +
            + burkinaFaso() + +  : +
            +
            + +
            + burundi() + +  : +
            +
            + +
            + cambodia() + +  : +
            +
            + +
            + cameroon() + +  : +
            +
            + +
            + canada() + +  : +
            +
            + +
            + capeVerde() + +  : +
            +
            + +
            + caymanIslands() + +  : +
            +
            + +
            + centralAfricanRepublic() + +  : +
            +
            + +
            + chad() + +  : +
            +
            + +
            + chile() + +  : +
            +
            + +
            + china() + +  : +
            +
            + +
            + christmasIsland() + +  : +
            +
            + +
            + cocosKeelingIslands() + +  : +
            +
            + +
            + colombia() + +  : +
            +
            + +
            + comoros() + +  : +
            +
            + +
            + congo() + +  : +
            +
            + +
            + congoTheDemocraticRepublicOfThe() + +  : +
            +
            + +
            + cookIslands() + +  : +
            +
            + +
            + costaRica() + +  : +
            +
            + +
            + coteDivoire() + +  : +
            +
            + +
            + croatia() + +  : +
            +
            + +
            + cuba() + +  : +
            +
            + +
            + curacao() + +  : +
            +
            + +
            + cyprus() + +  : +
            +
            + +
            + czechRepublic() + +  : +
            +
            + +
            + denmark() + +  : +
            +
            + +
            + djibouti() + +  : +
            +
            + +
            + dominica() + +  : +
            +
            + +
            + dominicanRepublic() + +  : +
            +
            + +
            + ecuador() + +  : +
            +
            + +
            + egypt() + +  : +
            +
            + +
            + elSalvador() + +  : +
            +
            + +
            + equatorialGuinea() + +  : +
            +
            + +
            + eritrea() + +  : +
            +
            + +
            + estonia() + +  : +
            +
            + +
            + ethiopia() + +  : +
            +
            + +
            + falklandIslandsMalvinas() + +  : +
            +
            + +
            + faroeIslands() + +  : +
            +
            + +
            + fiji() + +  : +
            +
            + +
            + finland() + +  : +
            +
            + +
            + france() + +  : +
            +
            + +
            + frenchGuiana() + +  : +
            +
            + +
            + frenchPolynesia() + +  : +
            +
            + +
            + frenchSouthernTerritories() + +  : +
            +
            + +
            + gabon() + +  : +
            +
            + +
            + gambia() + +  : +
            +
            + +
            + georgia() + +  : +
            +
            + +
            + germany() + +  : +
            +
            + +
            + ghana() + +  : +
            +
            + +
            + gibraltar() + +  : +
            +
            + +
            + greece() + +  : +
            +
            + +
            + greenland() + +  : +
            +
            + +
            + grenada() + +  : +
            +
            + +
            + guadeloupe() + +  : +
            +
            + +
            + guam() + +  : +
            +
            + +
            + guatemala() + +  : +
            +
            + +
            + guernsey() + +  : +
            +
            + +
            + guinea() + +  : +
            +
            + +
            + guineaBissau() + +  : +
            +
            + +
            + guyana() + +  : +
            +
            + +
            + haiti() + +  : +
            +
            + +
            + heardIslandAndMcdonaldIslands() + +  : +
            +
            + +
            + holySeeVaticanCityState() + +  : +
            +
            + +
            + honduras() + +  : +
            +
            + +
            + hongKong() + +  : +
            +
            + +
            + hungary() + +  : +
            +
            + +
            + iceland() + +  : +
            +
            + +
            + india() + +  : +
            +
            + +
            + indonesia() + +  : +
            +
            + +
            + iranIslamicRepublicOf() + +  : +
            +
            + +
            + iraq() + +  : +
            +
            + +
            + ireland() + +  : +
            +
            + +
            + isleOfMan() + +  : +
            +
            + +
            + israel() + +  : +
            +
            + +
            + italy() + +  : +
            +
            + +
            + jamaica() + +  : +
            +
            + +
            + japan() + +  : +
            +
            + +
            + jersey() + +  : +
            +
            + +
            + jordan() + +  : +
            +
            + +
            + kazakhstan() + +  : +
            +
            + +
            + kenya() + +  : +
            +
            + +
            + kiribati() + +  : +
            +
            + +
            + koreaDemocraticPeoplesRepublicOf() + +  : +
            +
            + +
            + koreaRepublicOf() + +  : +
            +
            + +
            + kuwait() + +  : +
            +
            + +
            + kyrgyzstan() + +  : +
            +
            + +
            + labels() + +  : array<string|int, mixed> +
            +
            Libellés des possibilités de cet énumération (label)
            + +
            + laoPeoplesDemocraticRepublic() + +  : +
            +
            + +
            + latvia() + +  : +
            +
            + +
            + lebanon() + +  : +
            +
            + +
            + lesotho() + +  : +
            +
            + +
            + liberia() + +  : +
            +
            + +
            + libya() + +  : +
            +
            + +
            + liechtenstein() + +  : +
            +
            + +
            + lithuania() + +  : +
            +
            + +
            + luxembourg() + +  : +
            +
            + +
            + macao() + +  : +
            +
            + +
            + macedoniaTheFormerYugoslavRepublicOf() + +  : +
            +
            + +
            + madagascar() + +  : +
            +
            + +
            + malawi() + +  : +
            +
            + +
            + malaysia() + +  : +
            +
            + +
            + maldives() + +  : +
            +
            + +
            + mali() + +  : +
            +
            + +
            + malta() + +  : +
            +
            + +
            + marshallIslands() + +  : +
            +
            + +
            + martinique() + +  : +
            +
            + +
            + mauritania() + +  : +
            +
            + +
            + mauritius() + +  : +
            +
            + +
            + mayotte() + +  : +
            +
            + +
            + mexico() + +  : +
            +
            + +
            + micronesiaFederatedStatesOf() + +  : +
            +
            + +
            + moldovaRepublicOf() + +  : +
            +
            + +
            + monaco() + +  : +
            +
            + +
            + mongolia() + +  : +
            +
            + +
            + montenegro() + +  : +
            +
            + +
            + montserrat() + +  : +
            +
            + +
            + morocco() + +  : +
            +
            + +
            + mozambique() + +  : +
            +
            + +
            + myanmar() + +  : +
            +
            + +
            + namibia() + +  : +
            +
            + +
            + nauru() + +  : +
            +
            + +
            + nepal() + +  : +
            +
            + +
            + netherlands() + +  : +
            +
            + +
            + newCaledonia() + +  : +
            +
            + +
            + newZealand() + +  : +
            +
            + +
            + nicaragua() + +  : +
            +
            + +
            + niger() + +  : +
            +
            + +
            + nigeria() + +  : +
            +
            + +
            + niue() + +  : +
            +
            + +
            + norfolkIsland() + +  : +
            +
            + +
            + northernMarianaIslands() + +  : +
            +
            + +
            + norway() + +  : +
            +
            + +
            + oman() + +  : +
            +
            + +
            + pakistan() + +  : +
            +
            + +
            + palau() + +  : +
            +
            + +
            + palestineStateOf() + +  : +
            +
            + +
            + panama() + +  : +
            +
            + +
            + papuaNewGuinea() + +  : +
            +
            + +
            + paraguay() + +  : +
            +
            + +
            + peru() + +  : +
            +
            + +
            + philippines() + +  : +
            +
            + +
            + pitcairn() + +  : +
            +
            + +
            + poland() + +  : +
            +
            + +
            + portugal() + +  : +
            +
            + +
            + puertoRico() + +  : +
            +
            + +
            + qatar() + +  : +
            +
            + +
            + reunion() + +  : +
            +
            + +
            + romania() + +  : +
            +
            + +
            + russianFederation() + +  : +
            +
            + +
            + rwanda() + +  : +
            +
            + +
            + saintBarthelemy() + +  : +
            +
            + +
            + saintHelenaAscensionAndTristanDaCunha() + +  : +
            +
            + +
            + saintKittsAndNevis() + +  : +
            +
            + +
            + saintLucia() + +  : +
            +
            + +
            + saintMartinFrenchPart() + +  : +
            +
            + +
            + saintPierreAndMiquelon() + +  : +
            +
            + +
            + saintVincentAndTheGrenadines() + +  : +
            +
            + +
            + samoa() + +  : +
            +
            + +
            + sanMarino() + +  : +
            +
            + +
            + saoTomeAndPrincipe() + +  : +
            +
            + +
            + saudiArabia() + +  : +
            +
            + +
            + senegal() + +  : +
            +
            + +
            + serbia() + +  : +
            +
            + +
            + seychelles() + +  : +
            +
            + +
            + sierraLeone() + +  : +
            +
            + +
            + singapore() + +  : +
            +
            + +
            + sintMaartenDutchPart() + +  : +
            +
            + +
            + slovakia() + +  : +
            +
            + +
            + slovenia() + +  : +
            +
            + +
            + solomonIslands() + +  : +
            +
            + +
            + somalia() + +  : +
            +
            + +
            + southAfrica() + +  : +
            +
            + +
            + southGeorgiaAndTheSouthSandwichIslands() + +  : +
            +
            + +
            + southSudan() + +  : +
            +
            + +
            + spain() + +  : +
            +
            + +
            + sriLanka() + +  : +
            +
            + +
            + sudan() + +  : +
            +
            + +
            + suriname() + +  : +
            +
            + +
            + svalbardAndJanMayen() + +  : +
            +
            + +
            + swaziland() + +  : +
            +
            + +
            + sweden() + +  : +
            +
            + +
            + switzerland() + +  : +
            +
            + +
            + syrianArabRepublic() + +  : +
            +
            + +
            + taiwanProvinceOfChina() + +  : +
            +
            + +
            + tajikistan() + +  : +
            +
            + +
            + tanzaniaUnitedRepublicOf() + +  : +
            +
            + +
            + thailand() + +  : +
            +
            + +
            + timorLeste() + +  : +
            +
            + +
            + togo() + +  : +
            +
            + +
            + tokelau() + +  : +
            +
            + +
            + tonga() + +  : +
            +
            + +
            + trinidadAndTobago() + +  : +
            +
            + +
            + tunisia() + +  : +
            +
            + +
            + turkey() + +  : +
            +
            + +
            + turkmenistan() + +  : +
            +
            + +
            + turksAndCaicosIslands() + +  : +
            +
            + +
            + tuvalu() + +  : +
            +
            + +
            + uganda() + +  : +
            +
            + +
            + ukraine() + +  : +
            +
            + +
            + unitedArabEmirates() + +  : +
            +
            + +
            + unitedKingdom() + +  : +
            +
            + +
            + unitedStates() + +  : +
            +
            + +
            + unitedStatesMinorOutlyingIslands() + +  : +
            +
            + +
            + uruguay() + +  : +
            +
            + +
            + uzbekistan() + +  : +
            +
            + +
            + values() + +  : array<string|int, mixed> +
            +
            Valeurs des possibilités de cet énumération (value)
            + +
            + vanuatu() + +  : +
            +
            + +
            + venezuelaBolivarianRepublicOf() + +  : +
            +
            + +
            + vietNam() + +  : +
            +
            + +
            + virginIslandsBritish() + +  : +
            +
            + +
            + virginIslandsUs() + +  : +
            +
            + +
            + wallisAndFutuna() + +  : +
            +
            + +
            + westernSahara() + +  : +
            +
            + +
            + yemen() + +  : +
            +
            + +
            + zambia() + +  : +
            +
            + +
            + zimbabwe() + +  : +
            +
            + +
            + + + + + + + +
            +

            + Methods + +

            +
            +

            + afghanistan() + +

            + + + + + public + static afghanistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + alandIslands() + +

            + + + + + public + static alandIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + albania() + +

            + + + + + public + static albania() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + algeria() + +

            + + + + + public + static algeria() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + americanSamoa() + +

            + + + + + public + static americanSamoa() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + andorra() + +

            + + + + + public + static andorra() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + angola() + +

            + + + + + public + static angola() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + anguilla() + +

            + + + + + public + static anguilla() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + antarctica() + +

            + + + + + public + static antarctica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + antiguaAndBarbuda() + +

            + + + + + public + static antiguaAndBarbuda() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + argentina() + +

            + + + + + public + static argentina() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + armenia() + +

            + + + + + public + static armenia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + aruba() + +

            + + + + + public + static aruba() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + australia() + +

            + + + + + public + static australia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + austria() + +

            + + + + + public + static austria() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + azerbaijan() + +

            + + + + + public + static azerbaijan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bahamas() + +

            + + + + + public + static bahamas() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bahrain() + +

            + + + + + public + static bahrain() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bangladesh() + +

            + + + + + public + static bangladesh() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + barbados() + +

            + + + + + public + static barbados() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + belarus() + +

            + + + + + public + static belarus() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + belgium() + +

            + + + + + public + static belgium() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + belize() + +

            + + + + + public + static belize() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + benin() + +

            + + + + + public + static benin() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bermuda() + +

            + + + + + public + static bermuda() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bhutan() + +

            + + + + + public + static bhutan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + boliviaPlurinationalStateOf() + +

            + + + + + public + static boliviaPlurinationalStateOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bonaireSintEustatiusAndSaba() + +

            + + + + + public + static bonaireSintEustatiusAndSaba() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bosniaAndHerzegovina() + +

            + + + + + public + static bosniaAndHerzegovina() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + botswana() + +

            + + + + + public + static botswana() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bouvetIsland() + +

            + + + + + public + static bouvetIsland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + brazil() + +

            + + + + + public + static brazil() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + britishIndianOceanTerritory() + +

            + + + + + public + static britishIndianOceanTerritory() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bruneiDarussalam() + +

            + + + + + public + static bruneiDarussalam() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + bulgaria() + +

            + + + + + public + static bulgaria() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + burkinaFaso() + +

            + + + + + public + static burkinaFaso() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + burundi() + +

            + + + + + public + static burundi() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cambodia() + +

            + + + + + public + static cambodia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cameroon() + +

            + + + + + public + static cameroon() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + canada() + +

            + + + + + public + static canada() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + capeVerde() + +

            + + + + + public + static capeVerde() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + caymanIslands() + +

            + + + + + public + static caymanIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + centralAfricanRepublic() + +

            + + + + + public + static centralAfricanRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + chad() + +

            + + + + + public + static chad() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + chile() + +

            + + + + + public + static chile() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + china() + +

            + + + + + public + static china() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + christmasIsland() + +

            + + + + + public + static christmasIsland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cocosKeelingIslands() + +

            + + + + + public + static cocosKeelingIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + colombia() + +

            + + + + + public + static colombia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + comoros() + +

            + + + + + public + static comoros() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + congo() + +

            + + + + + public + static congo() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + congoTheDemocraticRepublicOfThe() + +

            + + + + + public + static congoTheDemocraticRepublicOfThe() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cookIslands() + +

            + + + + + public + static cookIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + costaRica() + +

            + + + + + public + static costaRica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + coteDivoire() + +

            + + + + + public + static coteDivoire() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + croatia() + +

            + + + + + public + static croatia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cuba() + +

            + + + + + public + static cuba() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + curacao() + +

            + + + + + public + static curacao() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + cyprus() + +

            + + + + + public + static cyprus() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + czechRepublic() + +

            + + + + + public + static czechRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + denmark() + +

            + + + + + public + static denmark() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + djibouti() + +

            + + + + + public + static djibouti() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + dominica() + +

            + + + + + public + static dominica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + dominicanRepublic() + +

            + + + + + public + static dominicanRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ecuador() + +

            + + + + + public + static ecuador() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + egypt() + +

            + + + + + public + static egypt() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + elSalvador() + +

            + + + + + public + static elSalvador() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + equatorialGuinea() + +

            + + + + + public + static equatorialGuinea() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + eritrea() + +

            + + + + + public + static eritrea() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + estonia() + +

            + + + + + public + static estonia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ethiopia() + +

            + + + + + public + static ethiopia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + falklandIslandsMalvinas() + +

            + + + + + public + static falklandIslandsMalvinas() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + faroeIslands() + +

            + + + + + public + static faroeIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + fiji() + +

            + + + + + public + static fiji() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + finland() + +

            + + + + + public + static finland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + france() + +

            + + + + + public + static france() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + frenchGuiana() + +

            + + + + + public + static frenchGuiana() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + frenchPolynesia() + +

            + + + + + public + static frenchPolynesia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + frenchSouthernTerritories() + +

            + + + + + public + static frenchSouthernTerritories() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + gabon() + +

            + + + + + public + static gabon() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + gambia() + +

            + + + + + public + static gambia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + georgia() + +

            + + + + + public + static georgia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + germany() + +

            + + + + + public + static germany() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ghana() + +

            + + + + + public + static ghana() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + gibraltar() + +

            + + + + + public + static gibraltar() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + greece() + +

            + + + + + public + static greece() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + greenland() + +

            + + + + + public + static greenland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + grenada() + +

            + + + + + public + static grenada() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guadeloupe() + +

            + + + + + public + static guadeloupe() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guam() + +

            + + + + + public + static guam() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guatemala() + +

            + + + + + public + static guatemala() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guernsey() + +

            + + + + + public + static guernsey() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guinea() + +

            + + + + + public + static guinea() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guineaBissau() + +

            + + + + + public + static guineaBissau() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + guyana() + +

            + + + + + public + static guyana() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + haiti() + +

            + + + + + public + static haiti() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + heardIslandAndMcdonaldIslands() + +

            + + + + + public + static heardIslandAndMcdonaldIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + holySeeVaticanCityState() + +

            + + + + + public + static holySeeVaticanCityState() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + honduras() + +

            + + + + + public + static honduras() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + hongKong() + +

            + + + + + public + static hongKong() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + hungary() + +

            + + + + + public + static hungary() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + iceland() + +

            + + + + + public + static iceland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + india() + +

            + + + + + public + static india() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + indonesia() + +

            + + + + + public + static indonesia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + iranIslamicRepublicOf() + +

            + + + + + public + static iranIslamicRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + iraq() + +

            + + + + + public + static iraq() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ireland() + +

            + + + + + public + static ireland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + isleOfMan() + +

            + + + + + public + static isleOfMan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + israel() + +

            + + + + + public + static israel() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + italy() + +

            + + + + + public + static italy() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + jamaica() + +

            + + + + + public + static jamaica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + japan() + +

            + + + + + public + static japan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + jersey() + +

            + + + + + public + static jersey() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + jordan() + +

            + + + + + public + static jordan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kazakhstan() + +

            + + + + + public + static kazakhstan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kenya() + +

            + + + + + public + static kenya() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kiribati() + +

            + + + + + public + static kiribati() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + koreaDemocraticPeoplesRepublicOf() + +

            + + + + + public + static koreaDemocraticPeoplesRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + koreaRepublicOf() + +

            + + + + + public + static koreaRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kuwait() + +

            + + + + + public + static kuwait() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + kyrgyzstan() + +

            + + + + + public + static kyrgyzstan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + labels() + +

            + + +

            Libellés des possibilités de cet énumération (label)

            + + + public + static labels() : array<string|int, mixed> + + + + + +
            Return values
            + array<string|int, mixed> + — + + +
            +
            +

            + laoPeoplesDemocraticRepublic() + +

            + + + + + public + static laoPeoplesDemocraticRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + latvia() + +

            + + + + + public + static latvia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + lebanon() + +

            + + + + + public + static lebanon() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + lesotho() + +

            + + + + + public + static lesotho() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + liberia() + +

            + + + + + public + static liberia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + libya() + +

            + + + + + public + static libya() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + liechtenstein() + +

            + + + + + public + static liechtenstein() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + lithuania() + +

            + + + + + public + static lithuania() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + luxembourg() + +

            + + + + + public + static luxembourg() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + macao() + +

            + + + + + public + static macao() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + macedoniaTheFormerYugoslavRepublicOf() + +

            + + + + + public + static macedoniaTheFormerYugoslavRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + madagascar() + +

            + + + + + public + static madagascar() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + malawi() + +

            + + + + + public + static malawi() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + malaysia() + +

            + + + + + public + static malaysia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + maldives() + +

            + + + + + public + static maldives() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mali() + +

            + + + + + public + static mali() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + malta() + +

            + + + + + public + static malta() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + marshallIslands() + +

            + + + + + public + static marshallIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + martinique() + +

            + + + + + public + static martinique() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mauritania() + +

            + + + + + public + static mauritania() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mauritius() + +

            + + + + + public + static mauritius() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mayotte() + +

            + + + + + public + static mayotte() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mexico() + +

            + + + + + public + static mexico() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + micronesiaFederatedStatesOf() + +

            + + + + + public + static micronesiaFederatedStatesOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + moldovaRepublicOf() + +

            + + + + + public + static moldovaRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + monaco() + +

            + + + + + public + static monaco() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mongolia() + +

            + + + + + public + static mongolia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + montenegro() + +

            + + + + + public + static montenegro() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + montserrat() + +

            + + + + + public + static montserrat() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + morocco() + +

            + + + + + public + static morocco() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + mozambique() + +

            + + + + + public + static mozambique() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + myanmar() + +

            + + + + + public + static myanmar() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + namibia() + +

            + + + + + public + static namibia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + nauru() + +

            + + + + + public + static nauru() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + nepal() + +

            + + + + + public + static nepal() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + netherlands() + +

            + + + + + public + static netherlands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + newCaledonia() + +

            + + + + + public + static newCaledonia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + newZealand() + +

            + + + + + public + static newZealand() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + nicaragua() + +

            + + + + + public + static nicaragua() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + niger() + +

            + + + + + public + static niger() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + nigeria() + +

            + + + + + public + static nigeria() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + niue() + +

            + + + + + public + static niue() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + norfolkIsland() + +

            + + + + + public + static norfolkIsland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + northernMarianaIslands() + +

            + + + + + public + static northernMarianaIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + norway() + +

            + + + + + public + static norway() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + oman() + +

            + + + + + public + static oman() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + pakistan() + +

            + + + + + public + static pakistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + palau() + +

            + + + + + public + static palau() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + palestineStateOf() + +

            + + + + + public + static palestineStateOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + panama() + +

            + + + + + public + static panama() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + papuaNewGuinea() + +

            + + + + + public + static papuaNewGuinea() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + paraguay() + +

            + + + + + public + static paraguay() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + peru() + +

            + + + + + public + static peru() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + philippines() + +

            + + + + + public + static philippines() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + pitcairn() + +

            + + + + + public + static pitcairn() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + poland() + +

            + + + + + public + static poland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + portugal() + +

            + + + + + public + static portugal() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + puertoRico() + +

            + + + + + public + static puertoRico() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + qatar() + +

            + + + + + public + static qatar() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + reunion() + +

            + + + + + public + static reunion() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + romania() + +

            + + + + + public + static romania() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + russianFederation() + +

            + + + + + public + static russianFederation() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + rwanda() + +

            + + + + + public + static rwanda() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintBarthelemy() + +

            + + + + + public + static saintBarthelemy() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintHelenaAscensionAndTristanDaCunha() + +

            + + + + + public + static saintHelenaAscensionAndTristanDaCunha() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintKittsAndNevis() + +

            + + + + + public + static saintKittsAndNevis() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintLucia() + +

            + + + + + public + static saintLucia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintMartinFrenchPart() + +

            + + + + + public + static saintMartinFrenchPart() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintPierreAndMiquelon() + +

            + + + + + public + static saintPierreAndMiquelon() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saintVincentAndTheGrenadines() + +

            + + + + + public + static saintVincentAndTheGrenadines() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + samoa() + +

            + + + + + public + static samoa() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sanMarino() + +

            + + + + + public + static sanMarino() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saoTomeAndPrincipe() + +

            + + + + + public + static saoTomeAndPrincipe() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + saudiArabia() + +

            + + + + + public + static saudiArabia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + senegal() + +

            + + + + + public + static senegal() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + serbia() + +

            + + + + + public + static serbia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + seychelles() + +

            + + + + + public + static seychelles() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sierraLeone() + +

            + + + + + public + static sierraLeone() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + singapore() + +

            + + + + + public + static singapore() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sintMaartenDutchPart() + +

            + + + + + public + static sintMaartenDutchPart() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + slovakia() + +

            + + + + + public + static slovakia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + slovenia() + +

            + + + + + public + static slovenia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + solomonIslands() + +

            + + + + + public + static solomonIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + somalia() + +

            + + + + + public + static somalia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + southAfrica() + +

            + + + + + public + static southAfrica() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + southGeorgiaAndTheSouthSandwichIslands() + +

            + + + + + public + static southGeorgiaAndTheSouthSandwichIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + southSudan() + +

            + + + + + public + static southSudan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + spain() + +

            + + + + + public + static spain() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sriLanka() + +

            + + + + + public + static sriLanka() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sudan() + +

            + + + + + public + static sudan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + suriname() + +

            + + + + + public + static suriname() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + svalbardAndJanMayen() + +

            + + + + + public + static svalbardAndJanMayen() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + swaziland() + +

            + + + + + public + static swaziland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + sweden() + +

            + + + + + public + static sweden() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + switzerland() + +

            + + + + + public + static switzerland() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + syrianArabRepublic() + +

            + + + + + public + static syrianArabRepublic() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + taiwanProvinceOfChina() + +

            + + + + + public + static taiwanProvinceOfChina() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tajikistan() + +

            + + + + + public + static tajikistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tanzaniaUnitedRepublicOf() + +

            + + + + + public + static tanzaniaUnitedRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + thailand() + +

            + + + + + public + static thailand() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + timorLeste() + +

            + + + + + public + static timorLeste() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + togo() + +

            + + + + + public + static togo() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tokelau() + +

            + + + + + public + static tokelau() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tonga() + +

            + + + + + public + static tonga() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + trinidadAndTobago() + +

            + + + + + public + static trinidadAndTobago() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tunisia() + +

            + + + + + public + static tunisia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + turkey() + +

            + + + + + public + static turkey() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + turkmenistan() + +

            + + + + + public + static turkmenistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + turksAndCaicosIslands() + +

            + + + + + public + static turksAndCaicosIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + tuvalu() + +

            + + + + + public + static tuvalu() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + uganda() + +

            + + + + + public + static uganda() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + ukraine() + +

            + + + + + public + static ukraine() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + unitedArabEmirates() + +

            + + + + + public + static unitedArabEmirates() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + unitedKingdom() + +

            + + + + + public + static unitedKingdom() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + unitedStates() + +

            + + + + + public + static unitedStates() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + unitedStatesMinorOutlyingIslands() + +

            + + + + + public + static unitedStatesMinorOutlyingIslands() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + uruguay() + +

            + + + + + public + static uruguay() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + uzbekistan() + +

            + + + + + public + static uzbekistan() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + values() + +

            + + +

            Valeurs des possibilités de cet énumération (value)

            + + + public + static values() : array<string|int, mixed> + + + + + +
            Return values
            + array<string|int, mixed> + — + + +
            +
            +

            + vanuatu() + +

            + + + + + public + static vanuatu() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + venezuelaBolivarianRepublicOf() + +

            + + + + + public + static venezuelaBolivarianRepublicOf() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + vietNam() + +

            + + + + + public + static vietNam() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + virginIslandsBritish() + +

            + + + + + public + static virginIslandsBritish() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + virginIslandsUs() + +

            + + + + + public + static virginIslandsUs() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + wallisAndFutuna() + +

            + + + + + public + static wallisAndFutuna() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + westernSahara() + +

            + + + + + public + static westernSahara() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + yemen() + +

            + + + + + public + static yemen() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + zambia() + +

            + + + + + public + static zambia() : + + + + + +
            Return values
            + + — + + +
            +
            +

            + zimbabwe() + +

            + + + + + public + static zimbabwe() : + + + + + +
            Return values
            + + — + + +
            +
            + + + + +
            +
            +
            +
            +

            Search results

            + +
            +
            +
              +
              +
              +
              +
              +
              + + +
              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-LogLevel.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-LogLevel.html new file mode 100644 index 0000000..eddb0e8 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-LogLevel.html @@ -0,0 +1,647 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
              +

              CRM V2

              + + + + + +
              + +
              +
              + + + + +
              + + +
              +

              + LogLevel + + + extends BaseEnum + + +
              + in package + +
              + + +

              + + + + + + +
              + Tags + +
              +
              +
              + subpackage +
              +
              + +

              enums

              +
              + +
              +
              + + + + + + +

              + Table of Contents + +

              + +
              +
              + ALERT() + +  : +
              +
              + +
              + CRIT() + +  : +
              +
              + +
              + DEBUG() + +  : +
              +
              + +
              + EMERG() + +  : +
              +
              + +
              + ERR() + +  : +
              +
              + +
              + INFO() + +  : +
              +
              + +
              + NOTICE() + +  : +
              +
              + +
              + WARNING() + +  : +
              +
              + +
              + values() + +  : array<string|int, mixed> +
              +
              Valeurs des possibilités de cet énumération (value)
              + +
              + + + + + + + +
              +

              + Methods + +

              +
              +

              + ALERT() + +

              + + + + + public + static ALERT() : + +

              action must be taken immediately

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + CRIT() + +

              + + + + + public + static CRIT() : + +

              critical conditions

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + DEBUG() + +

              + + + + + public + static DEBUG() : + +

              debug-level message

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + EMERG() + +

              + + + + + public + static EMERG() : + +

              system is unusable

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + ERR() + +

              + + + + + public + static ERR() : + +

              critical conditions

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + INFO() + +

              + + + + + public + static INFO() : + +

              informational message

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + NOTICE() + +

              + + + + + public + static NOTICE() : + +

              normal, but significant, condition

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + WARNING() + +

              + + + + + public + static WARNING() : + +

              critical conditions

              +
              + + + + +
              Return values
              + + — + + +
              +
              +

              + values() + +

              + + +

              Valeurs des possibilités de cet énumération (value)

              + + + protected + static values() : array<string|int, mixed> + + + + + +
              Return values
              + array<string|int, mixed> + — + + +
              +
              + + + + +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                +
                + + +
                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-QuestionType.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-QuestionType.html new file mode 100644 index 0000000..d18f6cb --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Enums-QuestionType.html @@ -0,0 +1,436 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                +

                CRM V2

                + + + + + +
                + +
                +
                + + + + +
                + + +
                +

                + QuestionType + + + extends BaseEnum + + +
                + in package + +
                + + +

                + + + + + + +
                + Tags + +
                +
                +
                + subpackage +
                +
                + +

                enums

                +
                + +
                +
                + + + + + + +

                + Table of Contents + +

                + +
                +
                + checkbox() + +  : +
                +
                + +
                + radio() + +  : +
                +
                + +
                + select() + +  : +
                +
                + +
                + values() + +  : array<string|int, mixed> +
                +
                Valeurs des possibilités de cet énumération (value)
                + +
                + + + + + + + +
                +

                + Methods + +

                +
                +

                + checkbox() + +

                + + + + + public + static checkbox() : + + + + + +
                Return values
                + + — + + +
                +
                +

                + radio() + +

                + + + + + public + static radio() : + + + + + +
                Return values
                + + — + + +
                +
                +

                + select() + +

                + + + + + public + static select() : + + + + + +
                Return values
                + + — + + +
                +
                +

                + values() + +

                + + +

                Valeurs des possibilités de cet énumération (value)

                + + + public + static values() : array<string|int, mixed> + + + + + +
                Return values
                + array<string|int, mixed> + — + + +
                +
                + + + + +
                +
                +
                +
                +

                Search results

                + +
                +
                +
                  +
                  +
                  +
                  +
                  +
                  + + +
                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-AccessError.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-AccessError.html new file mode 100644 index 0000000..bb0244b --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-AccessError.html @@ -0,0 +1,341 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                  +

                  CRM V2

                  + + + + + +
                  + +
                  +
                  + + + + +
                  + + +
                  +

                  + AccessError + + + extends Error + + +
                  + in package + +
                  + + +

                  + + + +

                  This is thrown when trying to set a value on an object property that does not exist.

                  + + + +
                  + Tags + +
                  +
                  +
                  + subpackage +
                  +
                  + +

                  exceptions

                  +
                  + +
                  +
                  + + + + + + +

                  + Table of Contents + +

                  + +
                  +
                  + __construct() + +  : mixed +
                  +
                  AccessError
                  + +
                  + + + + + + + +
                  +

                  + Methods + +

                  +
                  +

                  + __construct() + +

                  + + +

                  AccessError

                  + + + public + __construct(string $objectName, string $propertyName) : mixed + + +
                  Parameters
                  +
                  +
                  + $objectName + : string +
                  +
                  +

                  The object name where the property does not exist.

                  +
                  + +
                  +
                  + $propertyName + : string +
                  +
                  +

                  The property name that does not exist.

                  +
                  + +
                  +
                  + + + +
                  Return values
                  + mixed + — + + +
                  +
                  + + + + +
                  +
                  +
                  +
                  +

                  Search results

                  + +
                  +
                  +
                    +
                    +
                    +
                    +
                    +
                    + + +
                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html new file mode 100644 index 0000000..1442ff7 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html @@ -0,0 +1,630 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                    +

                    CRM V2

                    + + + + + +
                    + +
                    +
                    + + + + +
                    + + +
                    +

                    + ApiErrorException + + + extends Exception + + +
                    + in package + +
                    + + +

                    + + + +

                    This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm

                    + +

                    On the client an ApiErrorException would +also be throw with the ApiError corresponding to +the situation

                    +
                    + + +
                    + Tags + +
                    +
                    +
                    + subpackage +
                    +
                    + +

                    exceptions

                    +
                    + +
                    +
                    + + + + + + +

                    + Table of Contents + +

                    + +
                    +
                    + $error + +  : ApiError +
                    +
                    Api Error +This value makes the error more explicit.
                    + +
                    + $httpCode + +  : int +
                    +
                    This is the http code returned by the crm.
                    + +
                    + $message + +  : string +
                    +
                    This is an explicit error message, +ou may print this to the front or not depending +on $error value
                    + +
                    + __construct() + +  : mixed +
                    +
                    Create a new exception base on ApiError enum.
                    + +
                    + getApiError() + +  : ApiError +
                    +
                    Get the Api Error
                    + +
                    + getStatusCode() + +  : int +
                    +
                    Get the http code
                    + +
                    + report() + +  : void +
                    +
                    This is used by laravel only.
                    + +
                    + + + + + + +
                    +

                    + Properties + +

                    +
                    +

                    + $error + + + +

                    + + +

                    Api Error +This value makes the error more explicit.

                    + + + protected + ApiError + $error + + +

                    Handling these errors are normal as inputs or +request may be undesired or refused by the crm.

                    +
                    + + + + +
                    +
                    +

                    + $httpCode + + + +

                    + + +

                    This is the http code returned by the crm.

                    + + + protected + int + $httpCode + + +

                    This value could be used to handle errors. +But please take in consideration $error first

                    +
                    + + + + +
                    +
                    +

                    + $message + + + +

                    + + +

                    This is an explicit error message, +ou may print this to the front or not depending +on $error value

                    + + + protected + string + $message + + + + + + +
                    +
                    + +
                    +

                    + Methods + +

                    +
                    +

                    + __construct() + +

                    + + +

                    Create a new exception base on ApiError enum.

                    + + + public + __construct(ApiError $error[, int $httpCode = 400 ][, string $message = '' ][, Throwable|null $previous = null ]) : mixed + + +
                    Parameters
                    +
                    +
                    + $error + : ApiError +
                    +
                    + +
                    +
                    + $httpCode + : int + = 400
                    +
                    + +
                    +
                    + $message + : string + = ''
                    +
                    + +
                    +
                    + $previous + : Throwable|null + = null
                    +
                    + +
                    +
                    + + + +
                    Return values
                    + mixed + — + + +
                    + +
                    +

                    + getStatusCode() + +

                    + + +

                    Get the http code

                    + + + public + getStatusCode() : int + + + + + +
                    Return values
                    + int + — + + +
                    +
                    +

                    + report() + +

                    + + +

                    This is used by laravel only.

                    + + + public + report() : void + +

                    It uses Log class to print the error.

                    +
                    + + + +
                    + Tags + +
                    +
                    +
                    + codeCoverageIgnore +
                    +
                    + + +
                    +
                    + +
                    Return values
                    + void + — + + +
                    +
                    + + + + +
                    +
                    +
                    +
                    +

                    Search results

                    + +
                    +
                    +
                      +
                      +
                      +
                      +
                      +
                      + + +
                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-CrmException.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-CrmException.html new file mode 100644 index 0000000..f80e475 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-CrmException.html @@ -0,0 +1,332 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                      +

                      CRM V2

                      + + + + + +
                      + +
                      +
                      + + + + +
                      + + +
                      +

                      + CrmException + + + extends Exception + + +
                      + in package + +
                      + + +

                      + + + +

                      This is a critical error.

                      + +

                      The request could not be handled. You may dump any value you can +get before submitting a ticker to https://supportweb.ldc.fr

                      +
                      + + +
                      + Tags + +
                      +
                      +
                      + subpackage +
                      +
                      + +

                      exceptions

                      +
                      + +
                      +
                      + codeCoverageIgnore +
                      +
                      + + +
                      +
                      + + + + + + +

                      + Table of Contents + +

                      + +
                      +
                      + report() + +  : void +
                      +
                      This is used by laravel only.
                      + +
                      + + + + + + + +
                      +

                      + Methods + +

                      +
                      +

                      + report() + +

                      + + +

                      This is used by laravel only.

                      + + + public + report() : void + +

                      It uses Log class to print the error.

                      +
                      + + + + +
                      Return values
                      + void + — + + +
                      +
                      + + + + +
                      +
                      +
                      +
                      +

                      Search results

                      + +
                      +
                      +
                        +
                        +
                        +
                        +
                        +
                        + + +
                        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html new file mode 100644 index 0000000..8f9d192 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html @@ -0,0 +1,267 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                        +

                        CRM V2

                        + + + + + +
                        + +
                        +
                        + + + + +
                        + + +
                        +

                        + SkipValidationException + + + extends Exception + + +
                        + in package + +
                        + + +

                        + + + +

                        Used only for internal validator

                        + + + +
                        + Tags + +
                        +
                        +
                        + subpackage +
                        +
                        + +

                        exceptions

                        +
                        + +
                        +
                        + + + + + + + + + + + + + + + + + +
                        +
                        +
                        +
                        +

                        Search results

                        + +
                        +
                        +
                          +
                          +
                          +
                          +
                          +
                          + + +
                          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ValidationException.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ValidationException.html new file mode 100644 index 0000000..38efae7 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-ValidationException.html @@ -0,0 +1,330 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                          +

                          CRM V2

                          + + + + + +
                          + +
                          +
                          + + + + +
                          + + +
                          +

                          + ValidationException + + + extends Exception + + +
                          + in package + +
                          + + +

                          + + + +

                          This would be thrown if a data could not be validated +on any models

                          + + + +
                          + Tags + +
                          +
                          +
                          + subpackage +
                          +
                          + +

                          exceptions

                          +
                          + +
                          +
                          + codeCoverageIgnore +
                          +
                          + + +
                          +
                          + + + + + + +

                          + Table of Contents + +

                          + +
                          +
                          + report() + +  : void +
                          +
                          This is used by laravel only.
                          + +
                          + + + + + + + +
                          +

                          + Methods + +

                          +
                          +

                          + report() + +

                          + + +

                          This is used by laravel only.

                          + + + public + report() : void + +

                          It uses Log class to print the error.

                          +
                          + + + + +
                          Return values
                          + void + — + + +
                          +
                          + + + + +
                          +
                          +
                          +
                          +

                          Search results

                          + +
                          +
                          +
                            +
                            +
                            +
                            +
                            +
                            + + +
                            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html new file mode 100644 index 0000000..772bff7 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html @@ -0,0 +1,332 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                            +

                            CRM V2

                            + + + + + +
                            + +
                            +
                            + + + + +
                            + + +
                            +

                            + WpCrmInvalidJsonUserInfo + + + extends Error + + +
                            + in package + +
                            + + +

                            + + + +

                            This is thrown when trying to read WP customer from DB json data.

                            + + + +
                            + Tags + +
                            +
                            +
                            + subpackage +
                            +
                            + +

                            exceptions

                            +
                            + +
                            +
                            + + + + + + +

                            + Table of Contents + +

                            + +
                            +
                            + __construct() + +  : mixed +
                            +
                            WpCrmInvalidJsonUserInfo
                            + +
                            + + + + + + + +
                            +

                            + Methods + +

                            +
                            +

                            + __construct() + +

                            + + +

                            WpCrmInvalidJsonUserInfo

                            + + + public + __construct(string $message) : mixed + + +
                            Parameters
                            +
                            +
                            + $message + : string +
                            +
                            +

                            The error message.

                            +
                            + +
                            +
                            + + + +
                            Return values
                            + mixed + — + + +
                            +
                            + + + + +
                            +
                            +
                            +
                            +

                            Search results

                            + +
                            +
                            +
                              +
                              +
                              +
                              +
                              +
                              + + +
                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Answer.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Answer.html new file mode 100644 index 0000000..ae43965 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Answer.html @@ -0,0 +1,867 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                              +

                              CRM V2

                              + + + + + +
                              + +
                              +
                              + + + + +
                              + + +
                              +

                              + Answer + + + extends CrmClientModel + + +
                              + in package + +
                              + + +

                              + + + +

                              This class represents an answer +It has a method to submit answers

                              + + + +
                              + Tags + +
                              +
                              +
                              + category +
                              +
                              + +

                              Api Models

                              +
                              + +
                              +
                              + subpackage +
                              +
                              + +

                              models

                              +
                              + +
                              +
                              + author +
                              +
                              + +

                              Jérémy Munsch jeremy.munsch@ldc.fr

                              +
                              + +
                              +
                              + + + + + + +

                              + Table of Contents + +

                              + +
                              +
                              + $answers + +  : array<string|int, Answer> +
                              +
                              + +
                              + $id + +  : string +
                              +
                              + +
                              + $question + +  : string +
                              +
                              + +
                              + $type + +  : QuestionType +
                              +
                              + +
                              + $modelFields + +  : array<string|int, mixed> +
                              +
                              The crm customer fields
                              + +
                              + $validation + +  : array<string|int, mixed> +
                              +
                              Validation rules
                              + +
                              + $answer + +  : string +
                              +
                              The actual answer as a string
                              + +
                              + $id + +  : int +
                              +
                              The question id
                              + +
                              + __construct() + +  : mixed +
                              +
                              Answer
                              + +
                              + jsonSerialize() + +  : array<string|int, mixed> +
                              +
                              Serialize this object to an array
                              + +
                              + setQuestionAnswers() + +  : bool +
                              +
                              Set unanswered question for a specific customer
                              + +
                              + + + + + + +
                              +

                              + Properties + +

                              +
                              +

                              + $answers + + + +

                              + + + + + public + array<string|int, Answer> + $answers + + +

                              An array with answers

                              +
                              + +
                              + + + +
                              +
                              +

                              + $id + + + +

                              + + + + + public + string + $id + + +

                              The answer id

                              +
                              + +
                              + + + +
                              +
                              +

                              + $question + + + +

                              + + + + + public + string + $question + + +

                              The actual question as a string

                              +
                              + +
                              + + + +
                              +
                              +

                              + $type + + + +

                              + + + + + public + QuestionType + $type + + +

                              The question type to display, +it also hints wether it can accept one or multiple responses, +so only checkbox allows multiple responses

                              +
                              + +
                              + + + +
                              +
                              +

                              + $modelFields + + + +

                              + + +

                              The crm customer fields

                              + + + protected + array<string|int, mixed> + $modelFields + = ['id', 'answer'] + + + + + +
                              +
                              +

                              + $validation + + + +

                              + + +

                              Validation rules

                              + + + protected + static array<string|int, mixed> + $validation + = ['id' => 'required|int', 'answer' => 'required|string|max:255'] + + + + + +
                              +
                              +

                              + $answer + + + +

                              + + +

                              The actual answer as a string

                              + + + private + string + $answer + = null + +

                              Required +Max length 255 +Field Type varchar

                              +
                              + + + + +
                              +
                              +

                              + $id + + + +

                              + + +

                              The question id

                              + + + private + int + $id + + +

                              Required +Field Type bigInt

                              +
                              + + + + +
                              +
                              + +
                              +

                              + Methods + +

                              +
                              +

                              + __construct() + +

                              + + +

                              Answer

                              + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                              Parameters
                              +
                              +
                              + $properties + : array<string|int, mixed> + = []
                              +
                              + +
                              +
                              + + +
                              + Tags + +
                              +
                              +
                              + throws +
                              +
                              + ValidationException + +

                              If a field could not be validated.

                              +
                              + +
                              +
                              + +
                              Return values
                              + mixed + — + + +
                              +
                              +

                              + jsonSerialize() + +

                              + + +

                              Serialize this object to an array

                              + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                              Return values
                              + array<string|int, mixed> + — + + +
                              +
                              +

                              + setQuestionAnswers() + +

                              + + +

                              Set unanswered question for a specific customer

                              + + + public + static setQuestionAnswers(string $hashcode, int $questionId, array<string|int, mixed> $answersId) : bool + + +
                              Parameters
                              +
                              +
                              + $hashcode + : string +
                              +
                              +

                              The customer hashcode.

                              +
                              + +
                              +
                              + $questionId + : int +
                              +
                              +

                              The question id.

                              +
                              + +
                              +
                              + $answersId + : array<string|int, mixed> +
                              +
                              +

                              An array with answers id.

                              +
                              + +
                              +
                              + + +
                              + Tags + +
                              +
                              +
                              + throws +
                              +
                              + ValidationException + +

                              If a hashcode is not a valid UUID.

                              +
                              + +
                              +
                              + throws +
                              +
                              + ValidationException + +

                              If any of the provided ids are invalid.

                              +
                              + +
                              +
                              + throws +
                              +
                              + ApiErrorException + +

                              If any error \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If given ids are wrong(CRM side).

                              +
                              + +
                              +
                              + throws +
                              +
                              + CrmException + +

                              If an error occurs on server side or on getting response.

                              +
                              + +
                              +
                              + +
                              Return values
                              + bool + — +

                              true if succeeded

                              +
                              + + +
                              +
                              + + + + +
                              +
                              +
                              +
                              +

                              Search results

                              + +
                              +
                              +
                                +
                                +
                                +
                                +
                                +
                                + + +
                                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html new file mode 100644 index 0000000..6867848 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html @@ -0,0 +1,2133 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                +

                                CRM V2

                                + + + + + +
                                + +
                                +
                                + + + + +
                                + + +
                                +

                                + ArcadiaMailDefault + + + extends CrmClientModel + + +
                                + in package + +
                                + + +

                                + + + +

                                This class represents the customer info with +the account validation status

                                + + + +
                                + Tags + +
                                +
                                +
                                + category +
                                +
                                + +

                                Api Models

                                +
                                + +
                                +
                                + subpackage +
                                +
                                + +

                                models

                                +
                                + +
                                +
                                + author +
                                +
                                + +

                                Jérémy Munsch jeremy.munsch@ldc.fr

                                +
                                + +
                                +
                                + + + + + + +

                                + Table of Contents + +

                                + +
                                +
                                + $address + +  : string +
                                +
                                + +
                                + $address2 + +  : string +
                                +
                                + +
                                + $city + +  : string +
                                +
                                + +
                                + $email + +  : string +
                                +
                                + +
                                + $firstname + +  : string +
                                +
                                + +
                                + $label_type_support + +  : string +
                                +
                                + +
                                + $lastname + +  : string +
                                +
                                + +
                                + $operation + +  : int +
                                +
                                + +
                                + $order_date + +  : string +
                                +
                                + +
                                + $order_num + +  : int +
                                +
                                + +
                                + $package_unit_weight + +  : int +
                                +
                                + +
                                + $phone + +  : string +
                                +
                                + +
                                + $postcode + +  : string +
                                +
                                + +
                                + $state_order + +  : ArcadiaOrderType +
                                +
                                + +
                                + $support_code + +  : int +
                                +
                                + +
                                + $modelFields + +  : array<string|int, mixed> +
                                +
                                The crm customer fields
                                + +
                                + $validation + +  : array<string|int, mixed> +
                                +
                                Validation rules
                                + +
                                + $address + +  : string +
                                +
                                The user address (street number, name, etc)
                                + +
                                + $address2 + +  : string +
                                +
                                The user address 2nd part (street number, name, more, etc)
                                + +
                                + $city + +  : string +
                                +
                                The user address city
                                + +
                                + $email + +  : string +
                                +
                                An RFC Valid Email
                                + +
                                + $firstname + +  : string +
                                +
                                First name
                                + +
                                + $label_type_support + +  : string +
                                +
                                The arcadia type support label
                                + +
                                + $lastname + +  : string +
                                +
                                Last name
                                + +
                                + $operation + +  : int +
                                +
                                The arcadia operation code
                                + +
                                + $order_date + +  : string +
                                +
                                The arcadia order date
                                + +
                                + $order_num + +  : int +
                                +
                                The arcadia order number
                                + +
                                + $package_unit_weight + +  : int +
                                +
                                The arcadia package unit weight
                                + +
                                + $phone + +  : string +
                                +
                                The user phone
                                + +
                                + $postcode + +  : string +
                                +
                                The user address postcode
                                + +
                                + $state_order + +  : int +
                                +
                                The arcadia state order
                                + +
                                + $support_code + +  : int +
                                +
                                The arcadia support code
                                + +
                                + __construct() + +  : mixed +
                                +
                                ArcadiaMailDefault
                                + +
                                + __get() + +  : mixed +
                                +
                                Generic accessor
                                + +
                                + __set() + +  : void +
                                +
                                Set prop
                                + +
                                + fill() + +  : void +
                                +
                                Fill data into this model +using validation rules
                                + +
                                + jsonSerialize() + +  : array<string|int, mixed> +
                                +
                                Serialize this object to an array
                                + +
                                + send() + +  : bool +
                                +
                                Send The actual mail
                                + +
                                + validateAllValues() + +  : array<string|int, mixed> +
                                +
                                Validate all model properties
                                + +
                                + + + + + + +
                                +

                                + Properties + +

                                +
                                +

                                + $address + + + +

                                + + + + + public + string + $address + + +

                                The account address (street number, name, build, flat number)

                                +
                                + +
                                + + + +
                                +
                                +

                                + $address2 + + + +

                                + + + + + public + string + $address2 + + +

                                The account phone (address complement)

                                +
                                + +
                                + + + +
                                +
                                +

                                + $city + + + +

                                + + + + + public + string + $city + + +

                                The account city name

                                +
                                + +
                                + + + +
                                +
                                +

                                + $email + + + +

                                + + + + + public + string + $email + + +

                                Must be a rfc valid email on a valid domain name

                                +
                                + +
                                + + + +
                                +
                                +

                                + $firstname + + + +

                                + + + + + public + string + $firstname + + +

                                The account first name

                                +
                                + +
                                + + + +
                                +
                                +

                                + $label_type_support + + + +

                                + + + + + public + string + $label_type_support + + +

                                The arcadia type support label

                                +
                                + +
                                + + + +
                                +
                                +

                                + $lastname + + + +

                                + + + + + public + string + $lastname + + +

                                The account last name

                                +
                                + +
                                + + + +
                                +
                                +

                                + $operation + + + +

                                + + + + + public + int + $operation + + +

                                The arcadia operation code

                                +
                                + +
                                + + + +
                                +
                                +

                                + $order_date + + + +

                                + + + + + public + string + $order_date + + +

                                The arcadia order date 'yyyy-mm-dd HH:ii:ss'

                                +
                                + +
                                + + + +
                                +
                                +

                                + $order_num + + + +

                                + + + + + public + int + $order_num + + +

                                The arcadia order number

                                +
                                + +
                                + + + +
                                +
                                +

                                + $package_unit_weight + + + +

                                + + + + + public + int + $package_unit_weight + + +

                                The arcadia package unit weight

                                +
                                + +
                                + + + +
                                +
                                +

                                + $phone + + + +

                                + + + + + public + string + $phone + + +

                                The account phone

                                +
                                + +
                                + + + +
                                +
                                +

                                + $postcode + + + +

                                + + + + + public + string + $postcode + + +

                                The account city postcode

                                +
                                + +
                                + + + +
                                + +
                                +

                                + $support_code + + + +

                                + + + + + public + int + $support_code + + +

                                The arcadia support code

                                +
                                + +
                                + + + +
                                +
                                +

                                + $modelFields + + + +

                                + + +

                                The crm customer fields

                                + + + protected + array<string|int, mixed> + $modelFields + = ['email', 'firstname', 'lastname', 'phone', 'address', 'address2', 'city', 'postcode', 'operation', 'support_code', 'label_type_support', 'order_date', 'order_num', 'state_order', 'package_unit_weight'] + + + + + +
                                +
                                +

                                + $validation + + + +

                                + + +

                                Validation rules

                                + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'firstname' => 'required|string|min:2|max:255', 'lastname' => 'required|string|min:2|max:255', 'phone' => 'sometimes|string|min:10|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|max:255', 'postcode' => 'sometimes|string|max:255', 'operation' => 'required|int', 'support_code' => 'required|int', 'label_type_support' => 'required|string|min:2|max:255', 'order_date' => 'required|date_format:Y/m/d H:i:s', 'order_num' => 'required|int', 'state_order' => ['required'], 'package_unit_weight' => 'required|int'] + + + + + +
                                +
                                +

                                + $address + + + +

                                + + +

                                The user address (street number, name, etc)

                                + + + private + string + $address + = null + +

                                Validate: sometimes,string

                                +

                                Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $address2 + + + +

                                + + +

                                The user address 2nd part (street number, name, more, etc)

                                + + + private + string + $address2 + = null + +

                                Validate: sometimes,string

                                +

                                Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $city + + + +

                                + + +

                                The user address city

                                + + + private + string + $city + = null + +

                                Validate: sometimes,string

                                +

                                Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $email + + + +

                                + + +

                                An RFC Valid Email

                                + + + private + string + $email + = null + +

                                Validate: rfc,dns,spoof,filter

                                +

                                Required +Min length N/A +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $firstname + + + +

                                + + +

                                First name

                                + + + private + string + $firstname + = null + +

                                Required +Min length 2 +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $label_type_support + + + +

                                + + +

                                The arcadia type support label

                                + + + private + string + $label_type_support + = null + +

                                Validate: string

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $lastname + + + +

                                + + +

                                Last name

                                + + + private + string + $lastname + = null + +

                                Required +Min length 2 +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $operation + + + +

                                + + +

                                The arcadia operation code

                                + + + private + int + $operation + = null + +

                                Validate: int

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $order_date + + + +

                                + + +

                                The arcadia order date

                                + + + private + string + $order_date + = null + +

                                Validate: date

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $order_num + + + +

                                + + +

                                The arcadia order number

                                + + + private + int + $order_num + = null + +

                                Validate: numeric,digits:9

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $package_unit_weight + + + +

                                + + +

                                The arcadia package unit weight

                                + + + private + int + $package_unit_weight + = null + +

                                Validate: integer

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $phone + + + +

                                + + +

                                The user phone

                                + + + private + string + $phone + = null + +

                                Validate: sometimes,string

                                +

                                Required +Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $postcode + + + +

                                + + +

                                The user address postcode

                                + + + private + string + $postcode + = null + +

                                Validate: string

                                +

                                Required +Min length NA +Max length 255 +Field Type varchar

                                +
                                + + + + +
                                +
                                +

                                + $state_order + + + +

                                + + +

                                The arcadia state order

                                + + + private + int + $state_order + = null + +

                                Validate: in ArcadiaOrderType::toValues()

                                +

                                Required

                                +
                                + + + + +
                                +
                                +

                                + $support_code + + + +

                                + + +

                                The arcadia support code

                                + + + private + int + $support_code + = null + +

                                Validate: int

                                +

                                Required

                                +
                                + + + + +
                                +
                                + +
                                +

                                + Methods + +

                                +
                                +

                                + __construct() + +

                                + + +

                                ArcadiaMailDefault

                                + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                Parameters
                                +
                                +
                                + $properties + : array<string|int, mixed> + = []
                                +
                                + +
                                +
                                + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + ValidationException + +

                                If a field could not be validated.

                                +
                                + +
                                +
                                + +
                                Return values
                                + mixed + — + + +
                                +
                                +

                                + __get() + +

                                + + +

                                Generic accessor

                                + + + public + __get(string $field) : mixed + + +
                                Parameters
                                +
                                +
                                + $field + : string +
                                +
                                + +
                                +
                                + + + +
                                Return values
                                + mixed + — + + +
                                +
                                +

                                + __set() + +

                                + + +

                                Set prop

                                + + + public + __set(string $field, mixed $value) : void + + +
                                Parameters
                                +
                                +
                                + $field + : string +
                                +
                                + +
                                +
                                + $value + : mixed +
                                +
                                + +
                                +
                                + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + TypeError + +

                                If the field has an incorrect value.

                                +
                                + +
                                +
                                + throws +
                                +
                                + AccessError + +

                                If trying to set a value on a unknown property.

                                +
                                + +
                                +
                                + +
                                Return values
                                + void + — + + +
                                +
                                +

                                + fill() + +

                                + + +

                                Fill data into this model +using validation rules

                                + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                Parameters
                                +
                                +
                                + $properties + : array<string|int, mixed> +
                                +
                                + +
                                +
                                + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + ValidationException + +

                                If a field could not be validated.

                                +
                                + +
                                +
                                + +
                                Return values
                                + void + — + + +
                                +
                                +

                                + jsonSerialize() + +

                                + + +

                                Serialize this object to an array

                                + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                Return values
                                + array<string|int, mixed> + — + + +
                                +
                                +

                                + send() + +

                                + + +

                                Send The actual mail

                                + + + public + send() : bool + + + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + ValidationException + +

                                If a field could not be validated.

                                +
                                + +
                                +
                                + throws +
                                +
                                + CrmException + +

                                If an error occurs on server side or on getting response.

                                +
                                + +
                                +
                                + throws +
                                +
                                + ApiErrorException + +

                                If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                +
                                + +
                                +
                                + +
                                Return values
                                + bool + — +

                                true if succeeded

                                +
                                + + +
                                +
                                +

                                + validateAllValues() + +

                                + + +

                                Validate all model properties

                                + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                Parameters
                                +
                                +
                                + $ignore + : array<string|int, mixed> + = []
                                +
                                + +
                                +
                                + + +
                                + Tags + +
                                +
                                +
                                + throws +
                                +
                                + ValidationException + +

                                If a field could not be validated.

                                +
                                + +
                                +
                                + +
                                Return values
                                + array<string|int, mixed> + — +

                                the validated values

                                +
                                + + +
                                +
                                + + + + +
                                +
                                +
                                +
                                +

                                Search results

                                + +
                                +
                                +
                                  +
                                  +
                                  +
                                  +
                                  +
                                  + + +
                                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html new file mode 100644 index 0000000..3b1e731 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html @@ -0,0 +1,1922 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                  +

                                  CRM V2

                                  + + + + + +
                                  + +
                                  +
                                  + + + + +
                                  + + +
                                  +

                                  + ArcadiaMailGame + + + extends CrmClientModel + + +
                                  + in package + +
                                  + + +

                                  + + + +

                                  This class represents the customer info with +the account validation status

                                  + + + +
                                  + Tags + +
                                  +
                                  +
                                  + category +
                                  +
                                  + +

                                  Api Models

                                  +
                                  + +
                                  +
                                  + subpackage +
                                  +
                                  + +

                                  models

                                  +
                                  + +
                                  +
                                  + author +
                                  +
                                  + +

                                  Jérémy Munsch jeremy.munsch@ldc.fr

                                  +
                                  + +
                                  +
                                  + + + + + + +

                                  + Table of Contents + +

                                  + +
                                  +
                                  + $address + +  : string +
                                  +
                                  + +
                                  + $address2 + +  : string +
                                  +
                                  + +
                                  + $city + +  : string +
                                  +
                                  + +
                                  + $code_on_pack + +  : string +
                                  +
                                  + +
                                  + $code_unique + +  : string +
                                  +
                                  + +
                                  + $email + +  : string +
                                  +
                                  + +
                                  + $firstname + +  : string +
                                  +
                                  + +
                                  + $label_type_support + +  : string +
                                  +
                                  + +
                                  + $lastname + +  : string +
                                  +
                                  + +
                                  + $operation + +  : int +
                                  +
                                  + +
                                  + $order_date + +  : string +
                                  +
                                  + +
                                  + $phone + +  : string +
                                  +
                                  + +
                                  + $postcode + +  : string +
                                  +
                                  + +
                                  + $support_code + +  : int +
                                  +
                                  + +
                                  + $modelFields + +  : array<string|int, mixed> +
                                  +
                                  The crm customer fields
                                  + +
                                  + $validation + +  : array<string|int, mixed> +
                                  +
                                  Validation rules
                                  + +
                                  + $address + +  : string +
                                  +
                                  The user address (street number, name, etc)
                                  + +
                                  + $address2 + +  : string +
                                  +
                                  The user address 2nd part (street number, name, more, etc)
                                  + +
                                  + $city + +  : string +
                                  +
                                  The user address city
                                  + +
                                  + $code_on_pack + +  : string +
                                  +
                                  The arcadia code on pack
                                  + +
                                  + $code_unique + +  : string +
                                  +
                                  The arcadia code unique
                                  + +
                                  + $email + +  : string +
                                  +
                                  An RFC Valid Email
                                  + +
                                  + $firstname + +  : string +
                                  +
                                  First name
                                  + +
                                  + $label_type_support + +  : string +
                                  +
                                  The arcadia type support label
                                  + +
                                  + $lastname + +  : string +
                                  +
                                  Last name
                                  + +
                                  + $operation + +  : int +
                                  +
                                  The arcadia operation code
                                  + +
                                  + $order_date + +  : string +
                                  +
                                  The arcadia order date
                                  + +
                                  + $phone + +  : string +
                                  +
                                  The user phone
                                  + +
                                  + $postcode + +  : string +
                                  +
                                  The user address postcode
                                  + +
                                  + $support_code + +  : int +
                                  +
                                  The arcadia support code
                                  + +
                                  + __construct() + +  : mixed +
                                  +
                                  ArcadiaMailGame
                                  + +
                                  + __set() + +  : void +
                                  +
                                  Set prop
                                  + +
                                  + fill() + +  : void +
                                  +
                                  Fill data into this model +using validation rules
                                  + +
                                  + jsonSerialize() + +  : array<string|int, mixed> +
                                  +
                                  Serialize this object to an array
                                  + +
                                  + send() + +  : bool +
                                  +
                                  Send The actual mail
                                  + +
                                  + + + + + + +
                                  +

                                  + Properties + +

                                  +
                                  +

                                  + $address + + + +

                                  + + + + + public + string + $address + + +

                                  The account address (street number, name, build, flat number)

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $address2 + + + +

                                  + + + + + public + string + $address2 + + +

                                  The account phone (address complement)

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $city + + + +

                                  + + + + + public + string + $city + + +

                                  The account city name

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $code_on_pack + + + +

                                  + + + + + public + string + $code_on_pack + + +

                                  The arcadia code on pack

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $code_unique + + + +

                                  + + + + + public + string + $code_unique + + +

                                  The arcadia code unique

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $email + + + +

                                  + + + + + public + string + $email + + +

                                  Must be a rfc valid email on a valid domain name

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $firstname + + + +

                                  + + + + + public + string + $firstname + + +

                                  The account first name

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $label_type_support + + + +

                                  + + + + + public + string + $label_type_support + + +

                                  The arcadia type support label

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $lastname + + + +

                                  + + + + + public + string + $lastname + + +

                                  The account last name

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $operation + + + +

                                  + + + + + public + int + $operation + + +

                                  The arcadia operation code +Validate: int +Required

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $order_date + + + +

                                  + + + + + public + string + $order_date + + +

                                  The arcadia order date 'yyyy-mm-dd HH:ii:ss'

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $phone + + + +

                                  + + + + + public + string + $phone + + +

                                  The account phone

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $postcode + + + +

                                  + + + + + public + string + $postcode + + +

                                  The account city postcode

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $support_code + + + +

                                  + + + + + public + int + $support_code + + +

                                  The arcadia support code

                                  +
                                  + +
                                  + + + +
                                  +
                                  +

                                  + $modelFields + + + +

                                  + + +

                                  The crm customer fields

                                  + + + protected + array<string|int, mixed> + $modelFields + = ['email', 'firstname', 'lastname', 'phone', 'address', 'address2', 'city', 'postcode', 'operation', 'support_code', 'label_type_support', 'order_date', 'code_unique', 'code_on_pack'] + + + + + +
                                  +
                                  +

                                  + $validation + + + +

                                  + + +

                                  Validation rules

                                  + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'firstname' => 'required|string|min:2|max:255', 'lastname' => 'required|string|min:2|max:255', 'phone' => 'sometimes|string|min:10|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|max:255', 'postcode' => 'sometimes|string|max:255', 'operation' => 'required|int', 'support_code' => 'required|int', 'label_type_support' => 'required|string|min:2|max:255', 'order_date' => 'required|date_format:Y/m/d H:i:s', 'code_unique' => 'required|string', 'code_on_pack' => 'sometimes|string'] + + + + + +
                                  +
                                  +

                                  + $address + + + +

                                  + + +

                                  The user address (street number, name, etc)

                                  + + + private + string + $address + = null + +

                                  Validate: sometimes,string

                                  +

                                  Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $address2 + + + +

                                  + + +

                                  The user address 2nd part (street number, name, more, etc)

                                  + + + private + string + $address2 + = null + +

                                  Validate: sometimes,string

                                  +

                                  Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $city + + + +

                                  + + +

                                  The user address city

                                  + + + private + string + $city + = null + +

                                  Validate: sometimes,string

                                  +

                                  Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $code_on_pack + + + +

                                  + + +

                                  The arcadia code on pack

                                  + + + private + string + $code_on_pack + = null + +

                                  Validate: sometimes

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $code_unique + + + +

                                  + + +

                                  The arcadia code unique

                                  + + + private + string + $code_unique + = null + +

                                  Validate: string

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $email + + + +

                                  + + +

                                  An RFC Valid Email

                                  + + + private + string + $email + = null + +

                                  Validate: rfc,dns,spoof,filter

                                  +

                                  Required +Min length N/A +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $firstname + + + +

                                  + + +

                                  First name

                                  + + + private + string + $firstname + = null + +

                                  Required +Min length 2 +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $label_type_support + + + +

                                  + + +

                                  The arcadia type support label

                                  + + + private + string + $label_type_support + = null + +

                                  Validate: string

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $lastname + + + +

                                  + + +

                                  Last name

                                  + + + private + string + $lastname + = null + +

                                  Required +Min length 2 +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $operation + + + +

                                  + + +

                                  The arcadia operation code

                                  + + + private + int + $operation + = null + +

                                  Validate: int

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $order_date + + + +

                                  + + +

                                  The arcadia order date

                                  + + + private + string + $order_date + = null + +

                                  Validate: date

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $phone + + + +

                                  + + +

                                  The user phone

                                  + + + private + string + $phone + = null + +

                                  Validate: sometimes,string

                                  +

                                  Required +Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $postcode + + + +

                                  + + +

                                  The user address postcode

                                  + + + private + string + $postcode + = null + +

                                  Validate: string

                                  +

                                  Required +Min length NA +Max length 255 +Field Type varchar

                                  +
                                  + + + + +
                                  +
                                  +

                                  + $support_code + + + +

                                  + + +

                                  The arcadia support code

                                  + + + private + int + $support_code + = null + +

                                  Validate: int

                                  +

                                  Required

                                  +
                                  + + + + +
                                  +
                                  + +
                                  +

                                  + Methods + +

                                  +
                                  +

                                  + __construct() + +

                                  + + +

                                  ArcadiaMailGame

                                  + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                  Parameters
                                  +
                                  +
                                  + $properties + : array<string|int, mixed> + = []
                                  +
                                  + +
                                  +
                                  + + +
                                  + Tags + +
                                  +
                                  +
                                  + throws +
                                  +
                                  + ValidationException + +

                                  If a field could not be validated.

                                  +
                                  + +
                                  +
                                  + +
                                  Return values
                                  + mixed + — + + +
                                  +
                                  +

                                  + __set() + +

                                  + + +

                                  Set prop

                                  + + + public + __set(string $field, mixed $value) : void + + +
                                  Parameters
                                  +
                                  +
                                  + $field + : string +
                                  +
                                  + +
                                  +
                                  + $value + : mixed +
                                  +
                                  + +
                                  +
                                  + + +
                                  + Tags + +
                                  +
                                  +
                                  + throws +
                                  +
                                  + TypeError + +

                                  If the field has an incorrect value.

                                  +
                                  + +
                                  +
                                  + throws +
                                  +
                                  + AccessError + +

                                  If trying to set a value on a unknown property.

                                  +
                                  + +
                                  +
                                  + +
                                  Return values
                                  + void + — + + +
                                  +
                                  +

                                  + fill() + +

                                  + + +

                                  Fill data into this model +using validation rules

                                  + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                  Parameters
                                  +
                                  +
                                  + $properties + : array<string|int, mixed> +
                                  +
                                  + +
                                  +
                                  + + +
                                  + Tags + +
                                  +
                                  +
                                  + throws +
                                  +
                                  + ValidationException + +

                                  If a field could not be validated.

                                  +
                                  + +
                                  +
                                  + +
                                  Return values
                                  + void + — + + +
                                  +
                                  +

                                  + jsonSerialize() + +

                                  + + +

                                  Serialize this object to an array

                                  + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                  Return values
                                  + array<string|int, mixed> + — + + +
                                  +
                                  +

                                  + send() + +

                                  + + +

                                  Send The actual mail

                                  + + + public + send() : bool + + + + +
                                  + Tags + +
                                  +
                                  +
                                  + throws +
                                  +
                                  + CrmException + +

                                  If an error occurs on server side or on getting response.

                                  +
                                  + +
                                  +
                                  + throws +
                                  +
                                  + ApiErrorException + +

                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                  +
                                  + +
                                  +
                                  + +
                                  Return values
                                  + bool + — +

                                  true if succeeded

                                  +
                                  + + +
                                  +
                                  + + + + +
                                  +
                                  +
                                  +
                                  +

                                  Search results

                                  + +
                                  +
                                  +
                                    +
                                    +
                                    +
                                    +
                                    +
                                    + + +
                                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Customer.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Customer.html new file mode 100644 index 0000000..12e4891 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Customer.html @@ -0,0 +1,2936 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                    +

                                    CRM V2

                                    + + + + + +
                                    + +
                                    +
                                    + + + + +
                                    + + +
                                    +

                                    + Customer + + + extends CrmClientModel + + +
                                    + in package + +
                                    + + +

                                    + + + +

                                    This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions

                                    + +

                                    Be warned that on server side data is normalized

                                    +
                                      +
                                    • firstname and lastname are 'capitalized'
                                    • +
                                    • fields are trimmed
                                    • +
                                    • non numeric chars are removed from postcode
                                    • +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + example +
                                    +
                                    + +

                                    examples/CustomerExample.php

                                    +
                                    + +
                                    +
                                    + category +
                                    +
                                    + +

                                    Api Models

                                    +
                                    + +
                                    +
                                    + subpackage +
                                    +
                                    + +

                                    models

                                    +
                                    + +
                                    +
                                    + author +
                                    +
                                    + +

                                    Jérémy Munsch jeremy.munsch@ldc.fr

                                    +
                                    + +
                                    +
                                    + + + + + + +

                                    + Table of Contents + +

                                    + +
                                    +
                                    + $address + +  : string +
                                    +
                                    + +
                                    + $address2 + +  : string +
                                    +
                                    + +
                                    + $birth_date + +  : string +
                                    +
                                    + +
                                    + $city + +  : string +
                                    +
                                    + +
                                    + $country + +  : Country +
                                    +
                                    + +
                                    + $email + +  : string +
                                    +
                                    + +
                                    + $firstname + +  : string +
                                    +
                                    + +
                                    + $hashcode + +  : string +
                                    +
                                    + +
                                    + $last_connection + +  : string +
                                    +
                                    + +
                                    + $lastname + +  : string +
                                    +
                                    + +
                                    + $opt_in + +  : bool +
                                    +
                                    + +
                                    + $password + +  : string +
                                    +
                                    + +
                                    + $phone + +  : string +
                                    +
                                    + +
                                    + $postcode + +  : string +
                                    +
                                    + +
                                    + $status + +  : bool +
                                    +
                                    + +
                                    + $invisibleFields + +  : array<string|int, mixed> +
                                    +
                                    The crm customer fields +the should not be visible
                                    + +
                                    + $modelFields + +  : array<string|int, mixed> +
                                    +
                                    The crm customer fields
                                    + +
                                    + $validation + +  : array<string|int, mixed> +
                                    +
                                    Validation rules
                                    + +
                                    + $address + +  : string +
                                    +
                                    The user address (street number, name, etc)
                                    + +
                                    + $address2 + +  : string +
                                    +
                                    The user address 2nd part (street number, name, more, etc)
                                    + +
                                    + $birth_date + +  : string +
                                    +
                                    Birth date
                                    + +
                                    + $city + +  : string +
                                    +
                                    The user address city
                                    + +
                                    + $country + +  : Country +
                                    +
                                    The user address postcode
                                    + +
                                    + $email + +  : string +
                                    +
                                    An RFC Valid Email
                                    + +
                                    + $firstname + +  : string +
                                    +
                                    First name
                                    + +
                                    + $hashcode + +  : string +
                                    +
                                    The user hashcode, this is link with the customer and the brand it is related to +It is used to identify the customer itself.
                                    + +
                                    + $last_connection + +  : string +
                                    +
                                    The last time the account was connected
                                    + +
                                    + $lastname + +  : string +
                                    +
                                    Last name
                                    + +
                                    + $opt_in + +  : bool +
                                    +
                                    The user optin choice
                                    + +
                                    + $password + +  : string +
                                    +
                                    The user password +This is set only when creating a user +Otherwise it has to be set to null
                                    + +
                                    + $phone + +  : string +
                                    +
                                    The user phone
                                    + +
                                    + $postcode + +  : string +
                                    +
                                    The user address postcode
                                    + +
                                    + $status + +  : bool +
                                    +
                                    Is the account activated ?
                                    + +
                                    + __construct() + +  : mixed +
                                    +
                                    Customer
                                    + +
                                    + __get() + +  : mixed|null +
                                    +
                                    Generic accessor
                                    + +
                                    + __set() + +  : void +
                                    +
                                    Set prop on the model.
                                    + +
                                    + activate() + +  : bool +
                                    +
                                    Active the customer on CRM.
                                    + +
                                    + delete() + +  : bool +
                                    +
                                    Removes the customer from CRM.
                                    + +
                                    + fill() + +  : void +
                                    +
                                    Fill values into model using validation rules.
                                    + +
                                    + find() + +  : self|null +
                                    +
                                    Find a customer using its hashcode in the crm
                                    + +
                                    + findWithEmail() + +  : self|null +
                                    +
                                    Find a customer using its email in the crm +This is an alias of Customer::find()
                                    + +
                                    + jsonSerialize() + +  : array<string|int, mixed> +
                                    +
                                    Serialize this object to an array
                                    + +
                                    + login() + +  : bool +
                                    +
                                    Test customer credentials
                                    + +
                                    + save() + +  : bool +
                                    +
                                    Save the customer on CRM.
                                    + +
                                    + toggleOptin() + +  : bool +
                                    +
                                    Toggle the account optin value in the crm
                                    + +
                                    + validateAllValues() + +  : array<string|int, mixed> +
                                    +
                                    Validate all model properties
                                    + +
                                    + store() + +  : bool +
                                    +
                                    Calls api store customer method
                                    + +
                                    + update() + +  : bool +
                                    +
                                    Calls api update customer method
                                    + +
                                    + + + + + + +
                                    +

                                    + Properties + +

                                    +
                                    +

                                    + $address + + + +

                                    + + + + + public + string + $address + + +

                                    The account address (street number, name, build, flat number)

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $address2 + + + +

                                    + + + + + public + string + $address2 + + +

                                    The account phone (address complement)

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $birth_date + + + +

                                    + + + + + public + string + $birth_date + + +

                                    The account birth date 'yyyy-mm-dd'

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $city + + + +

                                    + + + + + public + string + $city + + +

                                    The account city name

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $country + + + +

                                    + + + + + public + Country + $country + + +

                                    The account country residence

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $email + + + +

                                    + + + + + public + string + $email + + +

                                    Must be a rfc valid email on a valid domain name

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $firstname + + + +

                                    + + + + + public + string + $firstname + + +

                                    The account first name

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $hashcode + + + +

                                    + + + + + public + string + $hashcode + + +

                                    The crm hashcode this is a readonly field

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $last_connection + + + +

                                    + + + + + public + string + $last_connection + + +

                                    the last time user was connected 'yyyy-mm-dd HH:ii:ss'

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $lastname + + + +

                                    + + + + + public + string + $lastname + + +

                                    The account last name

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $opt_in + + + +

                                    + + + + + public + bool + $opt_in + + +

                                    true if the account is opt in

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $password + + + +

                                    + + + + + public + string + $password + + +

                                    Required only on create, must have upper and lowers chars, +at least 1 number, at leat 1 upper char, at least 1 lower char and +at leat 1 special char

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $phone + + + +

                                    + + + + + public + string + $phone + + +

                                    The account phone

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $postcode + + + +

                                    + + + + + public + string + $postcode + + +

                                    The account city postcode

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $status + + + +

                                    + + + + + public + bool + $status + + +

                                    true if the account is activated

                                    +
                                    + +
                                    + + + +
                                    +
                                    +

                                    + $invisibleFields + + + +

                                    + + +

                                    The crm customer fields +the should not be visible

                                    + + + protected + array<string|int, mixed> + $invisibleFields + = ['password'] + + + + + +
                                    +
                                    +

                                    + $modelFields + + + +

                                    + + +

                                    The crm customer fields

                                    + + + protected + array<string|int, mixed> + $modelFields + = ['hashcode', 'email', 'firstname', 'password', 'lastname', 'birth_date', 'phone', 'address', 'address2', 'city', 'postcode', 'country', 'opt_in', 'status', 'last_connection'] + + + + + +
                                    +
                                    +

                                    + $validation + + + +

                                    + + +

                                    Validation rules

                                    + + + protected + static array<string|int, mixed> + $validation + = ['hashcode' => 'required|uuid', 'email' => 'required|email', 'firstname' => 'required|string|min:1|max:255', 'lastname' => 'required|string|min:1|max:255', 'password' => 'required|min:8|max:255|mixedCase|containDigit|containSymbol', 'birth_date' => 'required|date_format:Y-m-d', 'phone' => 'sometimes|nullable|string|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|min:2|max:255', 'postcode' => 'sometimes|string|max:255', 'country' => ['sometimes'], 'opt_in' => 'required|bool', 'status' => 'required|bool', 'last_connection' => 'sometimes|date'] + + + + + +
                                    +
                                    +

                                    + $address + + + +

                                    + + +

                                    The user address (street number, name, etc)

                                    + + + private + string + $address + = null + +

                                    Validate: sometimes,string

                                    +

                                    Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $address2 + + + +

                                    + + +

                                    The user address 2nd part (street number, name, more, etc)

                                    + + + private + string + $address2 + = null + +

                                    Validate: sometimes,string

                                    +

                                    Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $birth_date + + + +

                                    + + +

                                    Birth date

                                    + + + private + string + $birth_date + = null + +

                                    Validate: date_format:Y-m-d

                                    +

                                    Required +Field Type Date

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $city + + + +

                                    + + +

                                    The user address city

                                    + + + private + string + $city + = null + +

                                    Validate: sometimes,string

                                    +

                                    Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $country + + + +

                                    + + +

                                    The user address postcode

                                    + + + private + Country + $country + = null + +

                                    Validate: sometimes, in Country::toValues()

                                    +

                                    Required +Field Type tinyInt

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $email + + + +

                                    + + +

                                    An RFC Valid Email

                                    + + + private + string + $email + = null + +

                                    Validate: rfc,dns,spoof,filter

                                    +

                                    Required +Min length N/A +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $firstname + + + +

                                    + + +

                                    First name

                                    + + + private + string + $firstname + = null + +

                                    Required +Min length 2 +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $hashcode + + + +

                                    + + +

                                    The user hashcode, this is link with the customer and the brand it is related to +It is used to identify the customer itself.

                                    + + + private + string + $hashcode + + +

                                    Validate: UUID, in customer_infos

                                    +

                                    Required +Min length 36 +Max length 36 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $last_connection + + + +

                                    + + +

                                    The last time the account was connected

                                    + + + private + string + $last_connection + = null + +

                                    This field is read only

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $lastname + + + +

                                    + + +

                                    Last name

                                    + + + private + string + $lastname + = null + +

                                    Required +Min length 2 +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $opt_in + + + +

                                    + + +

                                    The user optin choice

                                    + + + private + bool + $opt_in + = false + +

                                    Validate: boolean

                                    +

                                    Required +Field Type TinyInt

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $password + + + +

                                    + + +

                                    The user password +This is set only when creating a user +Otherwise it has to be set to null

                                    + + + private + string + $password + = null + +

                                    Validate: case_diff,numbers,letters,symbols,min:8

                                    +

                                    Min length 8 +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $phone + + + +

                                    + + +

                                    The user phone

                                    + + + private + string + $phone + = null + +

                                    Validate: sometimes,string

                                    +

                                    Required +Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $postcode + + + +

                                    + + +

                                    The user address postcode

                                    + + + private + string + $postcode + = null + +

                                    Validate: string

                                    +

                                    Required +Min length NA +Max length 255 +Field Type varchar

                                    +
                                    + + + + +
                                    +
                                    +

                                    + $status + + + +

                                    + + +

                                    Is the account activated ?

                                    + + + private + bool + $status + = false + +

                                    This field is read only

                                    +
                                    + + + + +
                                    +
                                    + +
                                    +

                                    + Methods + +

                                    +
                                    +

                                    + __construct() + +

                                    + + +

                                    Customer

                                    + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                    Parameters
                                    +
                                    +
                                    + $properties + : array<string|int, mixed> + = []
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + mixed + — + + +
                                    +
                                    +

                                    + __get() + +

                                    + + +

                                    Generic accessor

                                    + + + public + __get(string $field) : mixed|null + + +
                                    Parameters
                                    +
                                    +
                                    + $field + : string +
                                    +
                                    + +
                                    +
                                    + + + +
                                    Return values
                                    + mixed|null + — +

                                    Returns null if the property was not found any way.

                                    +
                                    + + +
                                    +
                                    +

                                    + __set() + +

                                    + + +

                                    Set prop on the model.

                                    + + + public + __set(string $field, mixed $value) : void + + +
                                    Parameters
                                    +
                                    +
                                    + $field + : string +
                                    +
                                    + +
                                    +
                                    + $value + : mixed +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + AccessError + +

                                    If trying to set a value on a unknown property.

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + void + — + + +
                                    +
                                    +

                                    + activate() + +

                                    + + +

                                    Active the customer on CRM.

                                    + + + public + activate() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a customer's hashcode could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    true if succeeded

                                    +
                                    + + +
                                    +
                                    +

                                    + delete() + +

                                    + + +

                                    Removes the customer from CRM.

                                    + + + public + delete() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    true if succeeded

                                    +
                                    + + +
                                    +
                                    +

                                    + fill() + +

                                    + + +

                                    Fill values into model using validation rules.

                                    + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                    Parameters
                                    +
                                    +
                                    + $properties + : array<string|int, mixed> +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + void + — + + +
                                    +
                                    +

                                    + find() + +

                                    + + +

                                    Find a customer using its hashcode in the crm

                                    + + + public + static find(string $hashcode) : self|null + + +
                                    Parameters
                                    +
                                    +
                                    + $hashcode + : string +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + self|null + — +

                                    Return null if the customer was not found

                                    +
                                    + + +
                                    +
                                    +

                                    + findWithEmail() + +

                                    + + +

                                    Find a customer using its email in the crm +This is an alias of Customer::find()

                                    + + + public + static findWithEmail(string $email) : self|null + + +
                                    Parameters
                                    +
                                    +
                                    + $email + : string +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + self|null + — + + +
                                    +
                                    +

                                    + jsonSerialize() + +

                                    + + +

                                    Serialize this object to an array

                                    + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                    Return values
                                    + array<string|int, mixed> + — + + +
                                    +
                                    +

                                    + login() + +

                                    + + +

                                    Test customer credentials

                                    + + + public + static login(string $email, string $password) : bool + + +
                                    Parameters
                                    +
                                    +
                                    + $email + : string +
                                    +
                                    + +
                                    +
                                    + $password + : string +
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a customer's email could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — + + +
                                    +
                                    +

                                    + save() + +

                                    + + +

                                    Save the customer on CRM.

                                    + + + public + save() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found (new customers only).

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    True if save was successfull.

                                    +
                                    + + +
                                    +
                                    +

                                    + toggleOptin() + +

                                    + + +

                                    Toggle the account optin value in the crm

                                    + + + public + toggleOptin() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    true if succeeded

                                    +
                                    + + +
                                    +
                                    +

                                    + validateAllValues() + +

                                    + + +

                                    Validate all model properties

                                    + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                    Parameters
                                    +
                                    +
                                    + $ignore + : array<string|int, mixed> + = []
                                    +
                                    + +
                                    +
                                    + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + array<string|int, mixed> + — +

                                    the validated values

                                    +
                                    + + +
                                    +
                                    +

                                    + store() + +

                                    + + +

                                    Calls api store customer method

                                    + + + private + store() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    True if save was successfull.

                                    +
                                    + + +
                                    +
                                    +

                                    + update() + +

                                    + + +

                                    Calls api update customer method

                                    + + + private + update() : bool + + + + +
                                    + Tags + +
                                    +
                                    +
                                    + throws +
                                    +
                                    + ValidationException + +

                                    If a field could not be validated.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + CrmException + +

                                    If an error occurs on server side or on getting response.

                                    +
                                    + +
                                    +
                                    + throws +
                                    +
                                    + ApiErrorException + +

                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                    +
                                    + +
                                    +
                                    + phpcs:ignore +
                                    +
                                    + +

                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                    +
                                    + +
                                    +
                                    + +
                                    Return values
                                    + bool + — +

                                    True if save was successfull.

                                    +
                                    + + +
                                    +
                                    + + + + +
                                    +
                                    +
                                    +
                                    +

                                    Search results

                                    + +
                                    +
                                    +
                                      +
                                      +
                                      +
                                      +
                                      +
                                      + + +
                                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Question.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Question.html new file mode 100644 index 0000000..de78d78 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Question.html @@ -0,0 +1,1381 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                      +

                                      CRM V2

                                      + + + + + +
                                      + +
                                      +
                                      + + + + +
                                      + + +
                                      +

                                      + Question + + + extends CrmClientModel + + +
                                      + in package + +
                                      + + +

                                      + + + +

                                      This class represents a question +It has some static methods to retrieve questions and answers

                                      + + + +
                                      + Tags + +
                                      +
                                      +
                                      + category +
                                      +
                                      + +

                                      Api Models

                                      +
                                      + +
                                      +
                                      + subpackage +
                                      +
                                      + +

                                      models

                                      +
                                      + +
                                      +
                                      + author +
                                      +
                                      + +

                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                      +
                                      + +
                                      +
                                      + + + + + + +

                                      + Table of Contents + +

                                      + +
                                      +
                                      + $answers + +  : array<string|int, Answer> +
                                      +
                                      + +
                                      + $id + +  : string +
                                      +
                                      + +
                                      + $question + +  : string +
                                      +
                                      + +
                                      + $type + +  : QuestionType +
                                      +
                                      + +
                                      + $modelFields + +  : array<string|int, mixed> +
                                      +
                                      The crm customer fields
                                      + +
                                      + $validation + +  : array<string|int, mixed> +
                                      +
                                      Validation rules
                                      + +
                                      + $answers + +  : array<string|int, mixed> +
                                      +
                                      The question answers
                                      + +
                                      + $id + +  : int +
                                      +
                                      The question id
                                      + +
                                      + $question + +  : string +
                                      +
                                      The actual question as a string
                                      + +
                                      + $type + +  : QuestionType +
                                      +
                                      The question type
                                      + +
                                      + __construct() + +  : mixed +
                                      +
                                      Question
                                      + +
                                      + __get() + +  : mixed +
                                      +
                                      General accessor
                                      + +
                                      + __set() + +  : void +
                                      +
                                      Set prop on the model.
                                      + +
                                      + all() + +  : array<string|int, mixed> +
                                      +
                                      Get all questions only
                                      + +
                                      + allWithCustomerAnswers() + +  : array<string|int, mixed> +
                                      +
                                      Get all the questions with customer answers
                                      + +
                                      + fill() + +  : void +
                                      +
                                      Fill values into model using validation rules.
                                      + +
                                      + jsonSerialize() + +  : array<string|int, mixed> +
                                      +
                                      Serialize this object to an array
                                      + +
                                      + unansweredBy() + +  : array<string|int, mixed> +
                                      +
                                      Get unanswered question for a specific customer
                                      + +
                                      + validateAllValues() + +  : array<string|int, mixed> +
                                      +
                                      Validate all model properties
                                      + +
                                      + + + + + + +
                                      +

                                      + Properties + +

                                      +
                                      +

                                      + $answers + + + +

                                      + + + + + public + array<string|int, Answer> + $answers + + +

                                      An array with answers

                                      +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $id + + + +

                                      + + + + + public + string + $id + + +

                                      The question id

                                      +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $question + + + +

                                      + + + + + public + string + $question + + +

                                      The actual question as a string

                                      +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $type + + + +

                                      + + + + + public + QuestionType + $type + + +

                                      The question type to display, +it also hints wether it can accept one or multiple responses, +so only checkbox allows multiple responses

                                      +
                                      + +
                                      + + + +
                                      +
                                      +

                                      + $modelFields + + + +

                                      + + +

                                      The crm customer fields

                                      + + + protected + array<string|int, mixed> + $modelFields + = ['id', 'question', 'type', 'answers'] + + + + + +
                                      +
                                      +

                                      + $validation + + + +

                                      + + +

                                      Validation rules

                                      + + + protected + static array<string|int, mixed> + $validation + = ['id' => 'required|int', 'question' => 'required|string|max:255', 'type' => ['required'], 'answers' => 'required|array'] + + + + + +
                                      +
                                      +

                                      + $answers + + + +

                                      + + +

                                      The question answers

                                      + + + private + array<string|int, mixed> + $answers + = [] + +

                                      \LDC\LDCCRM\Models\Answer

                                      +
                                      + + + + +
                                      +
                                      +

                                      + $id + + + +

                                      + + +

                                      The question id

                                      + + + private + int + $id + + +

                                      Required +Field Type bigInt

                                      +
                                      + + + + +
                                      +
                                      +

                                      + $question + + + +

                                      + + +

                                      The actual question as a string

                                      + + + private + string + $question + = null + +

                                      Required +Max length 255 +Field Type varchar

                                      +
                                      + + + + +
                                      +
                                      +

                                      + $type + + + +

                                      + + +

                                      The question type

                                      + + + private + QuestionType + $type + = null + +

                                      Validate: in QuestionType::toValues()

                                      +

                                      Required +Field Type tinyInteger

                                      +
                                      + + + + +
                                      +
                                      + +
                                      +

                                      + Methods + +

                                      +
                                      +

                                      + __construct() + +

                                      + + +

                                      Question

                                      + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                      Parameters
                                      +
                                      +
                                      + $properties + : array<string|int, mixed> + = []
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a field could not be validated.

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + mixed + — + + +
                                      +
                                      +

                                      + __get() + +

                                      + + +

                                      General accessor

                                      + + + public + __get(string $field) : mixed + + +
                                      Parameters
                                      +
                                      +
                                      + $field + : string +
                                      +
                                      + +
                                      +
                                      + + + +
                                      Return values
                                      + mixed + — + + +
                                      +
                                      +

                                      + __set() + +

                                      + + +

                                      Set prop on the model.

                                      + + + public + __set(string $field, mixed $value) : void + + +
                                      Parameters
                                      +
                                      +
                                      + $field + : string +
                                      +
                                      + +
                                      +
                                      + $value + : mixed +
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a field could not be validated.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + AccessError + +

                                      If trying to set a value on a unknown property.

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + void + — + + +
                                      +
                                      +

                                      + all() + +

                                      + + +

                                      Get all questions only

                                      + + + public + static all() : array<string|int, mixed> + + + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + CrmException + +

                                      If an error occurs on server side or on getting response.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + ApiErrorException + +

                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                      +
                                      + +
                                      +
                                      + phpcs:ignore +
                                      +
                                      + +

                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + array<string|int, mixed> + — +

                                      of \LDC\LDCCRM\Models\Question

                                      +
                                      + + +
                                      +
                                      +

                                      + allWithCustomerAnswers() + +

                                      + + +

                                      Get all the questions with customer answers

                                      + + + public + static allWithCustomerAnswers(Customer $customer) : array<string|int, mixed> + + +
                                      Parameters
                                      +
                                      +
                                      + $customer + : Customer +
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a customer's hashcode could not be validated.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + CrmException + +

                                      If an error occurs on server side or on getting response.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + ApiErrorException + +

                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                      +
                                      + +
                                      +
                                      + phpcs:ignore +
                                      +
                                      + +

                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + array<string|int, mixed> + — +

                                      [ +0 => [ +'question' => \LDC\LDCCRM\Models\Question, +'customerAnswers' => \LDC\LDCCRM\Models\Answer[] +] +]

                                      +

                                      with \LDC\LDCCRM\Models\Question[] +and the customer \LDC\LDCCRM\Models\Answer[]

                                      +
                                      + + +
                                      +
                                      +

                                      + fill() + +

                                      + + +

                                      Fill values into model using validation rules.

                                      + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                      Parameters
                                      +
                                      +
                                      + $properties + : array<string|int, mixed> +
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a field could not be validated.

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + void + — + + +
                                      +
                                      +

                                      + jsonSerialize() + +

                                      + + +

                                      Serialize this object to an array

                                      + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                      Return values
                                      + array<string|int, mixed> + — + + +
                                      +
                                      +

                                      + unansweredBy() + +

                                      + + +

                                      Get unanswered question for a specific customer

                                      + + + public + static unansweredBy(Customer $customer) : array<string|int, mixed> + + +
                                      Parameters
                                      +
                                      +
                                      + $customer + : Customer +
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a customer's hashcode could not be validated.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + CrmException + +

                                      If an error occurs on server side or on getting response.

                                      +
                                      + +
                                      +
                                      + throws +
                                      +
                                      + ApiErrorException + +

                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                      +
                                      + +
                                      +
                                      + phpcs:ignore +
                                      +
                                      + +

                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + array<string|int, mixed> + — +

                                      of \LDC\LDCCRM\Models\Question

                                      +
                                      + + +
                                      +
                                      +

                                      + validateAllValues() + +

                                      + + +

                                      Validate all model properties

                                      + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                      Parameters
                                      +
                                      +
                                      + $ignore + : array<string|int, mixed> + = []
                                      +
                                      + +
                                      +
                                      + + +
                                      + Tags + +
                                      +
                                      +
                                      + throws +
                                      +
                                      + ValidationException + +

                                      If a field could not be validated.

                                      +
                                      + +
                                      +
                                      + +
                                      Return values
                                      + array<string|int, mixed> + — +

                                      the validated values

                                      +
                                      + + +
                                      +
                                      + + + + +
                                      +
                                      +
                                      +
                                      +

                                      Search results

                                      + +
                                      +
                                      +
                                        +
                                        +
                                        +
                                        +
                                        +
                                        + + +
                                        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-SingleOptin.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-SingleOptin.html new file mode 100644 index 0000000..ebbecb2 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-SingleOptin.html @@ -0,0 +1,469 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                        +

                                        CRM V2

                                        + + + + + +
                                        + +
                                        +
                                        + + + + +
                                        + + +
                                        +

                                        + SingleOptin + + + extends CrmClientModel + + +
                                        + in package + +
                                        + + +

                                        + + + +

                                        This class allows to handle single optins

                                        + + + +
                                        + Tags + +
                                        +
                                        +
                                        + throws +
                                        +
                                        + ApiErrorException + +

                                        If an error occurs

                                        +
                                        + +
                                        +
                                        + throws +
                                        +
                                        + CrmException + +

                                        If the CRM encounters an error

                                        +
                                        + +
                                        +
                                        + category +
                                        +
                                        + +

                                        Api Models

                                        +
                                        + +
                                        +
                                        + subpackage +
                                        +
                                        + +

                                        models

                                        +
                                        + +
                                        +
                                        + author +
                                        +
                                        + +

                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                        +
                                        + +
                                        +
                                        + + + + + + +

                                        + Table of Contents + +

                                        + +
                                        +
                                        + $validation + +  : array<string|int, mixed> +
                                        +
                                        Validation rules
                                        + +
                                        + setStatus() + +  : bool +
                                        +
                                        Set the single optin status for an email
                                        + +
                                        + + + + + + +
                                        +

                                        + Properties + +

                                        +
                                        +

                                        + $validation + + + +

                                        + + +

                                        Validation rules

                                        + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'opt_in' => 'required|bool'] + + + + + +
                                        +
                                        + +
                                        +

                                        + Methods + +

                                        +
                                        +

                                        + setStatus() + +

                                        + + +

                                        Set the single optin status for an email

                                        + + + public + static setStatus(string $email, bool $opt_in) : bool + + +
                                        Parameters
                                        +
                                        +
                                        + $email + : string +
                                        +
                                        + +
                                        +
                                        + $opt_in + : bool +
                                        +
                                        + +
                                        +
                                        + + +
                                        + Tags + +
                                        +
                                        +
                                        + throws +
                                        +
                                        + ValidationException + +

                                        If a field email could not be validated.

                                        +
                                        + +
                                        +
                                        + throws +
                                        +
                                        + CrmException + +

                                        If an error occurs on server side or on getting response.

                                        +
                                        + +
                                        +
                                        + throws +
                                        +
                                        + ApiErrorException + +

                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                        +
                                        + +
                                        +
                                        + phpcs:ignore +
                                        +
                                        + +

                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                        +
                                        + +
                                        +
                                        + +
                                        Return values
                                        + bool + — +

                                        true if succeeded

                                        +
                                        + + +
                                        +
                                        + + + + +
                                        +
                                        +
                                        +
                                        +

                                        Search results

                                        + +
                                        +
                                        +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          + + +
                                          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Stats.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Stats.html new file mode 100644 index 0000000..aad695e --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Models-Stats.html @@ -0,0 +1,621 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                          +

                                          CRM V2

                                          + + + + + +
                                          + +
                                          +
                                          + + + + +
                                          + + +
                                          +

                                          + Stats + + + extends CrmClientModel + + +
                                          + in package + +
                                          + + +

                                          + + + +

                                          This class is used to get stats from CRM

                                          + + + +
                                          + Tags + +
                                          +
                                          +
                                          + throws +
                                          +
                                          + ApiErrorException + +

                                          If an error occurs

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + CrmException + +

                                          If the CRM encounters an error

                                          +
                                          + +
                                          +
                                          + category +
                                          +
                                          + +

                                          Api Models

                                          +
                                          + +
                                          +
                                          + subpackage +
                                          +
                                          + +

                                          models

                                          +
                                          + +
                                          +
                                          + author +
                                          +
                                          + +

                                          Jérémy Munsch jeremy.munsch@ldc.fr

                                          +
                                          + +
                                          +
                                          + + + + + + +

                                          + Table of Contents + +

                                          + +
                                          +
                                          + $validation + +  : array<string|int, mixed> +
                                          +
                                          Validation rules
                                          + +
                                          + getBrandStats() + +  : array<string|int, mixed> +
                                          +
                                          Get brand stats ordered by ascendent days
                                          + +
                                          + getQuestionStats() + +  : array<string|int, mixed> +
                                          +
                                          Get brand stats ordered by ascendent days
                                          + +
                                          + + + + + + +
                                          +

                                          + Properties + +

                                          +
                                          +

                                          + $validation + + + +

                                          + + +

                                          Validation rules

                                          + + + protected + static array<string|int, mixed> + $validation + = ['question.id' => 'required|int|min:1', 'start' => 'required|date_format:Y-m-d', 'end' => 'required|date_format:Y-m-d'] + + + + + +
                                          +
                                          + +
                                          +

                                          + Methods + +

                                          +
                                          +

                                          + getBrandStats() + +

                                          + + +

                                          Get brand stats ordered by ascendent days

                                          + + + public + static getBrandStats(string $start, string $end) : array<string|int, mixed> + + +
                                          Parameters
                                          +
                                          +
                                          + $start + : string +
                                          +
                                          +

                                          Une date valide au format Y-m-d .

                                          +
                                          + +
                                          +
                                          + $end + : string +
                                          +
                                          +

                                          Une date valide au format Y-m-d .

                                          +
                                          + +
                                          +
                                          + + +
                                          + Tags + +
                                          +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a field start could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a field end could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + CrmException + +

                                          If an error occurs on server side or on getting response.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ApiErrorException + +

                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                          +
                                          + +
                                          +
                                          + phpcs:ignore +
                                          +
                                          + +

                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                          +
                                          + +
                                          +
                                          + +
                                          Return values
                                          + array<string|int, mixed> + — +

                                          The stats array by day

                                          +
                                          + + +
                                          +
                                          +

                                          + getQuestionStats() + +

                                          + + +

                                          Get brand stats ordered by ascendent days

                                          + + + public + static getQuestionStats(Question $question, string $start, string $end) : array<string|int, mixed> + + +
                                          Parameters
                                          +
                                          +
                                          + $question + : Question +
                                          +
                                          +

                                          Une question CRM possèdant un id réel.

                                          +
                                          + +
                                          +
                                          + $start + : string +
                                          +
                                          +

                                          Une date valide au format Y-m-d .

                                          +
                                          + +
                                          +
                                          + $end + : string +
                                          +
                                          +

                                          Une date valide au format Y-m-d .

                                          +
                                          + +
                                          +
                                          + + +
                                          + Tags + +
                                          +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a question's id could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a field start could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ValidationException + +

                                          If a field end could not be validated.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + CrmException + +

                                          If an error occurs on server side or on getting response.

                                          +
                                          + +
                                          +
                                          + throws +
                                          +
                                          + ApiErrorException + +

                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                          +
                                          + +
                                          +
                                          + phpcs:ignore +
                                          +
                                          + +

                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                          +
                                          + +
                                          +
                                          + +
                                          Return values
                                          + array<string|int, mixed> + — +

                                          The stats array by day

                                          +
                                          + + +
                                          +
                                          + + + + +
                                          +
                                          +
                                          +
                                          +

                                          Search results

                                          + +
                                          +
                                          +
                                            +
                                            +
                                            +
                                            +
                                            +
                                            + + +
                                            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Request.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Request.html new file mode 100644 index 0000000..f192fc1 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Request.html @@ -0,0 +1,1085 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                            +

                                            CRM V2

                                            + + + + + +
                                            + +
                                            +
                                            + + + + +
                                            + + +
                                            +

                                            + Request + + +
                                            + in package + +
                                            + + +

                                            + + + +

                                            The LDC CRM request +Contains the http method, the requested url and data to pass

                                            + + + +
                                            + Tags + +
                                            +
                                            +
                                            + subpackage +
                                            +
                                            + +

                                            transport

                                            +
                                            + +
                                            +
                                            + + + + + + +

                                            + Table of Contents + +

                                            + +
                                            +
                                            + $data + +  : array<string|int, mixed> +
                                            +
                                            + +
                                            + $headers + +  : array<string|int, mixed> +
                                            +
                                            + +
                                            + $method + +  : HttpMethods +
                                            +
                                            + +
                                            + $uri + +  : string +
                                            +
                                            + +
                                            + $data + +  : array<string|int, mixed> +
                                            +
                                            Data to pass to the http body
                                            + +
                                            + $headers + +  : array<string|int, mixed> +
                                            +
                                            Data to pass to the http headers
                                            + +
                                            + $method + +  : HttpMethods +
                                            +
                                            The http method
                                            + +
                                            + $uri + +  : string +
                                            +
                                            The http url
                                            + +
                                            + $client + +  : Client +
                                            +
                                            GuzzleHttp client
                                            + +
                                            + $endpoint + +  : string +
                                            +
                                            The Api endpoint
                                            + +
                                            + $request + +  : callable +
                                            +
                                            Guzzle request
                                            + +
                                            + __construct() + +  : mixed +
                                            +
                                            Request
                                            + +
                                            + __get() + +  : mixed|null +
                                            +
                                            Generic accessor
                                            + +
                                            + addData() + +  : void +
                                            +
                                            Add data to the request
                                            + +
                                            + addHeaders() + +  : void +
                                            +
                                            Add headers to the request
                                            + +
                                            + call() + +  : ResponseInterface +
                                            +
                                            Make the Http request
                                            + +
                                            + setEndpoint() + +  : void +
                                            +
                                            Set the api endpoint to the request
                                            + +
                                            + makeRequest() + +  : void +
                                            +
                                            make the guzzle request
                                            + +
                                            + + + + + + +
                                            +

                                            + Properties + +

                                            +
                                            +

                                            + $data + + + +

                                            + + + + + public + array<string|int, mixed> + $data + + +

                                            readonly data

                                            +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $headers + + + +

                                            + + + + + public + array<string|int, mixed> + $headers + + +

                                            headers

                                            +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $method + + + +

                                            + + + + + public + HttpMethods + $method + + +

                                            readonly method

                                            +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $uri + + + +

                                            + + + + + public + string + $uri + + +

                                            readonly uri

                                            +
                                            + +
                                            + + + +
                                            +
                                            +

                                            + $data + + + +

                                            + + +

                                            Data to pass to the http body

                                            + + + protected + array<string|int, mixed> + $data + = [] + + + + + +
                                            +
                                            +

                                            + $headers + + + +

                                            + + +

                                            Data to pass to the http headers

                                            + + + protected + array<string|int, mixed> + $headers + = [] + + + + + +
                                            +
                                            +

                                            + $method + + + +

                                            + + +

                                            The http method

                                            + + + protected + HttpMethods + $method + + + + + + +
                                            +
                                            +

                                            + $uri + + + +

                                            + + +

                                            The http url

                                            + + + protected + string + $uri + + + + + + +
                                            +
                                            +

                                            + $client + + + +

                                            + + +

                                            GuzzleHttp client

                                            + + + private + Client + $client + + + + + + +
                                            +
                                            +

                                            + $endpoint + + + +

                                            + + +

                                            The Api endpoint

                                            + + + private + string + $endpoint + + + + + + +
                                            +
                                            +

                                            + $request + + + +

                                            + + +

                                            Guzzle request

                                            + + + private + callable + $request + + + +

                                            the returns \GuzzleHttp\Psr7\Request

                                            +
                                            + + + +
                                            +
                                            + +
                                            +

                                            + Methods + +

                                            +
                                            +

                                            + __construct() + +

                                            + + +

                                            Request

                                            + + + public + __construct(HttpMethods $method, string $uri[, array<string|int, mixed> $headers = [] ][, array<string|int, mixed> $data = [] ]) : mixed + + +
                                            Parameters
                                            +
                                            +
                                            + $method + : HttpMethods +
                                            +
                                            + +
                                            +
                                            + $uri + : string +
                                            +
                                            + +
                                            +
                                            + $headers + : array<string|int, mixed> + = []
                                            +
                                            + +
                                            +
                                            + $data + : array<string|int, mixed> + = []
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + mixed + — + + +
                                            +
                                            +

                                            + __get() + +

                                            + + +

                                            Generic accessor

                                            + + + public + __get(string $field) : mixed|null + + +
                                            Parameters
                                            +
                                            +
                                            + $field + : string +
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + mixed|null + — + + +
                                            +
                                            +

                                            + addData() + +

                                            + + +

                                            Add data to the request

                                            + + + public + addData(array<string|int, mixed> $data) : void + + +
                                            Parameters
                                            +
                                            +
                                            + $data + : array<string|int, mixed> +
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + void + — + + +
                                            +
                                            +

                                            + addHeaders() + +

                                            + + +

                                            Add headers to the request

                                            + + + public + addHeaders(array<string|int, mixed> $headers) : void + + +
                                            Parameters
                                            +
                                            +
                                            + $headers + : array<string|int, mixed> +
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + void + — + + +
                                            +
                                            +

                                            + call() + +

                                            + + +

                                            Make the Http request

                                            + + + public + call() : ResponseInterface + + + + + +
                                            Return values
                                            + ResponseInterface + — + + +
                                            +
                                            +

                                            + setEndpoint() + +

                                            + + +

                                            Set the api endpoint to the request

                                            + + + public + setEndpoint(string $endpoint) : void + + +
                                            Parameters
                                            +
                                            +
                                            + $endpoint + : string +
                                            +
                                            + +
                                            +
                                            + + + +
                                            Return values
                                            + void + — + + +
                                            +
                                            +

                                            + makeRequest() + +

                                            + + +

                                            make the guzzle request

                                            + + + private + makeRequest() : void + + + + + +
                                            Return values
                                            + void + — + + +
                                            +
                                            + + + + +
                                            +
                                            +
                                            +
                                            +

                                            Search results

                                            + +
                                            +
                                            +
                                              +
                                              +
                                              +
                                              +
                                              +
                                              + + +
                                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Response.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Response.html new file mode 100644 index 0000000..b219dbd --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Transport-Response.html @@ -0,0 +1,1105 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                              +

                                              CRM V2

                                              + + + + + +
                                              + +
                                              +
                                              + + + + +
                                              + + +
                                              +

                                              + Response + + +
                                              + in package + +
                                              + + +

                                              + + + + + + +
                                              + Tags + +
                                              +
                                              +
                                              + subpackage +
                                              +
                                              + +

                                              transport

                                              +
                                              + +
                                              +
                                              + + + + + + +

                                              + Table of Contents + +

                                              + +
                                              +
                                              + $apiError + +  : ApiError|int +
                                              +
                                              + +
                                              + $body + +  : array<string|int, mixed> +
                                              +
                                              + +
                                              + $data + +  : array<string|int, mixed>|null +
                                              +
                                              + +
                                              + $headers + +  : array<string|int, mixed> +
                                              +
                                              + +
                                              + $httpCode + +  : int +
                                              +
                                              + +
                                              + $message + +  : string +
                                              +
                                              + +
                                              + $status + +  : ApiStatus +
                                              +
                                              + +
                                              + $apiError + +  : ApiError +
                                              +
                                              The api error
                                              + +
                                              + $body + +  : string +
                                              +
                                              The response body
                                              + +
                                              + $headers + +  : string +
                                              +
                                              The response headers
                                              + +
                                              + $httpCode + +  : int +
                                              +
                                              The response http code
                                              + +
                                              + $message + +  : string +
                                              +
                                              The interface message
                                              + +
                                              + $response + +  : ResponseInterface +
                                              +
                                              PSR response
                                              + +
                                              + $status + +  : ApiStatus +
                                              +
                                              The response status
                                              + +
                                              + __construct() + +  : mixed +
                                              +
                                              Response
                                              + +
                                              + __get() + +  : mixed|null +
                                              +
                                              Generic accessor
                                              + +
                                              + checkVersion() + +  : void +
                                              +
                                              This checks if the crm version is way far beyond the client version.
                                              + +
                                              + tryDecodeJson() + +  : array<string|int, mixed>|false +
                                              +
                                              Try to decode json and return false if it is +not a valid json
                                              + +
                                              + + + + + + +
                                              +

                                              + Properties + +

                                              +
                                              +

                                              + $apiError + + + +

                                              + + + + + public + ApiError|int + $apiError + + +

                                              The api error status it there is any

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $body + + + +

                                              + + + + + public + array<string|int, mixed> + $body + + +

                                              The http response body, this is parsed json

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $data + + + +

                                              + + + + + public + array<string|int, mixed>|null + $data + + +

                                              The reponse data

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $headers + + + +

                                              + + + + + public + array<string|int, mixed> + $headers + + +

                                              The http reponse headers

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $httpCode + + + +

                                              + + + + + public + int + $httpCode + + +

                                              The http response code

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $message + + + +

                                              + + + + + public + string + $message + + +

                                              The api message

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $status + + + +

                                              + + + + + public + ApiStatus + $status + + +

                                              The response api status

                                              +
                                              + +
                                              + + + +
                                              +
                                              +

                                              + $apiError + + + +

                                              + + +

                                              The api error

                                              + + + private + ApiError + $apiError + + + + + + +
                                              +
                                              +

                                              + $body + + + +

                                              + + +

                                              The response body

                                              + + + private + string + $body + + + + + + +
                                              +
                                              +

                                              + $headers + + + +

                                              + + +

                                              The response headers

                                              + + + private + string + $headers + + + + + + +
                                              +
                                              +

                                              + $httpCode + + + +

                                              + + +

                                              The response http code

                                              + + + private + int + $httpCode + = 0 + + + + + +
                                              +
                                              +

                                              + $message + + + +

                                              + + +

                                              The interface message

                                              + + + private + string + $message + + + + + + +
                                              +
                                              +

                                              + $response + + + +

                                              + + +

                                              PSR response

                                              + + + private + ResponseInterface + $response + + + + + + +
                                              +
                                              +

                                              + $status + + + +

                                              + + +

                                              The response status

                                              + + + private + ApiStatus + $status + + + + + + +
                                              +
                                              + +
                                              +

                                              + Methods + +

                                              +
                                              +

                                              + __construct() + +

                                              + + +

                                              Response

                                              + + + public + __construct(ApiStatus $status, ResponseInterface $response) : mixed + + +
                                              Parameters
                                              +
                                              +
                                              + $status + : ApiStatus +
                                              +
                                              + +
                                              +
                                              + $response + : ResponseInterface +
                                              +
                                              + +
                                              +
                                              + + +
                                              + Tags + +
                                              +
                                              +
                                              + throws +
                                              +
                                              + CrmException + +

                                              If HTTP response body in not JSON.

                                              +
                                              + +
                                              +
                                              + +
                                              Return values
                                              + mixed + — + + +
                                              +
                                              +

                                              + __get() + +

                                              + + +

                                              Generic accessor

                                              + + + public + __get(string $field) : mixed|null + + +
                                              Parameters
                                              +
                                              +
                                              + $field + : string +
                                              +
                                              + +
                                              +
                                              + + + +
                                              Return values
                                              + mixed|null + — + + +
                                              +
                                              +

                                              + checkVersion() + +

                                              + + +

                                              This checks if the crm version is way far beyond the client version.

                                              + + + private + checkVersion(string $version) : void + +

                                              If a minor version mismatch is detected we will log this as a warning. +If a major version mismatch is detected we will throw a CrmException as +there shall be an incompatibility with the response.

                                              +

                                              The goal here is to force clients to be up to date. +A major version change means breaking change.

                                              +
                                              + +
                                              Parameters
                                              +
                                              +
                                              + $version + : string +
                                              +
                                              + +
                                              +
                                              + + +
                                              + Tags + +
                                              +
                                              +
                                              + throws +
                                              +
                                              + CrmException + +

                                              If a major version mismatch is detected.

                                              +
                                              + +
                                              +
                                              + +
                                              Return values
                                              + void + — + + +
                                              +
                                              +

                                              + tryDecodeJson() + +

                                              + + +

                                              Try to decode json and return false if it is +not a valid json

                                              + + + private + tryDecodeJson(string $string) : array<string|int, mixed>|false + + +
                                              Parameters
                                              +
                                              +
                                              + $string + : string +
                                              +
                                              + +
                                              +
                                              + + + +
                                              Return values
                                              + array<string|int, mixed>|false + — +

                                              Returns an associative data array or false if failed to parse.

                                              +
                                              + + +
                                              +
                                              + + + + +
                                              +
                                              +
                                              +
                                              +

                                              Search results

                                              + +
                                              +
                                              +
                                                +
                                                +
                                                +
                                                +
                                                +
                                                + + +
                                                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Utils.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Utils.html new file mode 100644 index 0000000..c7d2a28 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-Utils.html @@ -0,0 +1,2005 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                +

                                                CRM V2

                                                + + + + + +
                                                + +
                                                +
                                                + + + + +
                                                + + +
                                                +

                                                + Utils + + +
                                                + in package + +
                                                + + +

                                                + + + +

                                                This is the LDCCRM utility class

                                                + + + +
                                                + Tags + +
                                                +
                                                +
                                                + category +
                                                +
                                                + +

                                                Utility

                                                +
                                                + +
                                                +
                                                + uses +
                                                +
                                                + HttpMethods + + +
                                                +
                                                + uses +
                                                +
                                                + Request + + +
                                                +
                                                + subpackage +
                                                +
                                                + +

                                                utilities

                                                +
                                                + +
                                                +
                                                + + + + + + +

                                                + Table of Contents + +

                                                + +
                                                +
                                                + $packageInfos + +  : array<string|int, mixed> +
                                                +
                                                Package infos
                                                + +
                                                + $translations + +  : array<string|int, mixed> +
                                                +
                                                Loaded translations
                                                + +
                                                + getConfig() + +  : string|null +
                                                +
                                                This is only used for unit tests.
                                                + +
                                                + getPackageInfo() + +  : array<string|int, mixed> +
                                                +
                                                Get composer.json infos
                                                + +
                                                + getRawProperty() + +  : mixed|null +
                                                +
                                                Get a property of an object.
                                                + +
                                                + getResquest() + +  : Request +
                                                +
                                                Generate a Request from the route name
                                                + +
                                                + log() + +  : void +
                                                +
                                                Write log using syslog +It also write log using \Illuminate\Support\Facades\Log +if it is present
                                                + +
                                                + makeValidator() + +  : closure +
                                                +
                                                Create a new Validator instance.
                                                + +
                                                + setRawProperty() + +  : void +
                                                +
                                                Set a property without any validation.
                                                + +
                                                + translate() + +  : string +
                                                +
                                                Translation a string using php file lang
                                                + +
                                                + makeValidatorFromRule() + +  : array<string|int, mixed> +
                                                +
                                                Generate a validator
                                                + +
                                                + validationArray() + +  : array<string|int, mixed> +
                                                +
                                                Make Array validator
                                                + +
                                                + validationBool() + +  : array<string|int, mixed> +
                                                +
                                                Make Bool validator
                                                + +
                                                + validationClosure() + +  : array<string|int, mixed> +
                                                +
                                                Make Closure validator
                                                + +
                                                + validationContainDigit() + +  : array<string|int, mixed> +
                                                +
                                                Make ContainDigit validator
                                                + +
                                                + validationContainSymbol() + +  : array<string|int, mixed> +
                                                +
                                                Make ContainSymbol validator
                                                + +
                                                + validationDate() + +  : array<string|int, mixed> +
                                                +
                                                Make Date validator
                                                + +
                                                + validationDateFormat() + +  : array<string|int, mixed> +
                                                +
                                                Make DateFormat validator
                                                + +
                                                + validationEmail() + +  : array<string|int, mixed> +
                                                +
                                                Make Email validator
                                                + +
                                                + validationInt() + +  : array<string|int, mixed> +
                                                +
                                                Make Int validator
                                                + +
                                                + validationMax() + +  : array<string|int, mixed> +
                                                +
                                                Make Max validator
                                                + +
                                                + validationMin() + +  : array<string|int, mixed> +
                                                +
                                                Make Min validator
                                                + +
                                                + validationMixedCase() + +  : array<string|int, mixed> +
                                                +
                                                Make MixedCase validator
                                                + +
                                                + validationNullable() + +  : array<string|int, mixed> +
                                                +
                                                Make Nullable validator
                                                + +
                                                + validationRequired() + +  : array<string|int, mixed> +
                                                +
                                                Make Required validator
                                                + +
                                                + validationSometimes() + +  : array<string|int, mixed> +
                                                +
                                                Make Sometimes validator
                                                + +
                                                + validationString() + +  : array<string|int, mixed> +
                                                +
                                                Make String validator
                                                + +
                                                + validationUuid() + +  : array<string|int, mixed> +
                                                +
                                                Make Uuid validator
                                                + +
                                                + + + + + + +
                                                +

                                                + Properties + +

                                                +
                                                +

                                                + $packageInfos + + + +

                                                + + +

                                                Package infos

                                                + + + private + static array<string|int, mixed> + $packageInfos + + + + + + +
                                                +
                                                +

                                                + $translations + + + +

                                                + + +

                                                Loaded translations

                                                + + + private + static array<string|int, mixed> + $translations + = [] + + + + + +
                                                +
                                                + +
                                                +

                                                + Methods + +

                                                +
                                                +

                                                + getConfig() + +

                                                + + +

                                                This is only used for unit tests.

                                                + + + public + static getConfig(string $key[, string $default = null ]) : string|null + +

                                                Get config

                                                +
                                                + +
                                                Parameters
                                                +
                                                +
                                                + $key + : string +
                                                +
                                                + +
                                                +
                                                + $default + : string + = null
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + string|null + — + + +
                                                +
                                                +

                                                + getPackageInfo() + +

                                                + + +

                                                Get composer.json infos

                                                + + + public + static getPackageInfo() : array<string|int, mixed> + + + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + getRawProperty() + +

                                                + + +

                                                Get a property of an object.

                                                + + + public + static getRawProperty(object $object, string $property) : mixed|null + +

                                                ! Warning : this will return any property of the object, use with caution.

                                                +
                                                + +
                                                Parameters
                                                +
                                                +
                                                + $object + : object +
                                                +
                                                +

                                                The object to inspect.

                                                +
                                                + +
                                                +
                                                + $property + : string +
                                                +
                                                +

                                                The object property to inspect.

                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + mixed|null + — +

                                                Returns null if the property was not found any way.

                                                +
                                                + + +
                                                +
                                                +

                                                + getResquest() + +

                                                + + +

                                                Generate a Request from the route name

                                                + + + public + static getResquest(string $routeName[, array<string|int, mixed> $query = [] ][, array<string|int, mixed> $data = [] ]) : Request + + +
                                                Parameters
                                                +
                                                +
                                                + $routeName + : string +
                                                +
                                                + +
                                                +
                                                + $query + : array<string|int, mixed> + = []
                                                +
                                                +

                                                Params to pass on to the route.

                                                +
                                                + +
                                                +
                                                + $data + : array<string|int, mixed> + = []
                                                +
                                                +

                                                Http body params.

                                                +
                                                + +
                                                +
                                                + + +
                                                + Tags + +
                                                +
                                                +
                                                + throws +
                                                +
                                                + ErrorException + +

                                                If the requested route is unknown.

                                                +
                                                + +
                                                +
                                                + throws +
                                                +
                                                + ErrorException + +

                                                If a required parameter is missing.

                                                +
                                                + +
                                                +
                                                + +
                                                Return values
                                                + Request + — + + +
                                                +
                                                +

                                                + log() + +

                                                + + +

                                                Write log using syslog +It also write log using \Illuminate\Support\Facades\Log +if it is present

                                                + + + public + static log(string $message, LogLevel $level) : void + + +
                                                Parameters
                                                +
                                                +
                                                + $message + : string +
                                                +
                                                +

                                                The message is prefixed with "LDC CRM:" .

                                                +
                                                + +
                                                +
                                                + $level + : LogLevel +
                                                +
                                                +

                                                The log level to apply.

                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + void + — + + +
                                                +
                                                +

                                                + makeValidator() + +

                                                + + +

                                                Create a new Validator instance.

                                                + + + public + static makeValidator(array<string|int, mixed> $data, array<string|int, mixed> $rules) : closure + + +
                                                Parameters
                                                +
                                                +
                                                + $data + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + $rules + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + +
                                                + Tags + +
                                                +
                                                +
                                                + throws +
                                                +
                                                + ErrorException + +

                                                If an unknown validation rule is used.

                                                +
                                                + +
                                                +
                                                + +
                                                Return values
                                                + closure + — + + +
                                                +
                                                +

                                                + setRawProperty() + +

                                                + + +

                                                Set a property without any validation.

                                                + + + public + static setRawProperty(object $object, string $property, mixed $value) : void + +

                                                ! Warning : this can change any property of the object, use with caution.

                                                +
                                                + +
                                                Parameters
                                                +
                                                +
                                                + $object + : object +
                                                +
                                                +

                                                The object to inspect.

                                                +
                                                + +
                                                +
                                                + $property + : string +
                                                +
                                                +

                                                The object property to assign to.

                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                +

                                                The value to insert.

                                                +
                                                + +
                                                +
                                                + + +
                                                + Tags + +
                                                +
                                                +
                                                + throws +
                                                +
                                                + AccessError + +

                                                If trying to set a value on a unknown property.

                                                +
                                                + +
                                                +
                                                + +
                                                Return values
                                                + void + — + + +
                                                +
                                                +

                                                + translate() + +

                                                + + +

                                                Translation a string using php file lang

                                                + + + public + static translate(string $key[, string $lang = 'fr' ]) : string + + +
                                                Parameters
                                                +
                                                +
                                                + $key + : string +
                                                +
                                                + +
                                                +
                                                + $lang + : string + = 'fr'
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + string + — + + +
                                                +
                                                +

                                                + makeValidatorFromRule() + +

                                                + + +

                                                Generate a validator

                                                + + + private + static makeValidatorFromRule(mixed $rule, array<string|int, mixed> $data, string $attribute) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $rule + : mixed +
                                                +
                                                + +
                                                +
                                                + $data + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + + +
                                                + Tags + +
                                                +
                                                +
                                                + throws +
                                                +
                                                + ErrorException + +

                                                If a rule is unknown.

                                                +
                                                + +
                                                +
                                                + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationArray() + +

                                                + + +

                                                Make Array validator

                                                + + + private + static validationArray(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationBool() + +

                                                + + +

                                                Make Bool validator

                                                + + + private + static validationBool(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationClosure() + +

                                                + + +

                                                Make Closure validator

                                                + + + private + static validationClosure(string $attribute, mixed $value, Closure $closure) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + $closure + : Closure +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationContainDigit() + +

                                                + + +

                                                Make ContainDigit validator

                                                + + + private + static validationContainDigit(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationContainSymbol() + +

                                                + + +

                                                Make ContainSymbol validator

                                                + + + private + static validationContainSymbol(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationDate() + +

                                                + + +

                                                Make Date validator

                                                + + + private + static validationDate(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationDateFormat() + +

                                                + + +

                                                Make DateFormat validator

                                                + + + private + static validationDateFormat(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + $params + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationEmail() + +

                                                + + +

                                                Make Email validator

                                                + + + private + static validationEmail(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationInt() + +

                                                + + +

                                                Make Int validator

                                                + + + private + static validationInt(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationMax() + +

                                                + + +

                                                Make Max validator

                                                + + + private + static validationMax(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + $params + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationMin() + +

                                                + + +

                                                Make Min validator

                                                + + + private + static validationMin(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + $params + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationMixedCase() + +

                                                + + +

                                                Make MixedCase validator

                                                + + + private + static validationMixedCase(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationNullable() + +

                                                + + +

                                                Make Nullable validator

                                                + + + private + static validationNullable(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationRequired() + +

                                                + + +

                                                Make Required validator

                                                + + + private + static validationRequired(string $attribute, array<string|int, mixed> $data) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $data + : array<string|int, mixed> +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationSometimes() + +

                                                + + +

                                                Make Sometimes validator

                                                + + + private + static validationSometimes(string $attribute, mixed $data) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $data + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationString() + +

                                                + + +

                                                Make String validator

                                                + + + private + static validationString(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                +

                                                + validationUuid() + +

                                                + + +

                                                Make Uuid validator

                                                + + + private + static validationUuid(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                Parameters
                                                +
                                                +
                                                + $attribute + : string +
                                                +
                                                + +
                                                +
                                                + $value + : mixed +
                                                +
                                                + +
                                                +
                                                + + + +
                                                Return values
                                                + array<string|int, mixed> + — + + +
                                                +
                                                + + + + +
                                                +
                                                +
                                                +
                                                +

                                                Search results

                                                + +
                                                +
                                                +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  + + +
                                                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrm.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrm.html new file mode 100644 index 0000000..47d8cf9 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrm.html @@ -0,0 +1,2013 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                  +

                                                  CRM V2

                                                  + + + + + +
                                                  + +
                                                  +
                                                  + + + + +
                                                  + + +
                                                  +

                                                  + WPCrm + + +
                                                  + in package + +
                                                  + + +

                                                  + + + +

                                                  Class de gestion des users en session avec Wordpress (ce truc immonde)

                                                  + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + category +
                                                  +
                                                  + +

                                                  API

                                                  +
                                                  + +
                                                  +
                                                  + subpackage +
                                                  +
                                                  + +

                                                  Wordpress

                                                  +
                                                  + +
                                                  +
                                                  + author +
                                                  +
                                                  + +

                                                  Jérémy Munsch jeremy.munsch@ldc.fr

                                                  +
                                                  + +
                                                  +
                                                  + license +
                                                  +
                                                  + +

                                                  MIT https://opensource.org/licenses/MIT

                                                  +
                                                  + +
                                                  +
                                                  + link +
                                                  +
                                                  + / + +
                                                  +
                                                  + + + + + + +

                                                  + Table of Contents + +

                                                  + +
                                                  +
                                                  + $api + +  : CrmApiV2 +
                                                  +
                                                  The user object
                                                  + +
                                                  + $user + +  : WPCrmUser +
                                                  +
                                                  The user object
                                                  + +
                                                  + $sessionDestroyed + +  : bool +
                                                  +
                                                  The session live status
                                                  + +
                                                  + $sessionKey + +  : string +
                                                  +
                                                  The session key name
                                                  + +
                                                  + activateUser() + +  : bool +
                                                  +
                                                  Toggle the current user optin value +on the current user and the crm
                                                  + +
                                                  + check() + +  : bool +
                                                  +
                                                  Check if the user is logged in.
                                                  + +
                                                  + deleteUser() + +  : bool +
                                                  +
                                                  Delete current customer from +the local database and the crm
                                                  + +
                                                  + getNewUser() + +  : WPCrmUser +
                                                  +
                                                  Generate a new user
                                                  + +
                                                  + getUser() + +  : WPCrmUser|null +
                                                  +
                                                  Get the current user +return null if the user is not logged in
                                                  + +
                                                  + getUserFromApi() + +  : WPCrmUser|false +
                                                  +
                                                  Get the current user +return api response code if an error occurs
                                                  + +
                                                  + getUserFromTable() + +  : array<string|int, mixed>|null +
                                                  +
                                                  Get a customer from table
                                                  + +
                                                  + getUserFromTableByEmail() + +  : array<string|int, mixed>|null +
                                                  +
                                                  Get a customer from table by an email
                                                  + +
                                                  + getUserFromTableByUuid() + +  : array<string|int, mixed>|null +
                                                  +
                                                  Get a customer from table by an email
                                                  + +
                                                  + login() + +  : WPCrmUser|false +
                                                  +
                                                  Try to login with CRM API +A session will be started if credentials are valid.
                                                  + +
                                                  + logout() + +  : void +
                                                  +
                                                  Destroy the customer from session +and therefore logout
                                                  + +
                                                  + saveUser() + +  : bool +
                                                  +
                                                  Save current customer to +the local database and on crm
                                                  + +
                                                  + setSingleOptin() + +  : bool +
                                                  +
                                                  Set the single optin status for an email +on the crm
                                                  + +
                                                  + toggleUserOptin() + +  : bool +
                                                  +
                                                  Toggle the current user optin value +on the current user and the crm
                                                  + +
                                                  + unsetActiveUser() + +  : void +
                                                  +
                                                  Remove active user +to prevent WPCrm::check to return true
                                                  + +
                                                  + bootSessionIfNeeded() + +  : void +
                                                  +
                                                  Boot the php session if needed
                                                  + +
                                                  + deleteUserFromTable() + +  : int +
                                                  +
                                                  Save or update the user to the table
                                                  + +
                                                  + getCustomer() + +  : Customer|null +
                                                  +
                                                  Get all customer infos
                                                  + +
                                                  + getWpDb() + +  : object +
                                                  +
                                                  Get WP 'pdo instance'
                                                  + +
                                                  + initLdcApi() + +  : CrmApiV2 +
                                                  +
                                                  Get the initialized API object
                                                  + +
                                                  + loginUserWithApi() + +  : bool +
                                                  +
                                                  Check customer credentials using the CRM.
                                                  + +
                                                  + makeApiV2Call() + +  : mixed|false +
                                                  +
                                                  Make a call using apiV2
                                                  + +
                                                  + query() + +  : int|bool +
                                                  +
                                                  Query in DB
                                                  + +
                                                  + saveOrUpdateUserToTable() + +  : int +
                                                  +
                                                  Save or update the user to the table
                                                  + +
                                                  + setUser() + +  : void +
                                                  +
                                                  Create a user +stores it to the session +and finally saves it to the database if it does not exists
                                                  + +
                                                  + + + + + + +
                                                  +

                                                  + Properties + +

                                                  +
                                                  +

                                                  + $api + + + +

                                                  + + +

                                                  The user object

                                                  + + + protected + static CrmApiV2 + $api + = null + + + + + +
                                                  +
                                                  +

                                                  + $user + + + +

                                                  + + +

                                                  The user object

                                                  + + + protected + static WPCrmUser + $user + = null + + + + + +
                                                  +
                                                  +

                                                  + $sessionDestroyed + + + +

                                                  + + +

                                                  The session live status

                                                  + + + private + static bool + $sessionDestroyed + = false + + + + + +
                                                  +
                                                  +

                                                  + $sessionKey + + + +

                                                  + + +

                                                  The session key name

                                                  + + + private + static string + $sessionKey + = null + + + + + +
                                                  +
                                                  + +
                                                  +

                                                  + Methods + +

                                                  +
                                                  +

                                                  + activateUser() + +

                                                  + + +

                                                  Toggle the current user optin value +on the current user and the crm

                                                  + + + public + static activateUser() : bool + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + ValidationException + +

                                                  If a customer's hashcode could not be validated.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  True if the operation succeeded.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + check() + +

                                                  + + +

                                                  Check if the user is logged in.

                                                  + + + public + static check() : bool + +

                                                  This means he has an active valid session.

                                                  +
                                                  + + + + +
                                                  Return values
                                                  + bool + — + + +
                                                  +
                                                  +

                                                  + deleteUser() + +

                                                  + + +

                                                  Delete current customer from +the local database and the crm

                                                  + + + public + static deleteUser() : bool + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If a critical error occured.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                  +
                                                  + +
                                                  +
                                                  + phpcs:ignore +
                                                  +
                                                  + +

                                                  Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  true if the operation succeeded

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + getNewUser() + +

                                                  + + +

                                                  Generate a new user

                                                  + + + public + static getNewUser() : WPCrmUser + + + + + +
                                                  Return values
                                                  + WPCrmUser + — + + +
                                                  +
                                                  +

                                                  + getUser() + +

                                                  + + +

                                                  Get the current user +return null if the user is not logged in

                                                  + + + public + static getUser() : WPCrmUser|null + + + + + +
                                                  Return values
                                                  + WPCrmUser|null + — + + +
                                                  +
                                                  +

                                                  + getUserFromApi() + +

                                                  + + +

                                                  Get the current user +return api response code if an error occurs

                                                  + + + public + static getUserFromApi(string $identification) : WPCrmUser|false + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $identification + : string +
                                                  +
                                                  +

                                                  The customer hashcode or email.

                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                  +
                                                  + +
                                                  +
                                                  + phpcs:ignore +
                                                  +
                                                  + +

                                                  Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + WPCrmUser|false + — + + +
                                                  +
                                                  +

                                                  + getUserFromTable() + +

                                                  + + +

                                                  Get a customer from table

                                                  + + + public + static getUserFromTable(string $hashcode) : array<string|int, mixed>|null + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $hashcode + : string +
                                                  +
                                                  +

                                                  The customer hashcode.

                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + array<string|int, mixed>|null + — +

                                                  Database query result in format specified by $output or null on failure.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + getUserFromTableByEmail() + +

                                                  + + +

                                                  Get a customer from table by an email

                                                  + + + public + static getUserFromTableByEmail(string $email) : array<string|int, mixed>|null + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $email + : string +
                                                  +
                                                  +

                                                  The customer email.

                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + array<string|int, mixed>|null + — +

                                                  Database query result in format specified by $output or null on failure.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + getUserFromTableByUuid() + +

                                                  + + +

                                                  Get a customer from table by an email

                                                  + + + public + static getUserFromTableByUuid(string $uuid) : array<string|int, mixed>|null + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $uuid + : string +
                                                  +
                                                  +

                                                  The customer transaction uuid.

                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + array<string|int, mixed>|null + — +

                                                  Database query result in format specified by $output or null on failure.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + login() + +

                                                  + + +

                                                  Try to login with CRM API +A session will be started if credentials are valid.

                                                  + + + public + static login(string $email, string $password) : WPCrmUser|false + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $email + : string +
                                                  +
                                                  +

                                                  The customer email.

                                                  +
                                                  + +
                                                  +
                                                  + $password + : string +
                                                  +
                                                  +

                                                  The customer password.

                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + WPCrmUser|false + — + + +
                                                  +
                                                  +

                                                  + logout() + +

                                                  + + +

                                                  Destroy the customer from session +and therefore logout

                                                  + + + public + static logout() : void + + + + + +
                                                  Return values
                                                  + void + — + + +
                                                  +
                                                  +

                                                  + saveUser() + +

                                                  + + +

                                                  Save current customer to +the local database and on crm

                                                  + + + public + static saveUser() : bool + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If a critical error occured.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                  +
                                                  + +
                                                  +
                                                  + phpcs:ignore +
                                                  +
                                                  + +

                                                  Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  true if the operation succeeded false otherwise

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + setSingleOptin() + +

                                                  + + +

                                                  Set the single optin status for an email +on the crm

                                                  + + + public + static setSingleOptin(string $email, bool $opt_in) : bool + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $email + : string +
                                                  +
                                                  + +
                                                  +
                                                  + $opt_in + : bool +
                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + ValidationException + +

                                                  If a field email could not be validated.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  true if the operation succeeded false otherwise

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + toggleUserOptin() + +

                                                  + + +

                                                  Toggle the current user optin value +on the current user and the crm

                                                  + + + public + static toggleUserOptin() : bool + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If a critical error occured.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                  +
                                                  + +
                                                  +
                                                  + phpcs:ignore +
                                                  +
                                                  + +

                                                  Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — +

                                                  true if the operation succeeded

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + unsetActiveUser() + +

                                                  + + +

                                                  Remove active user +to prevent WPCrm::check to return true

                                                  + + + public + static unsetActiveUser() : void + + + + + +
                                                  Return values
                                                  + void + — + + +
                                                  +
                                                  +

                                                  + bootSessionIfNeeded() + +

                                                  + + +

                                                  Boot the php session if needed

                                                  + + + private + static bootSessionIfNeeded() : void + + + + + +
                                                  Return values
                                                  + void + — + + +
                                                  +
                                                  +

                                                  + deleteUserFromTable() + +

                                                  + + +

                                                  Save or update the user to the table

                                                  + + + private + static deleteUserFromTable() : int + + + + + +
                                                  Return values
                                                  + int + — +

                                                  The number of row removed from the table.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + getCustomer() + +

                                                  + + +

                                                  Get all customer infos

                                                  + + + private + static getCustomer() : Customer|null + + + + + +
                                                  Return values
                                                  + Customer|null + — + + +
                                                  +
                                                  +

                                                  + getWpDb() + +

                                                  + + +

                                                  Get WP 'pdo instance'

                                                  + + + private + static getWpDb() : object + + + + + +
                                                  Return values
                                                  + object + — +

                                                  The $wpdb variable

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + initLdcApi() + +

                                                  + + +

                                                  Get the initialized API object

                                                  + + + private + static initLdcApi() : CrmApiV2 + + + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + ErrorException + +

                                                  If php does not have extension curl.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + CrmApiV2 + — + + +
                                                  +
                                                  +

                                                  + loginUserWithApi() + +

                                                  + + +

                                                  Check customer credentials using the CRM.

                                                  + + + private + static loginUserWithApi(string $email, string $password) : bool + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $email + : string +
                                                  +
                                                  +

                                                  The customer email.

                                                  +
                                                  + +
                                                  +
                                                  + $password + : string +
                                                  +
                                                  +

                                                  The customer password.

                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If an error occurs on server side or on getting response.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + bool + — + + +
                                                  +
                                                  +

                                                  + makeApiV2Call() + +

                                                  + + +

                                                  Make a call using apiV2

                                                  + + + private + static makeApiV2Call(object|string $obj, string $method[, array<string|int, mixed> $arguments = [] ]) : mixed|false + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $obj + : object|string +
                                                  +
                                                  +

                                                  An object or a class name.

                                                  +
                                                  + +
                                                  +
                                                  + $method + : string +
                                                  +
                                                  +

                                                  The method to call.

                                                  +
                                                  + +
                                                  +
                                                  + $arguments + : array<string|int, mixed> + = []
                                                  +
                                                  +

                                                  Arguments to pass.

                                                  +
                                                  + +
                                                  +
                                                  + + +
                                                  + Tags + +
                                                  +
                                                  +
                                                  + throws +
                                                  +
                                                  + ApiErrorException + +

                                                  If any of this exception is thrown.

                                                  +
                                                  + +
                                                  +
                                                  + throws +
                                                  +
                                                  + CrmException + +

                                                  If a critical error occured.

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  Return values
                                                  + mixed|false + — + + +
                                                  +
                                                  +

                                                  + query() + +

                                                  + + +

                                                  Query in DB

                                                  + + + private + static query(string $query[, array<string|int, mixed> $params = [] ]) : int|bool + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $query + : string +
                                                  +
                                                  +

                                                  La request avec les variables en points d'interrogation.

                                                  +
                                                  + +
                                                  +
                                                  + $params + : array<string|int, mixed> + = []
                                                  +
                                                  +

                                                  Les paramètres des la requète.

                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + int|bool + — +

                                                  Boolean true for CREATE, ALTER, TRUNCATE and DROP queries. +Number of rows affected/selected for all other queries. Boolean false on error.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + saveOrUpdateUserToTable() + +

                                                  + + +

                                                  Save or update the user to the table

                                                  + + + private + static saveOrUpdateUserToTable() : int + + + + + +
                                                  Return values
                                                  + int + — +

                                                  The number of row affected on the table.

                                                  +
                                                  + + +
                                                  +
                                                  +

                                                  + setUser() + +

                                                  + + +

                                                  Create a user +stores it to the session +and finally saves it to the database if it does not exists

                                                  + + + private + static setUser(Customer $customer) : void + + +
                                                  Parameters
                                                  +
                                                  +
                                                  + $customer + : Customer +
                                                  +
                                                  + +
                                                  +
                                                  + + + +
                                                  Return values
                                                  + void + — + + +
                                                  +
                                                  + + + + +
                                                  +
                                                  +
                                                  +
                                                  +

                                                  Search results

                                                  + +
                                                  +
                                                  +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    + + +
                                                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html new file mode 100644 index 0000000..605ba07 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html @@ -0,0 +1,437 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                    +

                                                    CRM V2

                                                    + + + + + +
                                                    + +
                                                    +
                                                    + + + + +
                                                    + + +
                                                    +

                                                    + WPCrmAnswer + + +
                                                    + in package + +
                                                    + + +

                                                    + + + +

                                                    Class de gestion de la segmentation question avec Wordpress (ce truc immonde)

                                                    + + + +
                                                    + Tags + +
                                                    +
                                                    +
                                                    + category +
                                                    +
                                                    + +

                                                    API

                                                    +
                                                    + +
                                                    +
                                                    + subpackage +
                                                    +
                                                    + +

                                                    Wordpress

                                                    +
                                                    + +
                                                    +
                                                    + author +
                                                    +
                                                    + +

                                                    Jérémy Munsch jeremy.munsch@ldc.fr

                                                    +
                                                    + +
                                                    +
                                                    + license +
                                                    +
                                                    + +

                                                    MIT https://opensource.org/licenses/MIT

                                                    +
                                                    + +
                                                    +
                                                    + link +
                                                    +
                                                    + / + +
                                                    +
                                                    + + + + + + +

                                                    + Table of Contents + +

                                                    + +
                                                    +
                                                    + setQuestionAnswers() + +  : bool +
                                                    +
                                                    Set answers to a question for a specific user
                                                    + +
                                                    + + + + + + + +
                                                    +

                                                    + Methods + +

                                                    +
                                                    +

                                                    + setQuestionAnswers() + +

                                                    + + +

                                                    Set answers to a question for a specific user

                                                    + + + public + setQuestionAnswers(WPCrmUser $user, int $questionId, array<string|int, mixed> $answersId) : bool + + +
                                                    Parameters
                                                    +
                                                    +
                                                    + $user + : WPCrmUser +
                                                    +
                                                    + +
                                                    +
                                                    + $questionId + : int +
                                                    +
                                                    +

                                                    The question id .

                                                    +
                                                    + +
                                                    +
                                                    + $answersId + : array<string|int, mixed> +
                                                    +
                                                    +

                                                    An array with answers id .

                                                    +
                                                    + +
                                                    +
                                                    + + +
                                                    + Tags + +
                                                    +
                                                    +
                                                    + throws +
                                                    +
                                                    + CrmException + +

                                                    If an error occurs on server side or on getting response.

                                                    +
                                                    + +
                                                    +
                                                    + throws +
                                                    +
                                                    + ValidationException + +

                                                    If $user hashcode is not a valid UUID.

                                                    +
                                                    + +
                                                    +
                                                    + throws +
                                                    +
                                                    + ValidationException + +

                                                    If any of the provided ids are invalid.

                                                    +
                                                    + +
                                                    +
                                                    + throws +
                                                    +
                                                    + ApiErrorException + +

                                                    If any error \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If given ids are wrong(CRM side).

                                                    +
                                                    + +
                                                    +
                                                    + phpcs:ignore +
                                                    +
                                                    + +

                                                    Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    Return values
                                                    + bool + — +

                                                    true if succeeded

                                                    +
                                                    + + +
                                                    +
                                                    + + + + +
                                                    +
                                                    +
                                                    +
                                                    +

                                                    Search results

                                                    + +
                                                    +
                                                    +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      + + +
                                                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html new file mode 100644 index 0000000..6f19b9a --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html @@ -0,0 +1,592 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                      +

                                                      CRM V2

                                                      + + + + + +
                                                      + +
                                                      +
                                                      + + + + +
                                                      + + +
                                                      +

                                                      + WPCrmQuestion + + +
                                                      + in package + +
                                                      + + +

                                                      + + + +

                                                      Class de gestion de la segmentation question avec Wordpress (ce truc immonde)

                                                      + + + +
                                                      + Tags + +
                                                      +
                                                      +
                                                      + category +
                                                      +
                                                      + +

                                                      API

                                                      +
                                                      + +
                                                      +
                                                      + subpackage +
                                                      +
                                                      + +

                                                      Wordpress

                                                      +
                                                      + +
                                                      +
                                                      + author +
                                                      +
                                                      + +

                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                      +
                                                      + +
                                                      +
                                                      + license +
                                                      +
                                                      + +

                                                      MIT https://opensource.org/licenses/MIT

                                                      +
                                                      + +
                                                      +
                                                      + link +
                                                      +
                                                      + / + +
                                                      +
                                                      + + + + + + +

                                                      + Table of Contents + +

                                                      + +
                                                      +
                                                      + allWithCustomerAnswers() + +  : array<string|int, mixed> +
                                                      +
                                                      Get all the questions with user answers
                                                      + +
                                                      + getAll() + +  : array<string|int, mixed> +
                                                      +
                                                      Get all questions only
                                                      + +
                                                      + unansweredBy() + +  : array<string|int, Question> +
                                                      +
                                                      Get unanswered question for a specific customer
                                                      + +
                                                      + + + + + + + +
                                                      +

                                                      + Methods + +

                                                      +
                                                      +

                                                      + allWithCustomerAnswers() + +

                                                      + + +

                                                      Get all the questions with user answers

                                                      + + + public + static allWithCustomerAnswers(WPCrmUser $user) : array<string|int, mixed> + + +
                                                      Parameters
                                                      +
                                                      +
                                                      + $user + : WPCrmUser +
                                                      +
                                                      + +
                                                      +
                                                      + + +
                                                      + Tags + +
                                                      +
                                                      +
                                                      + throws +
                                                      +
                                                      + CrmException + +

                                                      If an error occurs on server side or on getting response.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ValidationException + +

                                                      If a hashcode is not a valid UUID.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ValidationException + +

                                                      If any of the provided ids are invalid.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ApiErrorException + +

                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                      +
                                                      + +
                                                      +
                                                      + phpcs:ignore +
                                                      +
                                                      + +

                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      Return values
                                                      + array<string|int, mixed> + — +

                                                      Of \LDC\LDCCRM\Models\Question and their \LDC\LDCCRM\Models\Answer.

                                                      +
                                                      + + +
                                                      +
                                                      +

                                                      + getAll() + +

                                                      + + +

                                                      Get all questions only

                                                      + + + public + static getAll() : array<string|int, mixed> + + + + +
                                                      + Tags + +
                                                      +
                                                      +
                                                      + throws +
                                                      +
                                                      + CrmException + +

                                                      If an error occurs on server side or on getting response.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ApiErrorException + +

                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                      +
                                                      + +
                                                      +
                                                      + phpcs:ignore +
                                                      +
                                                      + +

                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      Return values
                                                      + array<string|int, mixed> + — +

                                                      Of \LDC\LDCCRM\Models\Question

                                                      +
                                                      + + +
                                                      +
                                                      +

                                                      + unansweredBy() + +

                                                      + + +

                                                      Get unanswered question for a specific customer

                                                      + + + public + static unansweredBy(WPCrmUser $user) : array<string|int, Question> + + +
                                                      Parameters
                                                      +
                                                      +
                                                      + $user + : WPCrmUser +
                                                      +
                                                      + +
                                                      +
                                                      + + +
                                                      + Tags + +
                                                      +
                                                      +
                                                      + throws +
                                                      +
                                                      + CrmException + +

                                                      If an error occurs on server side or on getting response.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ValidationException + +

                                                      If $user hashcode is not a valid UUID.

                                                      +
                                                      + +
                                                      +
                                                      + throws +
                                                      +
                                                      + ApiErrorException + +

                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                      +
                                                      + +
                                                      +
                                                      + phpcs:ignore +
                                                      +
                                                      + +

                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      Return values
                                                      + array<string|int, Question> + — + + +
                                                      +
                                                      + + + + +
                                                      +
                                                      +
                                                      +
                                                      +

                                                      Search results

                                                      + +
                                                      +
                                                      +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        + + +
                                                        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmUser.html b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmUser.html new file mode 100644 index 0000000..2976d9d --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/classes/LDC-LDCCRM-WordPress-WPCrmUser.html @@ -0,0 +1,1801 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                        +

                                                        CRM V2

                                                        + + + + + +
                                                        + +
                                                        +
                                                        + + + + +
                                                        + + +
                                                        +

                                                        + WPCrmUser + + +
                                                        + in package + +
                                                        + + + implements + JsonSerializable + +

                                                        + + + +

                                                        Class de gestion des users en session avec Wordpress (ce truc immonde)

                                                        + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + category +
                                                        +
                                                        + +

                                                        API

                                                        +
                                                        + +
                                                        +
                                                        + subpackage +
                                                        +
                                                        + +

                                                        Wordpress

                                                        +
                                                        + +
                                                        +
                                                        + author +
                                                        +
                                                        + +

                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                        +
                                                        + +
                                                        +
                                                        + license +
                                                        +
                                                        + +

                                                        MIT https://opensource.org/licenses/MIT

                                                        +
                                                        + +
                                                        +
                                                        + link +
                                                        +
                                                        + / + +
                                                        +
                                                        + + + + +

                                                        + Interfaces, Classes and Traits + +

                                                        + +
                                                        +
                                                        JsonSerializable
                                                        +
                                                        + + +
                                                        + + +

                                                        + Table of Contents + +

                                                        + +
                                                        +
                                                        + $address + +  : string +
                                                        +
                                                        + +
                                                        + $address2 + +  : string +
                                                        +
                                                        + +
                                                        + $birth_date + +  : string +
                                                        +
                                                        + +
                                                        + $city + +  : string +
                                                        +
                                                        + +
                                                        + $country + +  : Country +
                                                        +
                                                        + +
                                                        + $email + +  : string +
                                                        +
                                                        + +
                                                        + $firstname + +  : string +
                                                        +
                                                        + +
                                                        + $hashcode + +  : string +
                                                        +
                                                        + +
                                                        + $last_connection + +  : string +
                                                        +
                                                        + +
                                                        + $lastname + +  : string +
                                                        +
                                                        + +
                                                        + $opt_in + +  : bool +
                                                        +
                                                        + +
                                                        + $password + +  : string +
                                                        +
                                                        + +
                                                        + $phone + +  : string +
                                                        +
                                                        + +
                                                        + $postcode + +  : string +
                                                        +
                                                        + +
                                                        + $status + +  : bool +
                                                        +
                                                        + +
                                                        + $uuidToken + +  : string +
                                                        +
                                                        + +
                                                        + $info + +  : Customer +
                                                        +
                                                        The CRM customer info (the api response)
                                                        + +
                                                        + $pemail + +  : string +
                                                        +
                                                        The CRM customer email
                                                        + +
                                                        + $phashcode + +  : string +
                                                        +
                                                        The CRM hashcode (UUID)
                                                        + +
                                                        + $uuidToken + +  : string +
                                                        +
                                                        The CRM customer temp uuidToken to validate transactions
                                                        + +
                                                        + __construct() + +  : mixed +
                                                        +
                                                        WPCrmUser construct
                                                        + +
                                                        + __get() + +  : bool|string|Country|null +
                                                        +
                                                        Generic accessor
                                                        + +
                                                        + __set() + +  : void +
                                                        +
                                                        Generic mutator
                                                        + +
                                                        + activate() + +  : bool +
                                                        +
                                                        Activate the account in the crm
                                                        + +
                                                        + delete() + +  : bool +
                                                        +
                                                        Delete current customer to +the local database and on crm
                                                        + +
                                                        + jsonSerialize() + +  : array<string|int, mixed> +
                                                        +
                                                        Serialize this object to an array
                                                        + +
                                                        + parseFromJson() + +  : WPCrmUser +
                                                        +
                                                        Generate a user from session data
                                                        + +
                                                        + save() + +  : bool +
                                                        +
                                                        Save current customer to +the local database and on crm
                                                        + +
                                                        + setInfo() + +  : void +
                                                        +
                                                        Set the customer info +with api response
                                                        + +
                                                        + toggleOptin() + +  : bool +
                                                        +
                                                        Toggle the current user optin value +on the current user and the crm
                                                        + +
                                                        + + + + + + +
                                                        +

                                                        + Properties + +

                                                        +
                                                        +

                                                        + $address + + + +

                                                        + + + + + public + string + $address + + +

                                                        The account address (street number, name, build, flat number)

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $address2 + + + +

                                                        + + + + + public + string + $address2 + + +

                                                        — The account phone (address complement)

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $birth_date + + + +

                                                        + + + + + public + string + $birth_date + + +

                                                        — The account birth date 'yyyy-mm-dd'

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $city + + + +

                                                        + + + + + public + string + $city + + +

                                                        — The account city name

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $country + + + +

                                                        + + + + + public + Country + $country + + +

                                                        — The account country residence

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $email + + + +

                                                        + + + + + public + string + $email + + +

                                                        — Must be a rfc valid email on a valid domain name

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $firstname + + + +

                                                        + + + + + public + string + $firstname + + +

                                                        — The account first name

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $hashcode + + + +

                                                        + + + + + public + string + $hashcode + + +

                                                        — The crm hashcode this is a readonly field

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $last_connection + + + +

                                                        + + + + + public + string + $last_connection + + +

                                                        the last time user was connected 'yyyy-mm-dd HH:ii:ss'

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $lastname + + + +

                                                        + + + + + public + string + $lastname + + +

                                                        — The account last name

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $opt_in + + + +

                                                        + + + + + public + bool + $opt_in + + +

                                                        — true if the account is opt in

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $password + + + +

                                                        + + + + + public + string + $password + + +

                                                        Required only on create, +must have upper and lowers chars, +at least 1 number, +at leat 1 upper char, +at least 1 lower char and +at leat 1 special char

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $phone + + + +

                                                        + + + + + public + string + $phone + + +

                                                        — The account phone

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $postcode + + + +

                                                        + + + + + public + string + $postcode + + +

                                                        — The account city postcode

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $status + + + +

                                                        + + + + + public + bool + $status + + +

                                                        — true if the account is activated

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $uuidToken + + + +

                                                        + + + + + public + string + $uuidToken + + +

                                                        — A local transaction token for this user

                                                        +
                                                        + +
                                                        + + + +
                                                        +
                                                        +

                                                        + $info + + + +

                                                        + + +

                                                        The CRM customer info (the api response)

                                                        + + + protected + Customer + $info + = null + + + + + +
                                                        +
                                                        +

                                                        + $pemail + + + +

                                                        + + +

                                                        The CRM customer email

                                                        + + + protected + string + $pemail + = null + + + + + +
                                                        +
                                                        +

                                                        + $phashcode + + + +

                                                        + + +

                                                        The CRM hashcode (UUID)

                                                        + + + protected + string + $phashcode + = null + + + + + +
                                                        +
                                                        +

                                                        + $uuidToken + + + +

                                                        + + +

                                                        The CRM customer temp uuidToken to validate transactions

                                                        + + + protected + string + $uuidToken + = null + + +

                                                        UUID

                                                        +
                                                        + + + +
                                                        +
                                                        + +
                                                        +

                                                        + Methods + +

                                                        +
                                                        +

                                                        + __construct() + +

                                                        + + +

                                                        WPCrmUser construct

                                                        + + + public + __construct([string $hashcode = null ][, string $email = null ]) : mixed + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $hashcode + : string + = null
                                                        +
                                                        +

                                                        The customer hashcode (UUID).

                                                        +
                                                        + +
                                                        +
                                                        + $email + : string + = null
                                                        +
                                                        +

                                                        The customer email.

                                                        +
                                                        + +
                                                        +
                                                        + + + +
                                                        Return values
                                                        + mixed + — + + +
                                                        +
                                                        +

                                                        + __get() + +

                                                        + + +

                                                        Generic accessor

                                                        + + + public + __get(string $prop) : bool|string|Country|null + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $prop + : string +
                                                        +
                                                        +

                                                        The prop to get.

                                                        +
                                                        + +
                                                        +
                                                        + + + +
                                                        Return values
                                                        + bool|string|Country|null + — + + +
                                                        +
                                                        +

                                                        + __set() + +

                                                        + + +

                                                        Generic mutator

                                                        + + + public + __set(string $prop, mixed $value) : void + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $prop + : string +
                                                        +
                                                        +

                                                        The property to assign.

                                                        +
                                                        + +
                                                        +
                                                        + $value + : mixed +
                                                        +
                                                        +

                                                        The value to set.

                                                        +
                                                        + +
                                                        +
                                                        + + + +
                                                        Return values
                                                        + void + — + + +
                                                        +
                                                        +

                                                        + activate() + +

                                                        + + +

                                                        Activate the account in the crm

                                                        + + + public + activate() : bool + + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + ValidationException + +

                                                        If a customer's hashcode could not be validated.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + CrmException + +

                                                        If an error occurs on server side or on getting response.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + ApiErrorException + +

                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + bool + — +

                                                        true if succeeded

                                                        +
                                                        + + +
                                                        +
                                                        +

                                                        + delete() + +

                                                        + + +

                                                        Delete current customer to +the local database and on crm

                                                        + + + public + delete() : bool + + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + CrmException + +

                                                        If a critical error occured.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + ApiErrorException + +

                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + bool + — +

                                                        true if the operation succeeded false otherwise

                                                        +
                                                        + + +
                                                        +
                                                        +

                                                        + jsonSerialize() + +

                                                        + + +

                                                        Serialize this object to an array

                                                        + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                        Return values
                                                        + array<string|int, mixed> + — + + +
                                                        +
                                                        +

                                                        + parseFromJson() + +

                                                        + + +

                                                        Generate a user from session data

                                                        + + + public + static parseFromJson(string $string) : WPCrmUser + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $string + : string +
                                                        +
                                                        +

                                                        The json data stored in session.

                                                        +
                                                        + +
                                                        +
                                                        + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + WpCrmInvalidJsonUserInfo + +

                                                        If the json string does no +contain the needed information.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + WPCrmUser + — + + +
                                                        +
                                                        +

                                                        + save() + +

                                                        + + +

                                                        Save current customer to +the local database and on crm

                                                        + + + public + save() : bool + + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + CrmException + +

                                                        If a critical error occured.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + ApiErrorException + +

                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + bool + — +

                                                        true if the operation succeeded false otherwise

                                                        +
                                                        + + +
                                                        +
                                                        +

                                                        + setInfo() + +

                                                        + + +

                                                        Set the customer info +with api response

                                                        + + + public + setInfo(Customer $customer) : void + + +
                                                        Parameters
                                                        +
                                                        +
                                                        + $customer + : Customer +
                                                        +
                                                        +

                                                        The Api object reponse (user).

                                                        +
                                                        + +
                                                        +
                                                        + + + +
                                                        Return values
                                                        + void + — + + +
                                                        +
                                                        +

                                                        + toggleOptin() + +

                                                        + + +

                                                        Toggle the current user optin value +on the current user and the crm

                                                        + + + public + toggleOptin() : bool + + + + +
                                                        + Tags + +
                                                        +
                                                        +
                                                        + throws +
                                                        +
                                                        + CrmException + +

                                                        If a critical error occured.

                                                        +
                                                        + +
                                                        +
                                                        + throws +
                                                        +
                                                        + ApiErrorException + +

                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        Return values
                                                        + bool + — +

                                                        true if the operation succeeded

                                                        +
                                                        + + +
                                                        +
                                                        + + + + +
                                                        +
                                                        +
                                                        +
                                                        +

                                                        Search results

                                                        + +
                                                        +
                                                        +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          + + +
                                                          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/css/base.css b/crm-client-3.0.6/docs/client-api/css/base.css new file mode 100644 index 0000000..db4e807 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/css/base.css @@ -0,0 +1,1087 @@ + +:root { + /* Typography */ + --font-primary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-secondary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-monospace: 'Source Code Pro', monospace; + --line-height--primary: 1.6; + --letter-spacing--primary: .05rem; + --text-base-size: 1em; + --text-scale-ratio: 1.2; + + --text-xxs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-xs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-sm: calc(var(--text-base-size) / var(--text-scale-ratio)); + --text-md: var(--text-base-size); + --text-lg: calc(var(--text-base-size) * var(--text-scale-ratio)); + --text-xl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + + /* Colors */ + --primary-color: hsl(96, 57%, 60%); + --primary-color-darken: hsl(96, 57%, 40%); + --primary-color-darker: hsl(96, 57%, 20%); + --primary-color-darkest: hsl(96, 57%, 10%); + --primary-color-lighten: hsl(96, 57%, 80%); + --primary-color-lighter: hsl(96, 57%, 99%); + --dark-gray: #d1d1d1; + --light-gray: #f0f0f0; + + --text-color: var(--primary-color-darkest); + + --header-height: var(--spacing-xxxxl); + --header-bg-color: var(--primary-color); + --code-background-color: #f7faf5; + --code-border-color: #d6e7cb; + --button-border-color: var(--primary-color-darken); + --button-color: transparent; + --button-color-primary: var(--primary-color); + --button-text-color: #555; + --button-text-color-primary: white; + --popover-background-color: rgba(255, 255, 255, 0.75); + --link-color-primary: var(--primary-color-darken); + --link-hover-color-primary: var(--primary-color-darker); + --form-field-border-color: var(--dark-gray); + --form-field-color: #fff; + --admonition-success-color: var(--primary-color); + --admonition-border-color: silver; + --table-separator-color: var(--primary-color-lighten); + --title-text-color: var(--primary-color); + + --sidebar-border-color: var(--primary-color-lighten); + + /* Grid */ + --container-width: 1400px; + + /* Spacing */ + --spacing-base-size: 1rem; + --spacing-scale-ratio: 1.5; + + --spacing-xxxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-sm: calc(var(--spacing-base-size) / var(--spacing-scale-ratio)); + --spacing-md: var(--spacing-base-size); + --spacing-lg: calc(var(--spacing-base-size) * var(--spacing-scale-ratio)); + --spacing-xl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + + --border-radius-base-size: 3px; +} + +/* Base Styles +-------------------------------------------------- */ +body { + color: var(--text-color); + font-family: var(--font-primary); + font-size: var(--text-md); + letter-spacing: var(--letter-spacing--primary); + line-height: var(--line-height--primary); +} + +.phpdocumentor h1, +.phpdocumentor h2, +.phpdocumentor h3, +.phpdocumentor h4, +.phpdocumentor h5, +.phpdocumentor h6 { + margin-bottom: var(--spacing-lg); + margin-top: var(--spacing-lg); + font-weight: 600; +} + +.phpdocumentor h1 { + font-size: var(--text-xxxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.2; + margin-top: 0; +} + +.phpdocumentor h2 { + font-size: var(--text-xxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.25; +} + +.phpdocumentor h3 { + font-size: var(--text-xxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.3; +} + +.phpdocumentor h4 { + font-size: var(--text-xl); + letter-spacing: calc(var(--letter-spacing--primary) / 2); + line-height: 1.35; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor h5 { + font-size: var(--text-lg); + letter-spacing: calc(var(--letter-spacing--primary) / 4); + line-height: 1.5; + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h6 { + font-size: var(--text-md); + letter-spacing: 0; + line-height: var(--line-height--primary); + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h1 .headerlink, +.phpdocumentor h2 .headerlink, +.phpdocumentor h3 .headerlink, +.phpdocumentor h4 .headerlink, +.phpdocumentor h5 .headerlink, +.phpdocumentor h6 .headerlink +{ + transition: all .3s ease-in-out; + opacity: 0; + text-decoration: none; + color: silver; + font-size: 80%; +} + +.phpdocumentor h1:hover .headerlink, +.phpdocumentor h2:hover .headerlink, +.phpdocumentor h3:hover .headerlink, +.phpdocumentor h4:hover .headerlink, +.phpdocumentor h5:hover .headerlink, +.phpdocumentor h6:hover .headerlink +{ + opacity: 1; +} +.phpdocumentor p { + margin-top: 0; + margin-bottom: var(--spacing-md); +} +.phpdocumentor figure { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor figcaption { + text-align: center; + font-style: italic; + font-size: 80%; +} +.phpdocumentor-line { + border-top: 1px solid #E1E1E1; + border-width: 0; + margin-bottom: var(--spacing-xxl); + margin-top: var(--spacing-xxl); +} +.phpdocumentor-section { + box-sizing: border-box; + margin: 0 auto; + max-width: var(--container-width); + padding: 0 var(--spacing-lg); + position: relative; + width: 100%; +} + +@media (min-width: 1200px) { + .phpdocumentor-section { + padding: 0; + width: 95%; + } +} +.phpdocumentor-column { + box-sizing: border-box; + float: left; + width: 100%; +} + +@media (min-width: 550px) { + .phpdocumentor-column { + margin-left: 4%; + } + + .phpdocumentor-column:first-child { + margin-left: 0; + } + + .-one.phpdocumentor-column { + width: 4.66666666667%; + } + + .-two.phpdocumentor-column { + width: 13.3333333333%; + } + + .-three.phpdocumentor-column { + width: 22%; + } + + .-four.phpdocumentor-column { + width: 30.6666666667%; + } + + .-five.phpdocumentor-column { + width: 39.3333333333%; + } + + .-six.phpdocumentor-column { + width: 48%; + } + + .-seven.phpdocumentor-column { + width: 56.6666666667%; + } + + .-eight.phpdocumentor-column { + width: 65.3333333333%; + } + + .-nine.phpdocumentor-column { + width: 74.0%; + } + + .-ten.phpdocumentor-column { + width: 82.6666666667%; + } + + .-eleven.phpdocumentor-column { + width: 91.3333333333%; + } + + .-twelve.phpdocumentor-column { + margin-left: 0; + width: 100%; + } + + .-one-third.phpdocumentor-column { + width: 30.6666666667%; + } + + .-two-thirds.phpdocumentor-column { + width: 65.3333333333%; + } + + .-one-half.phpdocumentor-column { + width: 48%; + } + + /* Offsets */ + .-offset-by-one.phpdocumentor-column { + margin-left: 8.66666666667%; + } + + .-offset-by-two.phpdocumentor-column { + margin-left: 17.3333333333%; + } + + .-offset-by-three.phpdocumentor-column { + margin-left: 26%; + } + + .-offset-by-four.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-five.phpdocumentor-column { + margin-left: 43.3333333333%; + } + + .-offset-by-six.phpdocumentor-column { + margin-left: 52%; + } + + .-offset-by-seven.phpdocumentor-column { + margin-left: 60.6666666667%; + } + + .-offset-by-eight.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-nine.phpdocumentor-column { + margin-left: 78.0%; + } + + .-offset-by-ten.phpdocumentor-column { + margin-left: 86.6666666667%; + } + + .-offset-by-eleven.phpdocumentor-column { + margin-left: 95.3333333333%; + } + + .-offset-by-one-third.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-two-thirds.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-one-half.phpdocumentor-column { + margin-left: 52%; + } +} +.phpdocumentor a { + color: var(--link-color-primary); +} + +.phpdocumentor a:hover { + color: var(--link-hover-color-primary); +} +.phpdocumentor-button { + background-color: var(--button-color); + border: 1px solid var(--button-border-color); + border-radius: var(--border-radius-base-size); + box-sizing: border-box; + color: var(--button-text-color); + cursor: pointer; + display: inline-block; + font-size: var(--text-sm); + font-weight: 600; + height: 38px; + letter-spacing: .1rem; + line-height: 38px; + padding: 0 var(--spacing-xxl); + text-align: center; + text-decoration: none; + text-transform: uppercase; + white-space: nowrap; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-button .-wide { + width: 100%; +} + +.phpdocumentor-button:hover, +.phpdocumentor-button:focus { + border-color: #888; + color: #333; + outline: 0; +} + +.phpdocumentor-button.-primary { + background-color: var(--button-color-primary); + border-color: var(--button-color-primary); + color: var(--button-text-color-primary); +} + +.phpdocumentor-button.-primary:hover, +.phpdocumentor-button.-primary:focus { + background-color: var(--link-color-primary); + border-color: var(--link-color-primary); + color: var(--button-text-color-primary); +} +.phpdocumentor form { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-field { + background-color: var(--form-field-color); + border: 1px solid var(--form-field-border-color); + border-radius: var(--border-radius-base-size); + box-shadow: none; + box-sizing: border-box; + height: 38px; + padding: var(--spacing-xxxs) var(--spacing-xxs); /* The 6px vertically centers text on FF, ignored by Webkit */ + margin-bottom: var(--spacing-md); +} + +/* Removes awkward default styles on some inputs for iOS */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea { + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; +} + +.phpdocumentor-textarea { + min-height: 65px; + padding-bottom: var(--spacing-xxxs); + padding-top: var(--spacing-xxxs); +} + +.phpdocumentor-field:focus { + border: 1px solid var(--button-color-primary); + outline: 0; +} + +.phpdocumentor-label { + display: block; + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor-fieldset { + border-width: 0; + padding: 0; +} + +input[type="checkbox"].phpdocumentor-field, +input[type="radio"].phpdocumentor-field { + display: inline; +} +div.phpdocumentor-list > ul, +ul.phpdocumentor-list { + list-style: circle inside; +} + +ol.phpdocumentor-list { + list-style: decimal inside; +} + +div.phpdocumentor-list > ul, +ol.phpdocumentor-list, +ul.phpdocumentor-list { + margin-top: 0; + padding-left: 0; + margin-bottom: var(--spacing-md); +} + +dl { + margin-bottom: var(--spacing-md); +} + +div.phpdocumentor-list > ul ul, +ul.phpdocumentor-list ul.phpdocumentor-list, +ul.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ul.phpdocumentor-list { + font-size: var(--text-sm); + margin: var(--spacing-xs) 0 var(--spacing-xs) calc(var(--spacing-xs) * 2); +} + +li.phpdocumentor-list { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor dl dt { + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor dl dd { + margin-bottom: var(--spacing-md); +} +.phpdocumentor pre { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-code { + font-family: var(--font-monospace); + background: var(--code-background-color); + border: 1px solid var(--code-border-color); + border-radius: var(--border-radius-base-size); + font-size: var(--text-sm); + padding: var(--spacing-sm) var(--spacing-md); + width: 100%; + box-sizing: border-box; +} + +.phpdocumentor-code.-dark { + background: var(--primary-color-darkest); + color: var(--light-gray); + box-shadow: 0 2px 3px var(--dark-gray); +} + +pre > .phpdocumentor-code { + display: block; + white-space: pre; +} +.phpdocumentor blockquote { + border-left: 4px solid var(--primary-color-darken); + margin: var(--spacing-md) 0; + padding: var(--spacing-xs) var(--spacing-sm); + color: var(--primary-color-darker); + font-style: italic; +} + +.phpdocumentor blockquote p:last-of-type { + margin-bottom: 0; +} +.phpdocumentor table { + margin-bottom: var(--spacing-md); +} + +th.phpdocumentor-heading, +td.phpdocumentor-cell { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) var(--spacing-md); + text-align: left; +} + +th.phpdocumentor-heading:first-child, +td.phpdocumentor-cell:first-child { + padding-left: 0; +} + +th.phpdocumentor-heading:last-child, +td.phpdocumentor-cell:last-child { + padding-right: 0; +} + +.phpdocumentor-header { + display: flex; + flex-direction: row; + align-items: stretch; + flex-wrap: wrap; + justify-content: space-between; + height: auto; + padding: var(--spacing-md) var(--spacing-md); +} + +.phpdocumentor-header__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-header__menu-icon { + font-size: 2rem; + color: var(--primary-color); +} + +.phpdocumentor-header__menu-button:checked ~ .phpdocumentor-topnav { + max-height: 250px; + padding-top: var(--spacing-md); +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + flex-direction: row; + padding: var(--spacing-lg) var(--spacing-lg); + min-height: var(--header-height); + } + + .phpdocumentor-header__menu-icon { + display: none; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + padding-top: 0; + padding-bottom: 0; + } +} +@media (min-width: 1200px) { + .phpdocumentor-header { + padding: 0; + } +} +.phpdocumentor-title { + box-sizing: border-box; + color: var(--title-text-color); + font-size: var(--text-xxl); + letter-spacing: .05rem; + font-weight: normal; + width: auto; + margin: 0; + display: flex; + align-items: center; +} + +.phpdocumentor-title.-without-divider { + border: none; +} + +.phpdocumentor-title__link { + transition: all .3s ease-out; + display: flex; + color: var(--title-text-color); + text-decoration: none; + font-weight: normal; + white-space: nowrap; + transform: scale(.75); + transform-origin: left; +} + +.phpdocumentor-title__link:hover { + transform: perspective(15rem) translateX(.5rem); + font-weight: 600; +} + +@media (min-width: 1000px) { + .phpdocumentor-title { + width: 30.6666666667%; + border-right: var(--sidebar-border-color) solid 1px; + } + + .phpdocumentor-title__link { + transform-origin: left; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-title__link { + transform: scale(.85); + } +} + +@media (min-width: 1200px) { + .phpdocumentor-title__link { + transform: scale(1); + } +} +.phpdocumentor-topnav { + display: flex; + align-items: center; + margin: 0; + max-height: 0; + overflow: hidden; + transition: max-height 0.2s ease-out; + flex-basis: 100%; +} + +.phpdocumentor-topnav__menu { + text-align: right; + list-style: none; + margin: 0; + padding: 0; + flex: 1; + display: flex; + flex-flow: row wrap; + justify-content: center; +} + +.phpdocumentor-topnav__menu-item { + margin: 0; + width: 100%; + display: inline-block; + text-align: center; + padding: var(--spacing-sm) 0 +} + +.phpdocumentor-topnav__menu-item.-social { + width: auto; + padding: var(--spacing-sm) +} + +.phpdocumentor-topnav__menu-item a { + display: inline-block; + color: var(--text-color); + text-decoration: none; + font-size: var(--text-lg); + transition: all .3s ease-out; + border-bottom: 1px dotted transparent; + line-height: 1; +} + +.phpdocumentor-topnav__menu-item a:hover { + transform: perspective(15rem) translateY(.1rem); + border-bottom: 1px dotted var(--text-color); +} + +@media (min-width: 1000px) { + .phpdocumentor-topnav { + max-height: none; + overflow: visible; + flex-basis: auto; + } + + .phpdocumentor-topnav__menu { + display: flex; + flex-flow: row wrap; + justify-content: flex-end; + } + + .phpdocumentor-topnav__menu-item, + .phpdocumentor-topnav__menu-item.-social { + width: auto; + display: inline; + text-align: right; + padding: 0 0 0 var(--spacing-md) + } +} +.phpdocumentor-sidebar { + margin: 0; + overflow: hidden; + max-height: 0; +} + +.phpdocumentor .phpdocumentor-sidebar .phpdocumentor-list { + padding: var(--spacing-xs) var(--spacing-md); + list-style: none; + margin: 0; +} + +.phpdocumentor .phpdocumentor-sidebar li { + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + padding: 0 0 var(--spacing-xxxs) var(--spacing-md); +} + +.phpdocumentor .phpdocumentor-sidebar abbr, +.phpdocumentor .phpdocumentor-sidebar a { + text-decoration: none; + border-bottom: none; + color: var(--text-color); + font-size: var(--text-md); + padding-left: 0; + transition: padding-left .4s ease-out; +} + +.phpdocumentor .phpdocumentor-sidebar a:hover { + padding-left: 5px; + font-weight: 600; +} + +.phpdocumentor .phpdocumentor-sidebar__category > * { + border-left: 1px solid var(--primary-color-lighten); +} + +.phpdocumentor .phpdocumentor-sidebar__category { + margin-bottom: var(--spacing-lg); +} + +.phpdocumentor .phpdocumentor-sidebar__category-header { + font-size: var(--text-md); + margin-bottom: var(--spacing-xs); + color: var(--link-color-primary); + font-weight: 600; + border-left: 0; +} + +.phpdocumentor .phpdocumentor-sidebar__root-package, +.phpdocumentor .phpdocumentor-sidebar__root-namespace { + font-size: var(--text-md); + margin: 0; + padding-top: var(--spacing-xs); + padding-left: var(--spacing-md); + color: var(--text-color); + font-weight: normal; +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + border-right: var(--sidebar-border-color) solid 1px; + } +} + +.phpdocumentor-sidebar__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-sidebar__menu-icon { + font-size: var(--text-md); + font-weight: 600; + background: var(--primary-color); + color: white; + margin: 0 0 var(--spacing-lg); + display: block; + padding: var(--spacing-sm); + text-align: center; + border-radius: 3px; + text-transform: uppercase; + letter-spacing: .15rem; +} + +.phpdocumentor-sidebar__menu-button:checked ~ .phpdocumentor-sidebar { + max-height: 100%; + padding-top: var(--spacing-md); +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + overflow: visible; + max-height: 100%; + } + + .phpdocumentor-sidebar__menu-icon { + display: none; + } +} +.phpdocumentor-admonition { + border: 1px solid var(--admonition-border-color); + border-radius: var(--border-radius-base-size); + border-color: var(--primary-color-lighten); + background-color: var(--primary-color-lighter); + padding: var(--spacing-lg); + margin: var(--spacing-lg) 0; + display: flex; + flex-direction: row; + align-items: flex-start; +} + +.phpdocumentor-admonition p:last-of-type { + margin-bottom: 0; +} + +.phpdocumentor-admonition--success, +.phpdocumentor-admonition.-success { + border-color: var(--admonition-success-color); +} + +.phpdocumentor-admonition__icon { + margin-right: var(--spacing-md); + color: var(--primary-color); + max-width: 3rem; +} +.phpdocumentor ul.phpdocumentor-breadcrumbs { + font-size: var(--text-md); + list-style: none; + margin: 0; + padding: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs a { + color: var(--text-color); + text-decoration: none; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li { + display: inline-block; + margin: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li + li:before { + color: var(--dark-gray); + content: "\\\A0"; + padding: 0; +} +.phpdocumentor .phpdocumentor-back-to-top { + position: fixed; + bottom: 2rem; + font-size: 2.5rem; + opacity: .25; + transition: all .3s ease-in-out; + right: 2rem; +} + +.phpdocumentor .phpdocumentor-back-to-top:hover { + color: var(--link-color-primary); + opacity: 1; +} +.phpdocumentor-search { + position: relative; + display: none; /** disable by default for non-js flow */ + opacity: .3; /** white-out default for loading indication */ + transition: opacity .3s, background .3s; + margin: var(--spacing-sm) 0; + flex: 1; + min-width: 100%; +} + +.phpdocumentor-search label { + display: flex; + align-items: center; + flex: 1; +} + +.phpdocumentor-search__icon { + color: var(--primary-color); + margin-right: var(--spacing-sm); + width: 1rem; + height: 1rem; +} + +.phpdocumentor-search--enabled { + display: flex; +} + +.phpdocumentor-search--active { + opacity: 1; +} + +.phpdocumentor-search input:disabled { + background-color: lightgray; +} + +.phpdocumentor-search__field:focus, +.phpdocumentor-search__field { + margin-bottom: 0; + border: 0; + border-bottom: 2px solid var(--primary-color); + padding: 0; + border-radius: 0; + flex: 1; +} + +@media (min-width: 1000px) { + .phpdocumentor-search { + min-width: auto; + max-width: 20rem; + margin: 0 0 0 auto; + } +} +.phpdocumentor-content { + position: relative; +} + +.phpdocumentor-search-results { + backdrop-filter: blur(5px); + background: var(--popover-background-color); + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 0; + opacity: 1; + pointer-events: all; + + transition: opacity .3s, background .3s; +} + +.phpdocumentor-search-results--hidden { + background: transparent; + backdrop-filter: blur(0); + opacity: 0; + pointer-events: none; +} + +.phpdocumentor-search-results__dialog { + width: 100%; + background: white; + max-height: 100%; + display: flex; + flex-direction: column; +} + +.phpdocumentor-search-results__body { + overflow: auto; +} + +.phpdocumentor-search-results__header { + padding: var(--spacing-lg); + display: flex; + justify-content: space-between; + background: var(--primary-color-darken); + color: white; + align-items: center; +} + +.phpdocumentor-search-results__close { + font-size: var(--text-xl); + background: none; + border: none; + padding: 0; + margin: 0; +} + +.phpdocumentor .phpdocumentor-search-results__title { + font-size: var(--text-xl); + margin-bottom: 0; +} + +.phpdocumentor-search-results__entries { + list-style: none; + padding: 0 var(--spacing-lg); + margin: 0; +} + +.phpdocumentor-search-results__entry { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) 0; + text-align: left; +} + +.phpdocumentor-search-results__entry a { + display: block; +} + +.phpdocumentor-search-results__entry small { + margin-top: var(--spacing-xs); + margin-bottom: var(--spacing-md); + color: var(--primary-color-darker); + display: block; + word-break: break-word; +} + +.phpdocumentor-search-results__entry h3 { + font-size: var(--text-lg); + margin: 0; +} + +@media (min-width: 550px) { + .phpdocumentor-search-results { + padding: 0 var(--spacing-lg); + } + + .phpdocumentor-search-results__entry h3 { + font-size: var(--text-xxl); + } + + .phpdocumentor-search-results__dialog { + margin: var(--spacing-xl) auto; + max-width: 40rem; + background: white; + border: 1px solid silver; + box-shadow: 0 2px 5px silver; + max-height: 40rem; + border-radius: 3px; + } +} +.phpdocumentor-modal { + position: fixed; + width: 100vw; + height: 100vh; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; + top: 0; + left: 0; + display: flex; + align-items: center; + justify-content: center; +} + +.phpdocumentor-modal__open { + visibility: visible; + opacity: 1; + transition-delay: 0s; +} + +.phpdocumentor-modal-bg { + position: absolute; + background: gray; + opacity: 50%; + width: 100%; + height: 100%; +} + +.phpdocumentor-modal-container { + border-radius: 1em; + background: #fff; + position: relative; + padding: 2em; +} + +.phpdocumentor-modal__close { + position: absolute; + right: 0.75em; + top: 0.75em; + outline: none; + appearance: none; + color: var(--primary-color); + background: none; + border: 0px; + font-weight: bold; + cursor: pointer; +} + +/* Used for screen readers and such */ +.visually-hidden { + display: none; +} + +.float-right { + float: right; +} + +.float-left { + float: left; +} diff --git a/crm-client-3.0.6/docs/client-api/css/normalize.css b/crm-client-3.0.6/docs/client-api/css/normalize.css new file mode 100644 index 0000000..579152b --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/css/normalize.css @@ -0,0 +1,427 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ + +audio, +canvas, +progress, +video { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9/10. + */ + +img { + border: 0; +} + +/** + * Correct overflow not hidden in IE 9/10/11. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari. + */ + +figure { + margin: 1em 40px; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Contain overflow in all browsers. + */ + +pre { + overflow: auto; +} + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: var(--font-monospace); + font-size: 1em; +} + +/* Forms + ========================================================================== */ + +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ + +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ + +button, +input, +optgroup, +select, +textarea { + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ + +button { + overflow: visible; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +input { + line-height: normal; +} + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ + +textarea { + overflow: auto; +} + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ + +optgroup { + font-weight: bold; +} + +/* Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} diff --git a/crm-client-3.0.6/docs/client-api/css/template.css b/crm-client-3.0.6/docs/client-api/css/template.css new file mode 100644 index 0000000..31f00e3 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/css/template.css @@ -0,0 +1,188 @@ +.phpdocumentor-summary { + font-style: italic; +} +.phpdocumentor-description { + margin-bottom: var(--spacing-md); +} +.phpdocumentor-element { + position: relative; +} + +.phpdocumentor .phpdocumentor-element__name { + line-height: 1; +} + +.phpdocumentor-element__package, +.phpdocumentor-element__extends, +.phpdocumentor-element__implements { + display: block; + font-size: var(--text-xxs); + font-weight: normal; + opacity: .7; +} + +.phpdocumentor-element__package .phpdocumentor-breadcrumbs { + display: inline; +} + +.phpdocumentor-element:not(:last-child) { + border-bottom: 1px solid var(--primary-color-lighten); + padding-bottom: var(--spacing-lg); +} + +.phpdocumentor-element.-deprecated .phpdocumentor-element__name { + text-decoration: line-through; +} + +.phpdocumentor-element__modifier { + font-size: var(--text-xxs); + padding: calc(var(--spacing-base-size) / 4) calc(var(--spacing-base-size) / 2); + color: var(--text-color); + background-color: var(--light-gray); + border-radius: 3px; + text-transform: uppercase; +} +.phpdocumentor-signature { + display: inline-block; + font-size: var(--text-sm); + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-signature.-deprecated .phpdocumentor-signature__name { + text-decoration: line-through; +} +.phpdocumentor-table-of-contents { +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry { + padding-top: var(--spacing-xs); + margin-left: 2rem; + display: flex; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > a { + flex: 0 1 auto; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > span { + flex: 1; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:after { + content: ''; + height: 12px; + width: 12px; + left: 16px; + position: absolute; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-private:after { + background: url('data:image/svg+xml;utf8,') no-repeat; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-protected:after { + left: 13px; + background: url('data:image/svg+xml;utf8,') no-repeat; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:before { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + position: absolute; + left: 0; + border-radius: 50%; + font-weight: 600; + color: white; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-method:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-function:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-property:before { + content: 'P' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before { + content: 'C'; + background-color: transparent; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-class:before { + content: 'C' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-interface:before { + content: 'I' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-trait:before { + content: 'T' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-namespace:before { + content: 'N' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-package:before { + content: 'P' +} + +.phpdocumentor-table-of-contents dd { + font-style: italic; + margin-left: 2rem; +} +.phpdocumentor-element-found-in { + position: absolute; + top: 0; + right: 0; + font-size: var(--text-sm); + color: gray; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source { + flex: 0 1 auto; + display: inline-flex; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source:after { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + left: 0; + border-radius: 50%; + font-weight: 600; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} +.phpdocumentor-class-graph { + width: 100%; height: 600px; border:1px solid black; overflow: hidden +} + +.phpdocumentor-class-graph__graph { + width: 100%; +} +.phpdocumentor-tag-list__definition { + display: flex; +} + +.phpdocumentor-tag-link { + margin-right: var(--spacing-sm); +} diff --git a/crm-client-3.0.6/docs/client-api/files/examples-customerexample.html b/crm-client-3.0.6/docs/client-api/files/examples-customerexample.html new file mode 100644 index 0000000..d26f76d --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/examples-customerexample.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                          +

                                                          CRM V2

                                                          + + + + + +
                                                          + +
                                                          +
                                                          + + + + +
                                                          +
                                                            +
                                                          + +
                                                          +

                                                          CustomerExample.php

                                                          + + +
                                                          + + + + + + + + + + + + + + +
                                                          +
                                                          +
                                                          +
                                                          +

                                                          Search results

                                                          + +
                                                          +
                                                          +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            + + +
                                                            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-crmapiv2.html b/crm-client-3.0.6/docs/client-api/files/src-crmapiv2.html new file mode 100644 index 0000000..7d879d1 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-crmapiv2.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                            +

                                                            CRM V2

                                                            + + + + + +
                                                            + +
                                                            +
                                                            + + + + +
                                                            +
                                                              +
                                                            + +
                                                            +

                                                            CrmApiV2.php

                                                            + + +
                                                            + + + + + + +

                                                            + Interfaces, Classes and Traits + +

                                                            + +
                                                            + +
                                                            CrmApiV2
                                                            +
                                                            This is the main class to interact with the CRM
                                                            + +
                                                            + + + + + + + + +
                                                            +
                                                            +
                                                            +
                                                            +

                                                            Search results

                                                            + +
                                                            +
                                                            +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              + + +
                                                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-enums-apierror.html b/crm-client-3.0.6/docs/client-api/files/src-enums-apierror.html new file mode 100644 index 0000000..e9164b4 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-enums-apierror.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                              +

                                                              CRM V2

                                                              + + + + + +
                                                              + +
                                                              +
                                                              + + + + +
                                                              +
                                                                +
                                                              + +
                                                              +

                                                              ApiError.php

                                                              + + +
                                                              + + + + + + +

                                                              + Interfaces, Classes and Traits + +

                                                              + +
                                                              + +
                                                              ApiError
                                                              +
                                                              This describes an API error.
                                                              + +
                                                              + + + + + + + + +
                                                              +
                                                              +
                                                              +
                                                              +

                                                              Search results

                                                              + +
                                                              +
                                                              +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                + + +
                                                                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-enums-apistatus.html b/crm-client-3.0.6/docs/client-api/files/src-enums-apistatus.html new file mode 100644 index 0000000..50c855a --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-enums-apistatus.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                +

                                                                CRM V2

                                                                + + + + + +
                                                                + +
                                                                +
                                                                + + + + +
                                                                +
                                                                  +
                                                                + +
                                                                +

                                                                ApiStatus.php

                                                                + + +
                                                                + + + + + + +

                                                                + Interfaces, Classes and Traits + +

                                                                + +
                                                                + +
                                                                ApiStatus
                                                                +
                                                                + +
                                                                + + + + + + + + +
                                                                +
                                                                +
                                                                +
                                                                +

                                                                Search results

                                                                + +
                                                                +
                                                                +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  + + +
                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiamailtype.html b/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiamailtype.html new file mode 100644 index 0000000..8188097 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiamailtype.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                  +

                                                                  CRM V2

                                                                  + + + + + +
                                                                  + +
                                                                  +
                                                                  + + + + +
                                                                  +
                                                                    +
                                                                  + +
                                                                  +

                                                                  ArcadiaMailType.php

                                                                  + + +
                                                                  + + + + + + +

                                                                  + Interfaces, Classes and Traits + +

                                                                  + +
                                                                  + +
                                                                  ArcadiaMailType
                                                                  +
                                                                  + +
                                                                  + + + + + + + + +
                                                                  +
                                                                  +
                                                                  +
                                                                  +

                                                                  Search results

                                                                  + +
                                                                  +
                                                                  +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    + + +
                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiaordertype.html b/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiaordertype.html new file mode 100644 index 0000000..7628230 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-enums-arcadiaordertype.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                    +

                                                                    CRM V2

                                                                    + + + + + +
                                                                    + +
                                                                    +
                                                                    + + + + +
                                                                    +
                                                                      +
                                                                    + +
                                                                    +

                                                                    ArcadiaOrderType.php

                                                                    + + +
                                                                    + + + + + + +

                                                                    + Interfaces, Classes and Traits + +

                                                                    + +
                                                                    + +
                                                                    ArcadiaOrderType
                                                                    +
                                                                    + +
                                                                    + + + + + + + + +
                                                                    +
                                                                    +
                                                                    +
                                                                    +

                                                                    Search results

                                                                    + +
                                                                    +
                                                                    +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      + + +
                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-enums-country.html b/crm-client-3.0.6/docs/client-api/files/src-enums-country.html new file mode 100644 index 0000000..b8fd6e0 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-enums-country.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                      +

                                                                      CRM V2

                                                                      + + + + + +
                                                                      + +
                                                                      +
                                                                      + + + + +
                                                                      +
                                                                        +
                                                                      + +
                                                                      +

                                                                      Country.php

                                                                      + + +
                                                                      + + + + + + +

                                                                      + Interfaces, Classes and Traits + +

                                                                      + +
                                                                      + +
                                                                      Country
                                                                      +
                                                                      Liste de Pays
                                                                      + +
                                                                      + + + + + + + + +
                                                                      +
                                                                      +
                                                                      +
                                                                      +

                                                                      Search results

                                                                      + +
                                                                      +
                                                                      +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        + + +
                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-enums-httpmethods.html b/crm-client-3.0.6/docs/client-api/files/src-enums-httpmethods.html new file mode 100644 index 0000000..7229c55 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-enums-httpmethods.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                        +

                                                                        CRM V2

                                                                        + + + + + +
                                                                        + +
                                                                        +
                                                                        + + + + +
                                                                        +
                                                                          +
                                                                        + +
                                                                        +

                                                                        HttpMethods.php

                                                                        + + +
                                                                        + + + + + + + + + + + + + + +
                                                                        +
                                                                        +
                                                                        +
                                                                        +

                                                                        Search results

                                                                        + +
                                                                        +
                                                                        +
                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          + + +
                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-enums-loglevel.html b/crm-client-3.0.6/docs/client-api/files/src-enums-loglevel.html new file mode 100644 index 0000000..ea00f52 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-enums-loglevel.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                          +

                                                                          CRM V2

                                                                          + + + + + +
                                                                          + +
                                                                          +
                                                                          + + + + +
                                                                          +
                                                                            +
                                                                          + +
                                                                          +

                                                                          LogLevel.php

                                                                          + + +
                                                                          + + + + + + +

                                                                          + Interfaces, Classes and Traits + +

                                                                          + +
                                                                          + +
                                                                          LogLevel
                                                                          +
                                                                          + +
                                                                          + + + + + + + + +
                                                                          +
                                                                          +
                                                                          +
                                                                          +

                                                                          Search results

                                                                          + +
                                                                          +
                                                                          +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            + + +
                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-enums-questiontype.html b/crm-client-3.0.6/docs/client-api/files/src-enums-questiontype.html new file mode 100644 index 0000000..d3587ff --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-enums-questiontype.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                            +

                                                                            CRM V2

                                                                            + + + + + +
                                                                            + +
                                                                            +
                                                                            + + + + +
                                                                            +
                                                                              +
                                                                            + +
                                                                            +

                                                                            QuestionType.php

                                                                            + + +
                                                                            + + + + + + +

                                                                            + Interfaces, Classes and Traits + +

                                                                            + +
                                                                            + +
                                                                            QuestionType
                                                                            +
                                                                            + +
                                                                            + + + + + + + + +
                                                                            +
                                                                            +
                                                                            +
                                                                            +

                                                                            Search results

                                                                            + +
                                                                            +
                                                                            +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              + + +
                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-exceptions-accesserror.html b/crm-client-3.0.6/docs/client-api/files/src-exceptions-accesserror.html new file mode 100644 index 0000000..d53d80f --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-exceptions-accesserror.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                              +

                                                                              CRM V2

                                                                              + + + + + +
                                                                              + +
                                                                              +
                                                                              + + + + +
                                                                              +
                                                                                +
                                                                              + +
                                                                              +

                                                                              AccessError.php

                                                                              + + +
                                                                              + + + + + + +

                                                                              + Interfaces, Classes and Traits + +

                                                                              + +
                                                                              + +
                                                                              AccessError
                                                                              +
                                                                              This is thrown when trying to set a value on an object property that does not exist.
                                                                              + +
                                                                              + + + + + + + + +
                                                                              +
                                                                              +
                                                                              +
                                                                              +

                                                                              Search results

                                                                              + +
                                                                              +
                                                                              +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                + + +
                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-exceptions-apierrorexception.html b/crm-client-3.0.6/docs/client-api/files/src-exceptions-apierrorexception.html new file mode 100644 index 0000000..67c7520 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-exceptions-apierrorexception.html @@ -0,0 +1,175 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                +

                                                                                CRM V2

                                                                                + + + + + +
                                                                                + +
                                                                                +
                                                                                + + + + +
                                                                                +
                                                                                  +
                                                                                + +
                                                                                +

                                                                                ApiErrorException.php

                                                                                + + +
                                                                                + + + + + + +

                                                                                + Interfaces, Classes and Traits + +

                                                                                + +
                                                                                + +
                                                                                ApiErrorException
                                                                                +
                                                                                This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                + +
                                                                                + + + + + + + + +
                                                                                +
                                                                                +
                                                                                +
                                                                                +

                                                                                Search results

                                                                                + +
                                                                                +
                                                                                +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  + + +
                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-exceptions-crmexception.html b/crm-client-3.0.6/docs/client-api/files/src-exceptions-crmexception.html new file mode 100644 index 0000000..75ac072 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-exceptions-crmexception.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                  +

                                                                                  CRM V2

                                                                                  + + + + + +
                                                                                  + +
                                                                                  +
                                                                                  + + + + +
                                                                                  +
                                                                                    +
                                                                                  + +
                                                                                  +

                                                                                  CrmException.php

                                                                                  + + +
                                                                                  + + + + + + +

                                                                                  + Interfaces, Classes and Traits + +

                                                                                  + +
                                                                                  + +
                                                                                  CrmException
                                                                                  +
                                                                                  This is a critical error.
                                                                                  + +
                                                                                  + + + + + + + + +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  Search results

                                                                                  + +
                                                                                  +
                                                                                  +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    + + +
                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-exceptions-skipvalidationexception.html b/crm-client-3.0.6/docs/client-api/files/src-exceptions-skipvalidationexception.html new file mode 100644 index 0000000..0bc7082 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-exceptions-skipvalidationexception.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                    +

                                                                                    CRM V2

                                                                                    + + + + + +
                                                                                    + +
                                                                                    +
                                                                                    + + + + +
                                                                                    +
                                                                                      +
                                                                                    + +
                                                                                    +

                                                                                    SkipValidationException.php

                                                                                    + + +
                                                                                    + + + + + + +

                                                                                    + Interfaces, Classes and Traits + +

                                                                                    + +
                                                                                    + +
                                                                                    SkipValidationException
                                                                                    +
                                                                                    Used only for internal validator
                                                                                    + +
                                                                                    + + + + + + + + +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +

                                                                                    Search results

                                                                                    + +
                                                                                    +
                                                                                    +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      + + +
                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-exceptions-validationexception.html b/crm-client-3.0.6/docs/client-api/files/src-exceptions-validationexception.html new file mode 100644 index 0000000..dfadef5 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-exceptions-validationexception.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                      +

                                                                                      CRM V2

                                                                                      + + + + + +
                                                                                      + +
                                                                                      +
                                                                                      + + + + +
                                                                                      +
                                                                                        +
                                                                                      + +
                                                                                      +

                                                                                      ValidationException.php

                                                                                      + + +
                                                                                      + + + + + + +

                                                                                      + Interfaces, Classes and Traits + +

                                                                                      + +
                                                                                      + +
                                                                                      ValidationException
                                                                                      +
                                                                                      This would be thrown if a data could not be validated +on any models
                                                                                      + +
                                                                                      + + + + + + + + +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +

                                                                                      Search results

                                                                                      + +
                                                                                      +
                                                                                      +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        + + +
                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-exceptions-wpcrminvalidjsonuserinfo.html b/crm-client-3.0.6/docs/client-api/files/src-exceptions-wpcrminvalidjsonuserinfo.html new file mode 100644 index 0000000..56757be --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-exceptions-wpcrminvalidjsonuserinfo.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                        +

                                                                                        CRM V2

                                                                                        + + + + + +
                                                                                        + +
                                                                                        +
                                                                                        + + + + +
                                                                                        +
                                                                                          +
                                                                                        + +
                                                                                        +

                                                                                        WpCrmInvalidJsonUserInfo.php

                                                                                        + + +
                                                                                        + + + + + + +

                                                                                        + Interfaces, Classes and Traits + +

                                                                                        + +
                                                                                        + +
                                                                                        WpCrmInvalidJsonUserInfo
                                                                                        +
                                                                                        This is thrown when trying to read WP customer from DB json data.
                                                                                        + +
                                                                                        + + + + + + + + +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +

                                                                                        Search results

                                                                                        + +
                                                                                        +
                                                                                        +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          + + +
                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-models-answer.html b/crm-client-3.0.6/docs/client-api/files/src-models-answer.html new file mode 100644 index 0000000..a75ad59 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-models-answer.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                          +

                                                                                          CRM V2

                                                                                          + + + + + +
                                                                                          + +
                                                                                          +
                                                                                          + + + + +
                                                                                          +
                                                                                            +
                                                                                          + +
                                                                                          +

                                                                                          Answer.php

                                                                                          + + +
                                                                                          + + + + + + +

                                                                                          + Interfaces, Classes and Traits + +

                                                                                          + +
                                                                                          + +
                                                                                          Answer
                                                                                          +
                                                                                          This class represents an answer +It has a method to submit answers
                                                                                          + +
                                                                                          + + + + + + + + +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +

                                                                                          Search results

                                                                                          + +
                                                                                          +
                                                                                          +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            + + +
                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamaildefault.html b/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamaildefault.html new file mode 100644 index 0000000..e38cdd1 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamaildefault.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                            +

                                                                                            CRM V2

                                                                                            + + + + + +
                                                                                            + +
                                                                                            +
                                                                                            + + + + +
                                                                                            +
                                                                                              +
                                                                                            + +
                                                                                            +

                                                                                            ArcadiaMailDefault.php

                                                                                            + + +
                                                                                            + + + + + + +

                                                                                            + Interfaces, Classes and Traits + +

                                                                                            + +
                                                                                            + +
                                                                                            ArcadiaMailDefault
                                                                                            +
                                                                                            This class represents the customer info with +the account validation status
                                                                                            + +
                                                                                            + + + + + + + + +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Search results

                                                                                            + +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              + + +
                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamailgame.html b/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamailgame.html new file mode 100644 index 0000000..bb2b6fe --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-models-arcadiamailgame.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                              +

                                                                                              CRM V2

                                                                                              + + + + + +
                                                                                              + +
                                                                                              +
                                                                                              + + + + +
                                                                                              +
                                                                                                +
                                                                                              + +
                                                                                              +

                                                                                              ArcadiaMailGame.php

                                                                                              + + +
                                                                                              + + + + + + +

                                                                                              + Interfaces, Classes and Traits + +

                                                                                              + +
                                                                                              + +
                                                                                              ArcadiaMailGame
                                                                                              +
                                                                                              This class represents the customer info with +the account validation status
                                                                                              + +
                                                                                              + + + + + + + + +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +

                                                                                              Search results

                                                                                              + +
                                                                                              +
                                                                                              +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                + + +
                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-models-crmclientmodel.html b/crm-client-3.0.6/docs/client-api/files/src-models-crmclientmodel.html new file mode 100644 index 0000000..d811a9c --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-models-crmclientmodel.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                +

                                                                                                CRM V2

                                                                                                + + + + + +
                                                                                                + +
                                                                                                +
                                                                                                + + + + +
                                                                                                +
                                                                                                  +
                                                                                                + +
                                                                                                +

                                                                                                CrmClientModel.php

                                                                                                + + +
                                                                                                + + + + + + + + + + + + + + +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +

                                                                                                Search results

                                                                                                + +
                                                                                                +
                                                                                                +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  + + +
                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-models-customer.html b/crm-client-3.0.6/docs/client-api/files/src-models-customer.html new file mode 100644 index 0000000..6fea515 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-models-customer.html @@ -0,0 +1,175 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                  +

                                                                                                  CRM V2

                                                                                                  + + + + + +
                                                                                                  + +
                                                                                                  +
                                                                                                  + + + + +
                                                                                                  +
                                                                                                    +
                                                                                                  + +
                                                                                                  +

                                                                                                  Customer.php

                                                                                                  + + +
                                                                                                  + + + + + + +

                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                  + +
                                                                                                  + +
                                                                                                  Customer
                                                                                                  +
                                                                                                  This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                  + +
                                                                                                  + + + + + + + + +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +

                                                                                                  Search results

                                                                                                  + +
                                                                                                  +
                                                                                                  +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    + + +
                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-models-question.html b/crm-client-3.0.6/docs/client-api/files/src-models-question.html new file mode 100644 index 0000000..2b74fed --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-models-question.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                    +

                                                                                                    CRM V2

                                                                                                    + + + + + +
                                                                                                    + +
                                                                                                    +
                                                                                                    + + + + +
                                                                                                    +
                                                                                                      +
                                                                                                    + +
                                                                                                    +

                                                                                                    Question.php

                                                                                                    + + +
                                                                                                    + + + + + + +

                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                    + +
                                                                                                    + +
                                                                                                    Question
                                                                                                    +
                                                                                                    This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                    + +
                                                                                                    + + + + + + + + +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +

                                                                                                    Search results

                                                                                                    + +
                                                                                                    +
                                                                                                    +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      + + +
                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-models-singleoptin.html b/crm-client-3.0.6/docs/client-api/files/src-models-singleoptin.html new file mode 100644 index 0000000..d6a3c0d --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-models-singleoptin.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                      +

                                                                                                      CRM V2

                                                                                                      + + + + + +
                                                                                                      + +
                                                                                                      +
                                                                                                      + + + + +
                                                                                                      +
                                                                                                        +
                                                                                                      + +
                                                                                                      +

                                                                                                      SingleOptin.php

                                                                                                      + + +
                                                                                                      + + + + + + +

                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                      + +
                                                                                                      + +
                                                                                                      SingleOptin
                                                                                                      +
                                                                                                      This class allows to handle single optins
                                                                                                      + +
                                                                                                      + + + + + + + + +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +

                                                                                                      Search results

                                                                                                      + +
                                                                                                      +
                                                                                                      +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        + + +
                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-models-stats.html b/crm-client-3.0.6/docs/client-api/files/src-models-stats.html new file mode 100644 index 0000000..71e812c --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-models-stats.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                        +

                                                                                                        CRM V2

                                                                                                        + + + + + +
                                                                                                        + +
                                                                                                        +
                                                                                                        + + + + +
                                                                                                        +
                                                                                                          +
                                                                                                        + +
                                                                                                        +

                                                                                                        Stats.php

                                                                                                        + + +
                                                                                                        + + + + + + +

                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                        + +
                                                                                                        + +
                                                                                                        Stats
                                                                                                        +
                                                                                                        This class is used to get stats from CRM
                                                                                                        + +
                                                                                                        + + + + + + + + +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +

                                                                                                        Search results

                                                                                                        + +
                                                                                                        +
                                                                                                        +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          + + +
                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-transport-apiinterface.html b/crm-client-3.0.6/docs/client-api/files/src-transport-apiinterface.html new file mode 100644 index 0000000..19754a8 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-transport-apiinterface.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                          +

                                                                                                          CRM V2

                                                                                                          + + + + + +
                                                                                                          + +
                                                                                                          +
                                                                                                          + + + + +
                                                                                                          +
                                                                                                            +
                                                                                                          + +
                                                                                                          +

                                                                                                          ApiInterface.php

                                                                                                          + + +
                                                                                                          + + + + + + + + + + + + + + +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Search results

                                                                                                          + +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            + + +
                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-transport-request.html b/crm-client-3.0.6/docs/client-api/files/src-transport-request.html new file mode 100644 index 0000000..299ea61 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-transport-request.html @@ -0,0 +1,174 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                            +

                                                                                                            CRM V2

                                                                                                            + + + + + +
                                                                                                            + +
                                                                                                            +
                                                                                                            + + + + +
                                                                                                            +
                                                                                                              +
                                                                                                            + +
                                                                                                            +

                                                                                                            Request.php

                                                                                                            + + +
                                                                                                            + + + + + + +

                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                            + +
                                                                                                            + +
                                                                                                            Request
                                                                                                            +
                                                                                                            The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                            + +
                                                                                                            + + + + + + + + +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +

                                                                                                            Search results

                                                                                                            + +
                                                                                                            +
                                                                                                            +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              + + +
                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-transport-response.html b/crm-client-3.0.6/docs/client-api/files/src-transport-response.html new file mode 100644 index 0000000..cb1c349 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-transport-response.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                              +

                                                                                                              CRM V2

                                                                                                              + + + + + +
                                                                                                              + +
                                                                                                              +
                                                                                                              + + + + +
                                                                                                              +
                                                                                                                +
                                                                                                              + +
                                                                                                              +

                                                                                                              Response.php

                                                                                                              + + +
                                                                                                              + + + + + + +

                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                              + +
                                                                                                              + +
                                                                                                              Response
                                                                                                              +
                                                                                                              + +
                                                                                                              + + + + + + + + +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              +

                                                                                                              Search results

                                                                                                              + +
                                                                                                              +
                                                                                                              +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                + + +
                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-utils.html b/crm-client-3.0.6/docs/client-api/files/src-utils.html new file mode 100644 index 0000000..be50783 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-utils.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                +

                                                                                                                CRM V2

                                                                                                                + + + + + +
                                                                                                                + +
                                                                                                                +
                                                                                                                + + + + +
                                                                                                                +
                                                                                                                  +
                                                                                                                + +
                                                                                                                +

                                                                                                                Utils.php

                                                                                                                + + +
                                                                                                                + + + + + + +

                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                + +
                                                                                                                + +
                                                                                                                Utils
                                                                                                                +
                                                                                                                This is the LDCCRM utility class
                                                                                                                + +
                                                                                                                + + + + + + + + +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                +

                                                                                                                Search results

                                                                                                                + +
                                                                                                                +
                                                                                                                +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  + + +
                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrm.html b/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrm.html new file mode 100644 index 0000000..5db55b4 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrm.html @@ -0,0 +1,213 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                  +

                                                                                                                  CRM V2

                                                                                                                  + + + + + +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + + + + +
                                                                                                                  +
                                                                                                                    +
                                                                                                                  + +
                                                                                                                  +

                                                                                                                  WPCrm.php

                                                                                                                  + +

                                                                                                                  LDCCRM For Wordpress usage

                                                                                                                  + + + +
                                                                                                                  + Tags + +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  + category +
                                                                                                                  +
                                                                                                                  + +

                                                                                                                  API

                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + author +
                                                                                                                  +
                                                                                                                  + +

                                                                                                                  Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + license +
                                                                                                                  +
                                                                                                                  + +

                                                                                                                  MIT https://opensource.org/licenses/MIT

                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + link +
                                                                                                                  +
                                                                                                                  + / + +
                                                                                                                  +
                                                                                                                  + + + + +

                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                  + +
                                                                                                                  + +
                                                                                                                  WPCrm
                                                                                                                  +
                                                                                                                  Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                  + +
                                                                                                                  + + + + + + + + +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +

                                                                                                                  Search results

                                                                                                                  + +
                                                                                                                  +
                                                                                                                  +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + + +
                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmanswer.html b/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmanswer.html new file mode 100644 index 0000000..2cd9821 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmanswer.html @@ -0,0 +1,213 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                    +

                                                                                                                    CRM V2

                                                                                                                    + + + + + +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + + + + +
                                                                                                                    +
                                                                                                                      +
                                                                                                                    + +
                                                                                                                    +

                                                                                                                    WPCrmAnswer.php

                                                                                                                    + +

                                                                                                                    LDCCRM For Wordpress usage

                                                                                                                    + + + +
                                                                                                                    + Tags + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + category +
                                                                                                                    +
                                                                                                                    + +

                                                                                                                    API

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + author +
                                                                                                                    +
                                                                                                                    + +

                                                                                                                    Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + license +
                                                                                                                    +
                                                                                                                    + +

                                                                                                                    MIT https://opensource.org/licenses/MIT

                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + link +
                                                                                                                    +
                                                                                                                    + / + +
                                                                                                                    +
                                                                                                                    + + + + +

                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                    + +
                                                                                                                    + +
                                                                                                                    WPCrmAnswer
                                                                                                                    +
                                                                                                                    Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                    + +
                                                                                                                    + + + + + + + + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +

                                                                                                                    Search results

                                                                                                                    + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      + + +
                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmquestion.html b/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmquestion.html new file mode 100644 index 0000000..47a47ee --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmquestion.html @@ -0,0 +1,213 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                      +

                                                                                                                      CRM V2

                                                                                                                      + + + + + +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + + + + +
                                                                                                                      +
                                                                                                                        +
                                                                                                                      + +
                                                                                                                      +

                                                                                                                      WPCrmQuestion.php

                                                                                                                      + +

                                                                                                                      LDCCRM For Wordpress usage

                                                                                                                      + + + +
                                                                                                                      + Tags + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      + category +
                                                                                                                      +
                                                                                                                      + +

                                                                                                                      API

                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + author +
                                                                                                                      +
                                                                                                                      + +

                                                                                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + license +
                                                                                                                      +
                                                                                                                      + +

                                                                                                                      MIT https://opensource.org/licenses/MIT

                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + link +
                                                                                                                      +
                                                                                                                      + / + +
                                                                                                                      +
                                                                                                                      + + + + +

                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                      + +
                                                                                                                      + +
                                                                                                                      WPCrmQuestion
                                                                                                                      +
                                                                                                                      Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                      + +
                                                                                                                      + + + + + + + + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +

                                                                                                                      Search results

                                                                                                                      + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + + +
                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmuser.html b/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmuser.html new file mode 100644 index 0000000..82877b3 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/files/src-wordpress-wpcrmuser.html @@ -0,0 +1,213 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                        +

                                                                                                                        CRM V2

                                                                                                                        + + + + + +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + + + + +
                                                                                                                        +
                                                                                                                          +
                                                                                                                        + +
                                                                                                                        +

                                                                                                                        WPCrmUser.php

                                                                                                                        + +

                                                                                                                        LDCCRM For Wordpress usage

                                                                                                                        + + + +
                                                                                                                        + Tags + +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + category +
                                                                                                                        +
                                                                                                                        + +

                                                                                                                        API

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + author +
                                                                                                                        +
                                                                                                                        + +

                                                                                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + license +
                                                                                                                        +
                                                                                                                        + +

                                                                                                                        MIT https://opensource.org/licenses/MIT

                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + link +
                                                                                                                        +
                                                                                                                        + / + +
                                                                                                                        +
                                                                                                                        + + + + +

                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                        + +
                                                                                                                        + +
                                                                                                                        WPCrmUser
                                                                                                                        +
                                                                                                                        Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                        + +
                                                                                                                        + + + + + + + + +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +

                                                                                                                        Search results

                                                                                                                        + +
                                                                                                                        +
                                                                                                                        +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + + +
                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/graphs/classes.html b/crm-client-3.0.6/docs/client-api/graphs/classes.html new file mode 100644 index 0000000..cc88261 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/graphs/classes.html @@ -0,0 +1,139 @@ + + + + + CRM V2 + + + + + + + + +
                                                                                                                          +

                                                                                                                          CRM V2

                                                                                                                          + + + + + +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + + + + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +

                                                                                                                          Search results

                                                                                                                          + +
                                                                                                                          +
                                                                                                                          +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            + + +
                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/index.html b/crm-client-3.0.6/docs/client-api/index.html new file mode 100644 index 0000000..2cb11dc --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/index.html @@ -0,0 +1,167 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                            +

                                                                                                                            CRM V2

                                                                                                                            + + + + + +
                                                                                                                            + +
                                                                                                                            +
                                                                                                                            + + + + +
                                                                                                                            +

                                                                                                                            Documentation

                                                                                                                            + + +

                                                                                                                            + Packages + +

                                                                                                                            + +
                                                                                                                            +
                                                                                                                            LDCCrmClient
                                                                                                                            +
                                                                                                                            None
                                                                                                                            +
                                                                                                                            + +

                                                                                                                            + Namespaces + +

                                                                                                                            + +
                                                                                                                            +
                                                                                                                            LDC
                                                                                                                            +
                                                                                                                            + + + + + + + +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Search results

                                                                                                                            + +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + + +
                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/indices/files.html b/crm-client-3.0.6/docs/client-api/indices/files.html new file mode 100644 index 0000000..af7d1b1 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/indices/files.html @@ -0,0 +1,203 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                              +

                                                                                                                              CRM V2

                                                                                                                              + + + + + +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + + + +
                                                                                                                              + + +
                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/js/search.js b/crm-client-3.0.6/docs/client-api/js/search.js new file mode 100644 index 0000000..093d6d0 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/js/search.js @@ -0,0 +1,173 @@ +// Search module for phpDocumentor +// +// This module is a wrapper around fuse.js that will use a given index and attach itself to a +// search form and to a search results pane identified by the following data attributes: +// +// 1. data-search-form +// 2. data-search-results +// +// The data-search-form is expected to have a single input element of type 'search' that will trigger searching for +// a series of results, were the data-search-results pane is expected to have a direct UL child that will be populated +// with rendered results. +// +// The search has various stages, upon loading this stage the data-search-form receives the CSS class +// 'phpdocumentor-search--enabled'; this indicates that JS is allowed and indices are being loaded. It is recommended +// to hide the form by default and show it when it receives this class to achieve progressive enhancement for this +// feature. +// +// After loading this module, it is expected to load a search index asynchronously, for example: +// +// +// +// In this script the generated index should attach itself to the search module using the `appendIndex` function. By +// doing it like this the page will continue loading, unhindered by the loading of the search. +// +// After the page has fully loaded, and all these deferred indexes loaded, the initialization of the search module will +// be called and the form will receive the class 'phpdocumentor-search--active', indicating search is ready. At this +// point, the input field will also have it's 'disabled' attribute removed. +var Search = (function () { + var fuse; + var index = []; + var options = { + shouldSort: true, + threshold: 0.6, + location: 0, + distance: 100, + maxPatternLength: 32, + minMatchCharLength: 1, + keys: [ + "fqsen", + "name", + "summary", + "url" + ] + }; + + // Credit David Walsh (https://davidwalsh.name/javascript-debounce-function) + // Returns a function, that, as long as it continues to be invoked, will not + // be triggered. The function will be called after it stops being called for + // N milliseconds. If `immediate` is passed, trigger the function on the + // leading edge, instead of the trailing. + function debounce(func, wait, immediate) { + var timeout; + + return function executedFunction() { + var context = this; + var args = arguments; + + var later = function () { + timeout = null; + if (!immediate) func.apply(context, args); + }; + + var callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; + } + + function close() { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + const scrollY = document.body.style.top; + document.body.style.position = ''; + document.body.style.top = ''; + window.scrollTo(0, parseInt(scrollY || '0') * -1); + // End scroll prevention + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + + form.classList.toggle('phpdocumentor-search--has-results', false); + searchResults.classList.add('phpdocumentor-search-results--hidden'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + searchField.blur(); + } + + function search(event) { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + document.body.style.position = 'fixed'; + document.body.style.top = `-${window.scrollY}px`; + // End scroll prevention + + // prevent enter's from autosubmitting + event.stopPropagation(); + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + var searchResultEntries = document.querySelector('[data-search-results] .phpdocumentor-search-results__entries'); + + searchResultEntries.innerHTML = ''; + + if (!event.target.value) { + close(); + return; + } + + form.classList.toggle('phpdocumentor-search--has-results', true); + searchResults.classList.remove('phpdocumentor-search-results--hidden'); + var results = fuse.search(event.target.value, {limit: 25}); + + results.forEach(function (result) { + var entry = document.createElement("li"); + entry.classList.add("phpdocumentor-search-results__entry"); + entry.innerHTML += '

                                                                                                                              ' + result.name + "

                                                                                                                              \n"; + entry.innerHTML += '' + result.fqsen + "\n"; + entry.innerHTML += '
                                                                                                                              ' + result.summary + '
                                                                                                                              '; + searchResultEntries.appendChild(entry) + }); + } + + function appendIndex(added) { + index = index.concat(added); + + // re-initialize search engine when appending an index after initialisation + if (typeof fuse !== 'undefined') { + fuse = new Fuse(index, options); + } + } + + function init() { + fuse = new Fuse(index, options); + + var form = document.querySelector('[data-search-form]'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + + var closeButton = document.querySelector('.phpdocumentor-search-results__close'); + closeButton.addEventListener('click', function() { close() }.bind(this)); + + var searchResults = document.querySelector('[data-search-results]'); + searchResults.addEventListener('click', function() { close() }.bind(this)); + + form.classList.add('phpdocumentor-search--active'); + + searchField.setAttribute('placeholder', 'Search (Press "/" to focus)'); + searchField.removeAttribute('disabled'); + searchField.addEventListener('keyup', debounce(search, 300)); + + window.addEventListener('keyup', function (event) { + if (event.key === '/') { + searchField.focus(); + } + if (event.code === 'Escape') { + close(); + } + }.bind(this)); + } + + return { + appendIndex, + init + } +})(); + +window.addEventListener('DOMContentLoaded', function () { + var form = document.querySelector('[data-search-form]'); + + // When JS is supported; show search box. Must be before including the search for it to take effect immediately + form.classList.add('phpdocumentor-search--enabled'); +}); + +window.addEventListener('load', function () { + Search.init(); +}); diff --git a/crm-client-3.0.6/docs/client-api/js/searchIndex.js b/crm-client-3.0.6/docs/client-api/js/searchIndex.js new file mode 100644 index 0000000..3ec691a --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/js/searchIndex.js @@ -0,0 +1,1339 @@ +Search.appendIndex( + [ + { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2", + "name": "CrmApiV2", + "summary": "This\u0020is\u0020the\u0020main\u0020class\u0020to\u0020interact\u0020with\u0020the\u0020CRM", + "url": "classes/LDC-LDCCRM-CrmApiV2.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "CrmApiV2", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003Aping\u0028\u0029", + "name": "ping", + "summary": "Use\u0020this\u0020the\u0020ping\u0020the\u0020crm\u0020and\u0020know\u0020its\u0020current\u0020status", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_ping" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AgetCustomerOrNew\u0028\u0029", + "name": "getCustomerOrNew", + "summary": "Get\u0020a\u0020customer\u0020from\u0020its\u0020hashcode\u0020or\u0020email\nIf\u0020it\u0020does\u0020not\u0020exists\u0020a\u0020new\u0020instance\nwill\u0020be\u0020returned.\u0020You\u0020would\u0020have\nto\u0020call\u0020its\u0020save\u0020method\u0020later\u0020on.", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_getCustomerOrNew" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AgetCustomer\u0028\u0029", + "name": "getCustomer", + "summary": "Get\u0020a\u0020customer\u0020from\u0020its\u0020hashcode\u0020or\u0020email\nIf\u0020it\u0020does\u0020not\u0020exists\u0020a\u0020new\u0020instance\nwill\u0020be\u0020returned.\u0020You\u0020would\u0020have\nto\u0020call\u0020its\u0020save\u0020method\u0020later\u0020on.", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_getCustomer" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_setStatus" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Test\u0020a\u0020customer\u0020credentials\u0020to\u0020see\u0020if\u0020it\u0020can\u0020login", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003A\u0024apiInterface", + "name": "apiInterface", + "summary": "The\u0020Api\u0020object\u0020that\u0020will\u0020handle\u0020requests\u0020and\u0020responses", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#property_apiInterface" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError", + "name": "ApiError", + "summary": "This\u0020describes\u0020an\u0020API\u0020error.", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError\u003A\u003Alabels\u0028\u0029", + "name": "labels", + "summary": "Libell\u00E9s\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028label\u0029", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html#method_labels" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiStatus", + "name": "ApiStatus", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ApiStatus.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaMailType", + "name": "ArcadiaMailType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaMailType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaMailType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaMailType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaOrderType", + "name": "ArcadiaOrderType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaOrderType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country", + "name": "Country", + "summary": "Liste\u0020de\u0020Pays", + "url": "classes/LDC-LDCCRM-Enums-Country.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-Country.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country\u003A\u003Alabels\u0028\u0029", + "name": "labels", + "summary": "Libell\u00E9s\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028label\u0029", + "url": "classes/LDC-LDCCRM-Enums-Country.html#method_labels" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel", + "name": "LogLevel", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-LogLevel.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-LogLevel.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType", + "name": "QuestionType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-QuestionType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-QuestionType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\AccessError", + "name": "AccessError", + "summary": "This\u0020is\u0020thrown\u0020when\u0020trying\u0020to\u0020set\u0020a\u0020value\u0020on\u0020an\u0020object\u0020property\u0020that\u0020does\u0020not\u0020exist.", + "url": "classes/LDC-LDCCRM-Exceptions-AccessError.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\AccessError\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "AccessError", + "url": "classes/LDC-LDCCRM-Exceptions-AccessError.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException", + "name": "ApiErrorException", + "summary": "This\u0020would\u0020be\u0020thrown\u0020if\u0020any\u0020of\u0020the\u0020case\nreferenced\u0020in\u0020\\LDC\\LDCCRM\\Enums\\ApiError\u0020would\noccur\u0020within\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Create\u0020a\u0020new\u0020exception\u0020base\u0020on\u0020ApiError\u0020enum.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003AgetApiError\u0028\u0029", + "name": "getApiError", + "summary": "Get\u0020the\u0020Api\u0020Error", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_getApiError" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003AgetStatusCode\u0028\u0029", + "name": "getStatusCode", + "summary": "Get\u0020the\u0020http\u0020code", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_getStatusCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024error", + "name": "error", + "summary": "Api\u0020Error\nThis\u0020value\u0020makes\u0020the\u0020error\u0020more\u0020explicit.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_error" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024message", + "name": "message", + "summary": "This\u0020is\u0020an\u0020explicit\u0020error\u0020message,\nou\u0020may\u0020print\u0020this\u0020to\u0020the\u0020front\u0020or\u0020not\u0020depending\non\u0020\u0024error\u0020value", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_message" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024httpCode", + "name": "httpCode", + "summary": "This\u0020is\u0020the\u0020http\u0020code\u0020returned\u0020by\u0020the\u0020crm.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_httpCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\CrmException", + "name": "CrmException", + "summary": "This\u0020is\u0020a\u0020critical\u0020error.", + "url": "classes/LDC-LDCCRM-Exceptions-CrmException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\CrmException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-CrmException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\SkipValidationException", + "name": "SkipValidationException", + "summary": "Used\u0020only\u0020for\u0020internal\u0020validator", + "url": "classes/LDC-LDCCRM-Exceptions-SkipValidationException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ValidationException", + "name": "ValidationException", + "summary": "This\u0020would\u0020be\u0020thrown\u0020if\u0020a\u0020data\u0020could\u0020not\u0020be\u0020validated\non\u0020any\u0020models", + "url": "classes/LDC-LDCCRM-Exceptions-ValidationException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ValidationException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-ValidationException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo", + "name": "WpCrmInvalidJsonUserInfo", + "summary": "This\u0020is\u0020thrown\u0020when\u0020trying\u0020to\u0020read\u0020WP\u0020customer\u0020from\u0020DB\u0020json\u0020data.", + "url": "classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "WpCrmInvalidJsonUserInfo", + "url": "classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer", + "name": "Answer", + "summary": "This\u0020class\u0020represents\u0020an\u0020answer\nIt\u0020has\u0020a\u0020method\u0020to\u0020submit\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Answer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Answer", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AsetQuestionAnswers\u0028\u0029", + "name": "setQuestionAnswers", + "summary": "Set\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method_setQuestionAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024id", + "name": "id", + "summary": "The\u0020question\u0020id", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_id" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024answer", + "name": "answer", + "summary": "The\u0020actual\u0020answer\u0020as\u0020a\u0020string", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_answer" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault", + "name": "ArcadiaMailDefault", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ArcadiaMailDefault", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Send\u0020The\u0020actual\u0020mail", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_send" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024operation", + "name": "operation", + "summary": "The\u0020arcadia\u0020operation\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_operation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024support_code", + "name": "support_code", + "summary": "The\u0020arcadia\u0020support\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_support_code" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024label_type_support", + "name": "label_type_support", + "summary": "The\u0020arcadia\u0020type\u0020support\u0020label", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_label_type_support" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024order_date", + "name": "order_date", + "summary": "The\u0020arcadia\u0020order\u0020date", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_order_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024order_num", + "name": "order_num", + "summary": "The\u0020arcadia\u0020order\u0020number", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_order_num" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024state_order", + "name": "state_order", + "summary": "The\u0020arcadia\u0020state\u0020order", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_state_order" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024package_unit_weight", + "name": "package_unit_weight", + "summary": "The\u0020arcadia\u0020package\u0020unit\u0020weight", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_package_unit_weight" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame", + "name": "ArcadiaMailGame", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ArcadiaMailGame", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Send\u0020The\u0020actual\u0020mail", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_send" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024operation", + "name": "operation", + "summary": "The\u0020arcadia\u0020operation\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_operation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024support_code", + "name": "support_code", + "summary": "The\u0020arcadia\u0020support\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_support_code" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024label_type_support", + "name": "label_type_support", + "summary": "The\u0020arcadia\u0020type\u0020support\u0020label", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_label_type_support" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024order_date", + "name": "order_date", + "summary": "The\u0020arcadia\u0020order\u0020date", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_order_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024code_unique", + "name": "code_unique", + "summary": "The\u0020arcadia\u0020code\u0020unique", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_code_unique" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024code_on_pack", + "name": "code_on_pack", + "summary": "The\u0020arcadia\u0020code\u0020on\u0020pack", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_code_on_pack" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer", + "name": "Customer", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status.\u0020You\u0020can\u0020use\u0020it\u0020as\na\u0020standalone\u0020class\u0020but\u0020beware\u0020of\u0020catching\u0020exceptions", + "url": "classes/LDC-LDCCRM-Models-Customer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Customer", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop\u0020on\u0020the\u0020model.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020values\u0020into\u0020model\u0020using\u0020validation\u0020rules.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Afind\u0028\u0029", + "name": "find", + "summary": "Find\u0020a\u0020customer\u0020using\u0020its\u0020hashcode\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_find" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AfindWithEmail\u0028\u0029", + "name": "findWithEmail", + "summary": "Find\u0020a\u0020customer\u0020using\u0020its\u0020email\u0020in\u0020the\u0020crm\nThis\u0020is\u0020an\u0020alias\u0020of\u0020Customer\u003A\u003Afind\u0028\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_findWithEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Asave\u0028\u0029", + "name": "save", + "summary": "Save\u0020the\u0020customer\u0020on\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_save" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Astore\u0028\u0029", + "name": "store", + "summary": "Calls\u0020api\u0020store\u0020customer\u0020method", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_store" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Calls\u0020api\u0020update\u0020customer\u0020method", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_update" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Removes\u0020the\u0020customer\u0020from\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_delete" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Aactivate\u0028\u0029", + "name": "activate", + "summary": "Active\u0020the\u0020customer\u0020on\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_activate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AtoggleOptin\u0028\u0029", + "name": "toggleOptin", + "summary": "Toggle\u0020the\u0020account\u0020optin\u0020value\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_toggleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Test\u0020customer\u0020credentials", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024hashcode", + "name": "hashcode", + "summary": "The\u0020user\u0020hashcode,\u0020this\u0020is\u0020link\u0020with\u0020the\u0020customer\u0020and\u0020the\u0020brand\u0020it\u0020is\u0020related\u0020to\nIt\u0020is\u0020used\u0020to\u0020identify\u0020the\u0020customer\u0020itself.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_hashcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024password", + "name": "password", + "summary": "The\u0020user\u0020password\nThis\u0020is\u0020set\u0020only\u0020when\u0020creating\u0020a\u0020user\nOtherwise\u0020it\u0020has\u0020to\u0020be\u0020set\u0020to\u0020null", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_password" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024birth_date", + "name": "birth_date", + "summary": "Birth\u0020date", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_birth_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024country", + "name": "country", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_country" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024opt_in", + "name": "opt_in", + "summary": "The\u0020user\u0020optin\u0020choice", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_opt_in" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024status", + "name": "status", + "summary": "Is\u0020the\u0020account\u0020activated\u0020\u003F", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_status" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024last_connection", + "name": "last_connection", + "summary": "The\u0020last\u0020time\u0020the\u0020account\u0020was\u0020connected", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_last_connection" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024invisibleFields", + "name": "invisibleFields", + "summary": "The\u0020crm\u0020customer\u0020fields\nthe\u0020should\u0020not\u0020be\u0020visible", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_invisibleFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question", + "name": "Question", + "summary": "This\u0020class\u0020represents\u0020a\u0020question\nIt\u0020has\u0020some\u0020static\u0020methods\u0020to\u0020retrieve\u0020questions\u0020and\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Question", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "General\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop\u0020on\u0020the\u0020model.", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020values\u0020into\u0020model\u0020using\u0020validation\u0020rules.", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Aall\u0028\u0029", + "name": "all", + "summary": "Get\u0020all\u0020questions\u0020only", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_all" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AallWithCustomerAnswers\u0028\u0029", + "name": "allWithCustomerAnswers", + "summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020customer\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AunansweredBy\u0028\u0029", + "name": "unansweredBy", + "summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024id", + "name": "id", + "summary": "The\u0020question\u0020id", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_id" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024question", + "name": "question", + "summary": "The\u0020actual\u0020question\u0020as\u0020a\u0020string", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_question" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024type", + "name": "type", + "summary": "The\u0020question\u0020type", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_type" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024answers", + "name": "answers", + "summary": "The\u0020question\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_answers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin", + "name": "SingleOptin", + "summary": "This\u0020class\u0020allows\u0020to\u0020handle\u0020single\u0020optins", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html#method_setStatus" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats", + "name": "Stats", + "summary": "This\u0020class\u0020is\u0020used\u0020to\u0020get\u0020stats\u0020from\u0020CRM", + "url": "classes/LDC-LDCCRM-Models-Stats.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003AgetBrandStats\u0028\u0029", + "name": "getBrandStats", + "summary": "Get\u0020brand\u0020stats\u0020ordered\u0020by\u0020ascendent\u0020days", + "url": "classes/LDC-LDCCRM-Models-Stats.html#method_getBrandStats" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003AgetQuestionStats\u0028\u0029", + "name": "getQuestionStats", + "summary": "Get\u0020brand\u0020stats\u0020ordered\u0020by\u0020ascendent\u0020days", + "url": "classes/LDC-LDCCRM-Models-Stats.html#method_getQuestionStats" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Stats.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request", + "name": "Request", + "summary": "The\u0020LDC\u0020CRM\u0020request\nContains\u0020the\u0020http\u0020method,\u0020the\u0020requested\u0020url\u0020and\u0020data\u0020to\u0020pass", + "url": "classes/LDC-LDCCRM-Transport-Request.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AmakeRequest\u0028\u0029", + "name": "makeRequest", + "summary": "make\u0020the\u0020guzzle\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_makeRequest" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AsetEndpoint\u0028\u0029", + "name": "setEndpoint", + "summary": "Set\u0020the\u0020api\u0020endpoint\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_setEndpoint" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003Acall\u0028\u0029", + "name": "call", + "summary": "Make\u0020the\u0020Http\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_call" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AaddHeaders\u0028\u0029", + "name": "addHeaders", + "summary": "Add\u0020headers\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_addHeaders" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AaddData\u0028\u0029", + "name": "addData", + "summary": "Add\u0020data\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_addData" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024client", + "name": "client", + "summary": "GuzzleHttp\u0020client", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_client" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024method", + "name": "method", + "summary": "The\u0020http\u0020method", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_method" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024uri", + "name": "uri", + "summary": "The\u0020http\u0020url", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_uri" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024headers", + "name": "headers", + "summary": "Data\u0020to\u0020pass\u0020to\u0020the\u0020http\u0020headers", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_headers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024data", + "name": "data", + "summary": "Data\u0020to\u0020pass\u0020to\u0020the\u0020http\u0020body", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_data" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024request", + "name": "request", + "summary": "Guzzle\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_request" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024endpoint", + "name": "endpoint", + "summary": "The\u0020Api\u0020endpoint", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_endpoint" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response", + "name": "Response", + "summary": "", + "url": "classes/LDC-LDCCRM-Transport-Response.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Response", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003AtryDecodeJson\u0028\u0029", + "name": "tryDecodeJson", + "summary": "Try\u0020to\u0020decode\u0020json\u0020and\u0020return\u0020false\u0020if\u0020it\u0020is\nnot\u0020a\u0020valid\u0020json", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method_tryDecodeJson" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003AcheckVersion\u0028\u0029", + "name": "checkVersion", + "summary": "This\u0020checks\u0020if\u0020the\u0020crm\u0020version\u0020is\u0020way\u0020far\u0020beyond\u0020the\u0020client\u0020version.", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method_checkVersion" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024status", + "name": "status", + "summary": "The\u0020response\u0020status", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_status" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024apiError", + "name": "apiError", + "summary": "The\u0020api\u0020error", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_apiError" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024httpCode", + "name": "httpCode", + "summary": "The\u0020response\u0020http\u0020code", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_httpCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024headers", + "name": "headers", + "summary": "The\u0020response\u0020headers", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_headers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024body", + "name": "body", + "summary": "The\u0020response\u0020body", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_body" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024message", + "name": "message", + "summary": "The\u0020interface\u0020message", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_message" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024response", + "name": "response", + "summary": "PSR\u0020response", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_response" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils", + "name": "Utils", + "summary": "This\u0020is\u0020the\u0020LDCCRM\u0020utility\u0020class", + "url": "classes/LDC-LDCCRM-Utils.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AmakeValidator\u0028\u0029", + "name": "makeValidator", + "summary": "Create\u0020a\u0020new\u0020Validator\u0020instance.", + "url": "classes/LDC-LDCCRM-Utils.html#method_makeValidator" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AmakeValidatorFromRule\u0028\u0029", + "name": "makeValidatorFromRule", + "summary": "Generate\u0020a\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_makeValidatorFromRule" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationRequired\u0028\u0029", + "name": "validationRequired", + "summary": "Make\u0020Required\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationRequired" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationNullable\u0028\u0029", + "name": "validationNullable", + "summary": "Make\u0020Nullable\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationNullable" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationSometimes\u0028\u0029", + "name": "validationSometimes", + "summary": "Make\u0020Sometimes\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationSometimes" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationInt\u0028\u0029", + "name": "validationInt", + "summary": "Make\u0020Int\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationInt" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationString\u0028\u0029", + "name": "validationString", + "summary": "Make\u0020String\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationString" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationBool\u0028\u0029", + "name": "validationBool", + "summary": "Make\u0020Bool\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationBool" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMin\u0028\u0029", + "name": "validationMin", + "summary": "Make\u0020Min\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMin" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMax\u0028\u0029", + "name": "validationMax", + "summary": "Make\u0020Max\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMax" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationUuid\u0028\u0029", + "name": "validationUuid", + "summary": "Make\u0020Uuid\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationUuid" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMixedCase\u0028\u0029", + "name": "validationMixedCase", + "summary": "Make\u0020MixedCase\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMixedCase" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationContainDigit\u0028\u0029", + "name": "validationContainDigit", + "summary": "Make\u0020ContainDigit\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationContainDigit" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationContainSymbol\u0028\u0029", + "name": "validationContainSymbol", + "summary": "Make\u0020ContainSymbol\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationContainSymbol" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationDate\u0028\u0029", + "name": "validationDate", + "summary": "Make\u0020Date\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationDate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationDateFormat\u0028\u0029", + "name": "validationDateFormat", + "summary": "Make\u0020DateFormat\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationDateFormat" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationEmail\u0028\u0029", + "name": "validationEmail", + "summary": "Make\u0020Email\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationArray\u0028\u0029", + "name": "validationArray", + "summary": "Make\u0020Array\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationArray" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationClosure\u0028\u0029", + "name": "validationClosure", + "summary": "Make\u0020Closure\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationClosure" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetConfig\u0028\u0029", + "name": "getConfig", + "summary": "This\u0020is\u0020only\u0020used\u0020for\u0020unit\u0020tests.", + "url": "classes/LDC-LDCCRM-Utils.html#method_getConfig" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetResquest\u0028\u0029", + "name": "getResquest", + "summary": "Generate\u0020a\u0020Request\u0020from\u0020the\u0020route\u0020name", + "url": "classes/LDC-LDCCRM-Utils.html#method_getResquest" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetPackageInfo\u0028\u0029", + "name": "getPackageInfo", + "summary": "Get\u0020composer.json\u0020infos", + "url": "classes/LDC-LDCCRM-Utils.html#method_getPackageInfo" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Atranslate\u0028\u0029", + "name": "translate", + "summary": "Translation\u0020a\u0020string\u0020using\u0020php\u0020file\u0020lang", + "url": "classes/LDC-LDCCRM-Utils.html#method_translate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Alog\u0028\u0029", + "name": "log", + "summary": "Write\u0020log\u0020using\u0020syslog\nIt\u0020also\u0020write\u0020log\u0020using\u0020\\Illuminate\\Support\\Facades\\Log\nif\u0020it\u0020is\u0020present", + "url": "classes/LDC-LDCCRM-Utils.html#method_log" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AsetRawProperty\u0028\u0029", + "name": "setRawProperty", + "summary": "Set\u0020a\u0020property\u0020without\u0020any\u0020validation.", + "url": "classes/LDC-LDCCRM-Utils.html#method_setRawProperty" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetRawProperty\u0028\u0029", + "name": "getRawProperty", + "summary": "Get\u0020a\u0020property\u0020of\u0020an\u0020object.", + "url": "classes/LDC-LDCCRM-Utils.html#method_getRawProperty" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024packageInfos", + "name": "packageInfos", + "summary": "Package\u0020infos", + "url": "classes/LDC-LDCCRM-Utils.html#property_packageInfos" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024translations", + "name": "translations", + "summary": "Loaded\u0020translations", + "url": "classes/LDC-LDCCRM-Utils.html#property_translations" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm", + "name": "WPCrm", + "summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUser\u0028\u0029", + "name": "getUser", + "summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020null\u0020if\u0020the\u0020user\u0020is\u0020not\u0020logged\u0020in", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromApi\u0028\u0029", + "name": "getUserFromApi", + "summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020api\u0020response\u0020code\u0020if\u0020an\u0020error\u0020occurs", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Try\u0020to\u0020login\u0020with\u0020CRM\u0020API\nA\u0020session\u0020will\u0020be\u0020started\u0020if\u0020credentials\u0020are\u0020valid.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogout\u0028\u0029", + "name": "logout", + "summary": "Destroy\u0020the\u0020customer\u0020from\u0020session\nand\u0020therefore\u0020logout", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_logout" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Acheck\u0028\u0029", + "name": "check", + "summary": "Check\u0020if\u0020the\u0020user\u0020is\u0020logged\u0020in.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_check" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveUser\u0028\u0029", + "name": "saveUser", + "summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUser\u0028\u0029", + "name": "deleteUser", + "summary": "Delete\u0020current\u0020customer\u0020from\nthe\u0020local\u0020database\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AtoggleUserOptin\u0028\u0029", + "name": "toggleUserOptin", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_toggleUserOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetSingleOptin\u0028\u0029", + "name": "setSingleOptin", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email\non\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setSingleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AactivateUser\u0028\u0029", + "name": "activateUser", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_activateUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetNewUser\u0028\u0029", + "name": "getNewUser", + "summary": "Generate\u0020a\u0020new\u0020user", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getNewUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AunsetActiveUser\u0028\u0029", + "name": "unsetActiveUser", + "summary": "Remove\u0020active\u0020user\nto\u0020prevent\u0020WPCrm\u003A\u003Acheck\u0020to\u0020return\u0020true", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_unsetActiveUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AloginUserWithApi\u0028\u0029", + "name": "loginUserWithApi", + "summary": "Check\u0020customer\u0020credentials\u0020using\u0020the\u0020CRM.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_loginUserWithApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetCustomer\u0028\u0029", + "name": "getCustomer", + "summary": "Get\u0020all\u0020customer\u0020infos", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getCustomer" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetUser\u0028\u0029", + "name": "setUser", + "summary": "Create\u0020a\u0020user\nstores\u0020it\u0020to\u0020the\u0020session\nand\u0020finally\u0020saves\u0020it\u0020to\u0020the\u0020database\u0020if\u0020it\u0020does\u0020not\u0020exists", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AinitLdcApi\u0028\u0029", + "name": "initLdcApi", + "summary": "Get\u0020the\u0020initialized\u0020API\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_initLdcApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AmakeApiV2Call\u0028\u0029", + "name": "makeApiV2Call", + "summary": "Make\u0020a\u0020call\u0020using\u0020apiV2", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_makeApiV2Call" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AbootSessionIfNeeded\u0028\u0029", + "name": "bootSessionIfNeeded", + "summary": "Boot\u0020the\u0020php\u0020session\u0020if\u0020needed", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_bootSessionIfNeeded" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTable\u0028\u0029", + "name": "getUserFromTable", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByEmail\u0028\u0029", + "name": "getUserFromTableByEmail", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByUuid\u0028\u0029", + "name": "getUserFromTableByUuid", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByUuid" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveOrUpdateUserToTable\u0028\u0029", + "name": "saveOrUpdateUserToTable", + "summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveOrUpdateUserToTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUserFromTable\u0028\u0029", + "name": "deleteUserFromTable", + "summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUserFromTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Aquery\u0028\u0029", + "name": "query", + "summary": "Query\u0020in\u0020DB", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_query" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetWpDb\u0028\u0029", + "name": "getWpDb", + "summary": "Get\u0020WP\u0020\u0027pdo\u0020instance\u0027", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getWpDb" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionKey", + "name": "sessionKey", + "summary": "The\u0020session\u0020key\u0020name", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionKey" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionDestroyed", + "name": "sessionDestroyed", + "summary": "The\u0020session\u0020live\u0020status", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionDestroyed" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024api", + "name": "api", + "summary": "The\u0020user\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_api" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024user", + "name": "user", + "summary": "The\u0020user\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_user" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer", + "name": "WPCrmAnswer", + "summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer\u003A\u003AsetQuestionAnswers\u0028\u0029", + "name": "setQuestionAnswers", + "summary": "Set\u0020answers\u0020to\u0020a\u0020question\u0020for\u0020a\u0020specific\u0020user", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_setQuestionAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion", + "name": "WPCrmQuestion", + "summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AgetAll\u0028\u0029", + "name": "getAll", + "summary": "Get\u0020all\u0020questions\u0020only", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getAll" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AallWithCustomerAnswers\u0028\u0029", + "name": "allWithCustomerAnswers", + "summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020user\u0020answers", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_allWithCustomerAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AunansweredBy\u0028\u0029", + "name": "unansweredBy", + "summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_unansweredBy" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser", + "name": "WPCrmUser", + "summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress\u0020\u0028ce\u0020truc\u0020immonde\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "WPCrmUser\u0020construct", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Generic\u0020mutator", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AsetInfo\u0028\u0029", + "name": "setInfo", + "summary": "Set\u0020the\u0020customer\u0020info\nwith\u0020api\u0020response", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_setInfo" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AparseFromJson\u0028\u0029", + "name": "parseFromJson", + "summary": "Generate\u0020a\u0020user\u0020from\u0020session\u0020data", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_parseFromJson" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Asave\u0028\u0029", + "name": "save", + "summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_save" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Delete\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_delete" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AtoggleOptin\u0028\u0029", + "name": "toggleOptin", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_toggleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Aactivate\u0028\u0029", + "name": "activate", + "summary": "Activate\u0020the\u0020account\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_activate" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024phashcode", + "name": "phashcode", + "summary": "The\u0020CRM\u0020hashcode\u0020\u0028UUID\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_phashcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024pemail", + "name": "pemail", + "summary": "The\u0020CRM\u0020customer\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_pemail" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024info", + "name": "info", + "summary": "The\u0020CRM\u0020customer\u0020info\u0020\u0028the\u0020api\u0020response\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_info" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024uuidToken", + "name": "uuidToken", + "summary": "The\u0020CRM\u0020customer\u0020temp\u0020uuidToken\u0020to\u0020validate\u0020transactions", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_uuidToken" + }, { + "fqsen": "\\", + "name": "\\", + "summary": "", + "url": "namespaces/default.html" + }, { + "fqsen": "\\LDC\\LDCCRM", + "name": "LDCCRM", + "summary": "", + "url": "namespaces/ldc-ldccrm.html" + }, { + "fqsen": "\\LDC", + "name": "LDC", + "summary": "", + "url": "namespaces/ldc.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums", + "name": "Enums", + "summary": "", + "url": "namespaces/ldc-ldccrm-enums.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions", + "name": "Exceptions", + "summary": "", + "url": "namespaces/ldc-ldccrm-exceptions.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models", + "name": "Models", + "summary": "", + "url": "namespaces/ldc-ldccrm-models.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport", + "name": "Transport", + "summary": "", + "url": "namespaces/ldc-ldccrm-transport.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress", + "name": "WordPress", + "summary": "", + "url": "namespaces/ldc-ldccrm-wordpress.html" + } ] +); diff --git a/crm-client-3.0.6/docs/client-api/namespaces/default.html b/crm-client-3.0.6/docs/client-api/namespaces/default.html new file mode 100644 index 0000000..e254fb3 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/namespaces/default.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                              +

                                                                                                                              CRM V2

                                                                                                                              + + + + + +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + + + + +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              + +
                                                                                                                              +

                                                                                                                              API Documentation

                                                                                                                              + + +

                                                                                                                              + Namespaces + +

                                                                                                                              + +
                                                                                                                              +
                                                                                                                              LDC
                                                                                                                              +
                                                                                                                              + + + + + + + +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Search results

                                                                                                                              + +
                                                                                                                              +
                                                                                                                              +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + + +
                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-enums.html b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-enums.html new file mode 100644 index 0000000..f7e2bc8 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-enums.html @@ -0,0 +1,179 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                +

                                                                                                                                CRM V2

                                                                                                                                + + + + + +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + + + + +
                                                                                                                                + + + +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +

                                                                                                                                Search results

                                                                                                                                + +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + + +
                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-exceptions.html b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-exceptions.html new file mode 100644 index 0000000..2061037 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-exceptions.html @@ -0,0 +1,180 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                  +

                                                                                                                                  CRM V2

                                                                                                                                  + + + + + +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + + + + +
                                                                                                                                  + + +
                                                                                                                                  +

                                                                                                                                  Exceptions

                                                                                                                                  + + + +

                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                  + +
                                                                                                                                  + +
                                                                                                                                  AccessError
                                                                                                                                  +
                                                                                                                                  This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                  +
                                                                                                                                  ApiErrorException
                                                                                                                                  +
                                                                                                                                  This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                  +
                                                                                                                                  CrmException
                                                                                                                                  +
                                                                                                                                  This is a critical error.
                                                                                                                                  +
                                                                                                                                  SkipValidationException
                                                                                                                                  +
                                                                                                                                  Used only for internal validator
                                                                                                                                  +
                                                                                                                                  ValidationException
                                                                                                                                  +
                                                                                                                                  This would be thrown if a data could not be validated +on any models
                                                                                                                                  +
                                                                                                                                  WpCrmInvalidJsonUserInfo
                                                                                                                                  +
                                                                                                                                  This is thrown when trying to read WP customer from DB json data.
                                                                                                                                  + +
                                                                                                                                  + + + + + + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Search results

                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    + + +
                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-models.html b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-models.html new file mode 100644 index 0000000..715b496 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-models.html @@ -0,0 +1,185 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                    +

                                                                                                                                    CRM V2

                                                                                                                                    + + + + + +
                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    + + + + +
                                                                                                                                    + + +
                                                                                                                                    +

                                                                                                                                    Models

                                                                                                                                    + + + +

                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                    + +
                                                                                                                                    + +
                                                                                                                                    Answer
                                                                                                                                    +
                                                                                                                                    This class represents an answer +It has a method to submit answers
                                                                                                                                    +
                                                                                                                                    ArcadiaMailDefault
                                                                                                                                    +
                                                                                                                                    This class represents the customer info with +the account validation status
                                                                                                                                    +
                                                                                                                                    ArcadiaMailGame
                                                                                                                                    +
                                                                                                                                    This class represents the customer info with +the account validation status
                                                                                                                                    +
                                                                                                                                    Customer
                                                                                                                                    +
                                                                                                                                    This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                    +
                                                                                                                                    Question
                                                                                                                                    +
                                                                                                                                    This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                    +
                                                                                                                                    SingleOptin
                                                                                                                                    +
                                                                                                                                    This class allows to handle single optins
                                                                                                                                    +
                                                                                                                                    Stats
                                                                                                                                    +
                                                                                                                                    This class is used to get stats from CRM
                                                                                                                                    + +
                                                                                                                                    + + + + + + +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +

                                                                                                                                    Search results

                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      + + +
                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-transport.html b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-transport.html new file mode 100644 index 0000000..937b238 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-transport.html @@ -0,0 +1,170 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                      +

                                                                                                                                      CRM V2

                                                                                                                                      + + + + + +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      + + + + +
                                                                                                                                      + + +
                                                                                                                                      +

                                                                                                                                      Transport

                                                                                                                                      + + + +

                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                      + +
                                                                                                                                      + +
                                                                                                                                      Request
                                                                                                                                      +
                                                                                                                                      The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                      +
                                                                                                                                      Response
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      + + + + + + +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +

                                                                                                                                      Search results

                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + + +
                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-wordpress.html b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-wordpress.html new file mode 100644 index 0000000..23e4e24 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm-wordpress.html @@ -0,0 +1,173 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                        +

                                                                                                                                        CRM V2

                                                                                                                                        + + + + + +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + + + + +
                                                                                                                                        + + +
                                                                                                                                        +

                                                                                                                                        WordPress

                                                                                                                                        + + + +

                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                        + +
                                                                                                                                        + +
                                                                                                                                        WPCrm
                                                                                                                                        +
                                                                                                                                        Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                                        +
                                                                                                                                        WPCrmAnswer
                                                                                                                                        +
                                                                                                                                        Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                                        +
                                                                                                                                        WPCrmQuestion
                                                                                                                                        +
                                                                                                                                        Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                                        +
                                                                                                                                        WPCrmUser
                                                                                                                                        +
                                                                                                                                        Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                                        + +
                                                                                                                                        + + + + + + +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +

                                                                                                                                        Search results

                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + + +
                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm.html b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm.html new file mode 100644 index 0000000..849623e --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/namespaces/ldc-ldccrm.html @@ -0,0 +1,180 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                          +

                                                                                                                                          CRM V2

                                                                                                                                          + + + + + +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + + + + +
                                                                                                                                          + + +
                                                                                                                                          +

                                                                                                                                          LDCCRM

                                                                                                                                          + + +

                                                                                                                                          + Namespaces + +

                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          Enums
                                                                                                                                          +
                                                                                                                                          Exceptions
                                                                                                                                          +
                                                                                                                                          Models
                                                                                                                                          +
                                                                                                                                          Transport
                                                                                                                                          +
                                                                                                                                          WordPress
                                                                                                                                          +
                                                                                                                                          + +

                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                          + +
                                                                                                                                          + +
                                                                                                                                          CrmApiV2
                                                                                                                                          +
                                                                                                                                          This is the main class to interact with the CRM
                                                                                                                                          +
                                                                                                                                          Utils
                                                                                                                                          +
                                                                                                                                          This is the LDCCRM utility class
                                                                                                                                          + +
                                                                                                                                          + + + + + + +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +

                                                                                                                                          Search results

                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + + +
                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/namespaces/ldc.html b/crm-client-3.0.6/docs/client-api/namespaces/ldc.html new file mode 100644 index 0000000..4c85420 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/namespaces/ldc.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                            +

                                                                                                                                            CRM V2

                                                                                                                                            + + + + + +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + + + + +
                                                                                                                                            +
                                                                                                                                              +
                                                                                                                                            + +
                                                                                                                                            +

                                                                                                                                            LDC

                                                                                                                                            + + +

                                                                                                                                            + Namespaces + +

                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            LDCCRM
                                                                                                                                            +
                                                                                                                                            + + + + + + + +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +

                                                                                                                                            Search results

                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              + + +
                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-Wordpress.html b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-Wordpress.html new file mode 100644 index 0000000..7fd2cad --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-Wordpress.html @@ -0,0 +1,172 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                              +

                                                                                                                                              CRM V2

                                                                                                                                              + + + + + +
                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              + + + + +
                                                                                                                                              + + +
                                                                                                                                              +

                                                                                                                                              Wordpress

                                                                                                                                              + + + +

                                                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                                                              + +
                                                                                                                                              + +
                                                                                                                                              WPCrm
                                                                                                                                              +
                                                                                                                                              Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                                              +
                                                                                                                                              WPCrmAnswer
                                                                                                                                              +
                                                                                                                                              Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                                              +
                                                                                                                                              WPCrmQuestion
                                                                                                                                              +
                                                                                                                                              Class de gestion de la segmentation question avec Wordpress (ce truc immonde)
                                                                                                                                              +
                                                                                                                                              WPCrmUser
                                                                                                                                              +
                                                                                                                                              Class de gestion des users en session avec Wordpress (ce truc immonde)
                                                                                                                                              + +
                                                                                                                                              + + + + + + +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              Search results

                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + + +
                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-enums.html b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-enums.html new file mode 100644 index 0000000..f4af5ce --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-enums.html @@ -0,0 +1,178 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                +

                                                                                                                                                CRM V2

                                                                                                                                                + + + + + +
                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                + + + + +
                                                                                                                                                + + + +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                Search results

                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + + +
                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-exceptions.html b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-exceptions.html new file mode 100644 index 0000000..3a0f3ff --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-exceptions.html @@ -0,0 +1,179 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                  +

                                                                                                                                                  CRM V2

                                                                                                                                                  + + + + + +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + + + + +
                                                                                                                                                  + + +
                                                                                                                                                  +

                                                                                                                                                  exceptions

                                                                                                                                                  + + + +

                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                  + +
                                                                                                                                                  + +
                                                                                                                                                  AccessError
                                                                                                                                                  +
                                                                                                                                                  This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                                  +
                                                                                                                                                  ApiErrorException
                                                                                                                                                  +
                                                                                                                                                  This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                                  +
                                                                                                                                                  CrmException
                                                                                                                                                  +
                                                                                                                                                  This is a critical error.
                                                                                                                                                  +
                                                                                                                                                  SkipValidationException
                                                                                                                                                  +
                                                                                                                                                  Used only for internal validator
                                                                                                                                                  +
                                                                                                                                                  ValidationException
                                                                                                                                                  +
                                                                                                                                                  This would be thrown if a data could not be validated +on any models
                                                                                                                                                  +
                                                                                                                                                  WpCrmInvalidJsonUserInfo
                                                                                                                                                  +
                                                                                                                                                  This is thrown when trying to read WP customer from DB json data.
                                                                                                                                                  + +
                                                                                                                                                  + + + + + + +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +

                                                                                                                                                  Search results

                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + + +
                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-models.html b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-models.html new file mode 100644 index 0000000..c3be18d --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-models.html @@ -0,0 +1,184 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                    +

                                                                                                                                                    CRM V2

                                                                                                                                                    + + + + + +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + + + + +
                                                                                                                                                    + + +
                                                                                                                                                    +

                                                                                                                                                    models

                                                                                                                                                    + + + +

                                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                                    + +
                                                                                                                                                    + +
                                                                                                                                                    Answer
                                                                                                                                                    +
                                                                                                                                                    This class represents an answer +It has a method to submit answers
                                                                                                                                                    +
                                                                                                                                                    ArcadiaMailDefault
                                                                                                                                                    +
                                                                                                                                                    This class represents the customer info with +the account validation status
                                                                                                                                                    +
                                                                                                                                                    ArcadiaMailGame
                                                                                                                                                    +
                                                                                                                                                    This class represents the customer info with +the account validation status
                                                                                                                                                    +
                                                                                                                                                    Customer
                                                                                                                                                    +
                                                                                                                                                    This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                                    +
                                                                                                                                                    Question
                                                                                                                                                    +
                                                                                                                                                    This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                                    +
                                                                                                                                                    SingleOptin
                                                                                                                                                    +
                                                                                                                                                    This class allows to handle single optins
                                                                                                                                                    +
                                                                                                                                                    Stats
                                                                                                                                                    +
                                                                                                                                                    This class is used to get stats from CRM
                                                                                                                                                    + +
                                                                                                                                                    + + + + + + +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    Search results

                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      + + +
                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-transport.html b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-transport.html new file mode 100644 index 0000000..34305af --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-transport.html @@ -0,0 +1,169 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                      +

                                                                                                                                                      CRM V2

                                                                                                                                                      + + + + + +
                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      + + + + +
                                                                                                                                                      + + +
                                                                                                                                                      +

                                                                                                                                                      transport

                                                                                                                                                      + + + +

                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                      + +
                                                                                                                                                      + +
                                                                                                                                                      Request
                                                                                                                                                      +
                                                                                                                                                      The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                                      +
                                                                                                                                                      Response
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      + + + + + + +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +

                                                                                                                                                      Search results

                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        + + +
                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-utilities.html b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-utilities.html new file mode 100644 index 0000000..f302c2d --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient-utilities.html @@ -0,0 +1,166 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                        +

                                                                                                                                                        CRM V2

                                                                                                                                                        + + + + + +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        + + + + +
                                                                                                                                                        + + +
                                                                                                                                                        +

                                                                                                                                                        utilities

                                                                                                                                                        + + + +

                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                        + +
                                                                                                                                                        + +
                                                                                                                                                        Utils
                                                                                                                                                        +
                                                                                                                                                        This is the LDCCRM utility class
                                                                                                                                                        + +
                                                                                                                                                        + + + + + + +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +

                                                                                                                                                        Search results

                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          + + +
                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient.html b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient.html new file mode 100644 index 0000000..4654e06 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/packages/LDCCrmClient.html @@ -0,0 +1,178 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                          +

                                                                                                                                                          CRM V2

                                                                                                                                                          + + + + + +
                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          + + + + +
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                          + + +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +

                                                                                                                                                          Search results

                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + + +
                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/packages/None.html b/crm-client-3.0.6/docs/client-api/packages/None.html new file mode 100644 index 0000000..d9a0064 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/packages/None.html @@ -0,0 +1,154 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                            +

                                                                                                                                                            CRM V2

                                                                                                                                                            + + + + + +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + + + + +
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                            + +
                                                                                                                                                            +

                                                                                                                                                            None

                                                                                                                                                            + + + + + + + + + +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +

                                                                                                                                                            Search results

                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + + +
                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/packages/default.html b/crm-client-3.0.6/docs/client-api/packages/default.html new file mode 100644 index 0000000..3cdcc15 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/packages/default.html @@ -0,0 +1,163 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                              +

                                                                                                                                                              CRM V2

                                                                                                                                                              + + + + + +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              + + + + +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              + +
                                                                                                                                                              +

                                                                                                                                                              API Documentation

                                                                                                                                                              + +

                                                                                                                                                              + Packages + +

                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              LDCCrmClient
                                                                                                                                                              +
                                                                                                                                                              None
                                                                                                                                                              +
                                                                                                                                                              + + + + + + + + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +

                                                                                                                                                              Search results

                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + + +
                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/reports/deprecated.html b/crm-client-3.0.6/docs/client-api/reports/deprecated.html new file mode 100644 index 0000000..0e14398 --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/reports/deprecated.html @@ -0,0 +1,152 @@ + + + + + CRM V2 » Deprecated elements + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                +

                                                                                                                                                                CRM V2

                                                                                                                                                                + + + + + +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + + + + +
                                                                                                                                                                + + +
                                                                                                                                                                +

                                                                                                                                                                Deprecated

                                                                                                                                                                + + +
                                                                                                                                                                + No deprecated elements have been found in this project. +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +

                                                                                                                                                                Search results

                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + + +
                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/reports/errors.html b/crm-client-3.0.6/docs/client-api/reports/errors.html new file mode 100644 index 0000000..31cf4ac --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/reports/errors.html @@ -0,0 +1,151 @@ + + + + + CRM V2 » Compilation errors + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                  +

                                                                                                                                                                  CRM V2

                                                                                                                                                                  + + + + + +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + + + + +
                                                                                                                                                                  + + +
                                                                                                                                                                  +

                                                                                                                                                                  Errors

                                                                                                                                                                  + + +
                                                                                                                                                                  No errors have been found in this project.
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +

                                                                                                                                                                  Search results

                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    + + +
                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/docs/client-api/reports/markers.html b/crm-client-3.0.6/docs/client-api/reports/markers.html new file mode 100644 index 0000000..faa9c4a --- /dev/null +++ b/crm-client-3.0.6/docs/client-api/reports/markers.html @@ -0,0 +1,152 @@ + + + + + CRM V2 » Markers + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                    +

                                                                                                                                                                    CRM V2

                                                                                                                                                                    + + + + + +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    + + + + +
                                                                                                                                                                    + + +
                                                                                                                                                                    +

                                                                                                                                                                    Markers

                                                                                                                                                                    + +
                                                                                                                                                                    + No markers have been found in this project. +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +

                                                                                                                                                                    Search results

                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/docs/usages/client.md b/crm-client-3.0.6/docs/usages/client.md new file mode 100644 index 0000000..e1b6eed --- /dev/null +++ b/crm-client-3.0.6/docs/usages/client.md @@ -0,0 +1,14 @@ +# Normal usage + +[Back](../../readme.md) + +Classes you can use are located in the ``\LDC\LDCCRM\Models`` namespace. + +- ``Answer`` : To provide an answers to a specific question. +- ``Customer`` : To fetch, create, update, delete, authenticate, activate, opt in or opt out you customer. +- ``Question`` : Used to fetch questions, unanswered question but also answered questions. +- ``SingleOptin`` : Use this to create a single opt in. For people who might just want to subscribe to a newsletter. +- ``Stats`` : Use this to fetch stats about questions or just general stats. + + +For more detailed info, you may refer to the [Client API DOC](../client-api/index.html) diff --git a/crm-client-3.0.6/docs/usages/custom.md b/crm-client-3.0.6/docs/usages/custom.md new file mode 100644 index 0000000..5c1e7b8 --- /dev/null +++ b/crm-client-3.0.6/docs/usages/custom.md @@ -0,0 +1,194 @@ +# Custom implementation + +[Back](../../readme.md) + +***PLEASE NOTE: This should not be ever implemented on client side js lib or any. Doing this you will allow access all you clients data and make a security breach. You api secret shall remain secret. At your request it can be regenerated.*** + +The service provided is a restful api. The access is pretty simple but remains secured as possible. Make sure **you read all of the sections** as you handle **api errors** correctly. +The two steps you may achieve are +- Authenticate to the api correctly +- Implement a correct usage of each available calls you need. + +## Prerequisite + +From here you will learn how to consume data from LDC CRM. +**The prerequisite are still the same.** +You will need a **service ``token`` and ``password``**. The endpoint remains the same **https://ldc-crm.ldc.fr**. + +--- +There are multiple calls you can make but you will need to get some informations from this repo. + +- From file ``apiConfig.readonly.json`` + + - version: Use this as a landmark, if version evolves you may hear from us warning changes. As a matter effect from here only security updates may be applied. Any major changes may be discussed with partners. + - timestampTimeout: This value is in seconds and means that if your call cannot reach us until this delay it will not be accepted. + - apiRequestRatePerMinute: This is the threshold per minutes that will trigger throttling, thus your request may be refused. + - servicesDBCache: This value you can just ignore it. + +- From file ``src/routes.json`` + + - This contains the api routes. You can have more explications on different routes in [docs/usages/custom/routes.md](custom/routes.md). + +## Authentication + +The system used is completely restful. It prevents timing attacks, replay attacks (in a time lap), man in the middle attacks. We choose to adopt a system like Amazon web service uses https://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/HMACAuth.html + +We consider this to be enough as the point the actual CRM is, also with regard to the financial resources available to LDC. + +### How to create a signature ? + +You will need to assemble information on your request. + +- The URL including scheme, host and path (eg: *https://ldc-crm.fr/customer/1*) +- Http method in lowercase (eg: *get*) +- Parameters + + All request must be sent as ``www/url-encoded``. Also parameters you have to collect here must be flattened joined with dots. example: + + 'code_on_pack', + 'code_unique', + 'label_type_support', + 'operation', + 'order_date', + 'support_code', + 'type', + 'deliver.firstname', + 'deliver.lastname', + 'deliver.email', + 'deliver.address', + 'deliver.address2', + 'deliver.city', + 'deliver.postcode', + 'deliver.phone' + + Then have to be sorted by ***natural order*** eg: + + 'code_on_pack', + 'code_unique', + 'deliver.address', + 'deliver.address2', + 'deliver.city', + 'deliver.email', + 'deliver.firstname', + 'deliver.lastname', + 'deliver.phone', + 'deliver.postcode', + 'label_type_support', + 'operation', + 'order_date', + 'support_code', + 'type' + + Notes: To these parameters you must add two things your service token and a timestamp. + + **eg:** + - ``bearer_token=cc82d97eb7235812f5cc1561ddcd64969`` + - ``timestamp=2021-12-29 21:10:31`` + + Time stamp must have this format ``Y-m-d H:i:s`` as a classic DateTime. This will serve as nonce making harder to guess data obfuscated with ssl. + + After this you will have to **concatenate all parameters names with their values using ``=`` then all parameters between them using char ``&``**. Note that each parameter key and value must be url encoded according [rfc3986](http://www.faqs.org/rfcs/rfc3986.html). + + Finally you will have to concatenate those 3 items, uri, method and parameters with ``\n``. eg: + + http://127.0.0.1/api/v2/arcadia/outgoing-mail/default\n + post\n + bearer_token=cc82d97eb7235812f5cc1561ddcd64969 + 4810e56&deliver.address=94%2C%20chemin%20de%20 + Hamon%0A79344%20Bonnin&deliver.address2=& + deliver.city=Blanchet&deliver.email=danielle + 42%40gmail.com&deliver.firstname=Marianne& + deliver.lastname=Morvan&deliver.phone=01%2043%20 + 53%2013%2073&deliver.postcode=92%20197&label_ + type_support=Fond%20carte%20Aimant%C3%A9& + operation=16&order_date=2021%2F12%2F29%2022 + %3A10%3A31&order_num=23&package_unit_weight=0& + state_order=0&support_code=1×tamp=2021- + 12-29%2021%3A10%3A31 + + This string will be used to calculate our signature using [hmac, rfc2104](http://www.faqs.org/rfcs/rfc2104.html) method with algo sha256, the result will be binary encode as base64. + + **PHP** + + base64_encode(hash_hmac( + 'sha256', + $concatRequestString, + $servicePassword, + true + )); + + **ASP.NET** + + var secretKeyByteArray = Convert.FromBase64String(APIKey); + + byte[] signature = Encoding.UTF8.GetBytes(signatureRawData); + + using (HMACSHA256 hmac = new HMACSHA256(secretKeyByteArray)) + { + byte[] signatureBytes = hmac.ComputeHash(signature); + string requestSignatureBase64String = Convert.ToBase64String(signatureBytes); + } + + **JAVA** + + byte[] secretKey = "bearer_pwd".getBytes("UTF-8"); + byte[] message = "https://ldc-crm.fr\nget\n....".getBytes("UTF-8") + byte[] hmacSha256 = null; + String base64HmacSha256 = ''; + try { + Mac mac = Mac.getInstance("HmacSHA256"); + SecretKeySpec secretKeySpec = new SecretKeySpec(secretKey, "HmacSHA256"); + mac.init(secretKeySpec); + hmacSha256 = mac.doFinal(message); + base64HmacSha256 = Base64.getEncoder().encodeToString(hmacSha256); + } catch (Exception e) { + throw new RuntimeException("Failed to calculate hmac-sha256", e); + } + + This way your request will be able to pass checks, also to be authenticated since you give your api token we now which data you may be served with. + Details about how to implement this is up to you after that. If your request is not accepted you will always have details about what is wrong. + +### Mandatory parameters for all requests + +Every request except ``apiV2.ping`` needs a signature parameter. Some you have to provide foreach each request ``bearer_token``, ``timestamp``, ``signature``. Also only request. + +## HTTP CONTENT-TYPE + +Every request have to be json_encoded. The crm will only handle json requests and also respond only in json. No other ways are handled at this time. This means your requests will need to have two HTTP headers +- ``Accept: application/json`` +- ``Content-Type: application/json`` +Of course body will have to be encoded as json to be a valid request. Minimal body content shall be ``{}``, ``[]`` following [RFC-4627](https://www.rfc-editor.org/rfc/rfc4627) instead of [RFC-8259](https://www.rfc-editor.org/rfc/rfc8259) witch is the actual "Internet Standard" as marked from 2017. + +## Handling Errors + +All responses will be constants, this means you will always find a json array which contains : + + [ + 'status': 'OK' or 'KO', + 'data': [], + 'version': '3.0.0' // status version + ] + +***So having to handle error you will find*** + + [ + 'status': 'KO' + 'data': [ + 'code': xxx, // integer + 'message': 'error message text' + ] + 'version': '3.0.0' + ] + + +You may find all types of error message in ``src/Enums/ApiError.php``, this file contains detailed description of many errors, so we won't detail them in here. + +In general you may catch http error code 500 which is a general error of course. + +**You may also have errors that are not covered in the ApiError doc**. This could happen even if all code of crm is tested, we encourage you to have a log supervision of your project. + +**You may use errors messages to display in your app**. As for example the ``validationFailed`` error will always contain detailed information about why your request was rejected. This information will be in french language and could be displayed directly to your users. How ever you could also wrap all of this using only the error code. + +## Routes + +Please refer to the [Prerequisite section](#prerequisite) diff --git a/crm-client-3.0.6/docs/usages/custom/routes.md b/crm-client-3.0.6/docs/usages/custom/routes.md new file mode 100644 index 0000000..d308b79 --- /dev/null +++ b/crm-client-3.0.6/docs/usages/custom/routes.md @@ -0,0 +1,576 @@ +# Routes + +[Back](../custom.md) + +Summary + +- [Routes](#routes) + - [Ping](#ping) + - [Opt in](#opt-in) + - [Create a customer](#create-a-customer) + - [Get customer info](#get-customer-info) + - [Update a customer](#update-a-customer) + - [Delete a customer](#delete-a-customer) + - [Authenticate a customer](#authenticate-a-customer) + - [Send customer answers to a question](#send-customer-answers-to-a-question) + - [Question listing](#question-listing) + - [Question listing unanswered only](#question-listing-unanswered-only) + - [Question listing with customer answers](#question-listing-with-customer-answers) + - [Get brand statistics](#get-brand-statistics) + - [Get question statistics](#get-question-statistics) + +**For all error codes please refer to ``src/Enums/ApiError.php``** + +--- + +## Ping + +Name : ``apiV2.ping`` + +URI : ``api/v2/ping`` + +METHOD: ``GET|HEAD`` + +PARAMETERS : + + [] + +This is the only route that don't need to be authenticated. You may use this to check in a supervision or any if you can still reach LDC crm and if it has not crashed. + + Response code you always be. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +--- + +## Opt in + +Name : ``apiV2.optin`` + +URI : ``api/v2/optin`` + +METHOD: ``POST`` + +PARAMETERS: + + [ + 'email': '', // A valid email string + 'status': 0 or 1 // A valid boolean value + ] + +You this you may create or delete a single opt in. This is used to add one of your customer to you mailing lists. So you may bind this to a subscribe newsletter button for example. ***Please note that you cannot create a single opt in using the same email than one of you customer have*** + + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``singleOptinCustomerExists`` : If a customer using the same email exists. You are not allowed to create a single opt in. + - ``validationException`` : + - If the provided ``email`` is not valid, checks are dns, rfc, spoof based. This is as strict as possible to prevent your contact list to contain trash. + - If ``status`` do not contain a boolean value. + +--- + +## Create a customer + +Name : ``apiV2.customers.store`` + +URI : ``api/v2/customers`` + +METHOD: ``POST`` + +PARAMETERS: + +- ``firstname`` : **required** *string* min:1 max:255 +- ``lastname`` : **required** *string* min:1 max:255 +- ``email`` : **required** max:255 A valid email string +- ``password`` : **required** min:8 max:255 Need to have mixed case, letters, numbers and must not be compromised. This means it must not appear as breached on the internet. +- ``birth_date``: **required** Must be with format Y-m-d. +- ``address``: *string* max:255. +- ``address2``: *string* max:255. +- ``phone``: *string* Accepted country phones are France, Belgium Luxembourg. +- ``country``: *integer* This has to contain a value of ``src/Enums/Country.php``, accepted are France or DROM COM (guadeloupe, martinique, frenchGuiana, reunion, saintPierreAndMiquelon, mayotte, saintBarthelemy, saintMartinFrenchPart, wallisAndFutuna, frenchPolynesia, newCaledonia), Belgium or Luxembourg +- ``city``: *string* min:2 max:255 +- ``postcode``: *string* A valid postal code of France, Belgium or Luxembourg +- ``opt_in``: **required** A valid boolean + + +This is used of course to create a new customer. +***Note : Reponse will contain hashcode, this is the ID of your customer and you may store this information along with its email*** + +**Note : If a single optin exists with you customer email, it will be deleted** + + +Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + firstname string + lastname string + birth_date datetime + address string + address2 string + phone string + country string + city string + postcode string + opt_in boolean + hashcode string + status boolean + ], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``validationException`` : If any provided parameter is invalid. + +--- + +## Get customer info + +Name : ``apiV2.customers.show`` + +URI : ``api/v2/customers/{serviceCustomer}`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + + +This is used to get data about a customer, to show profile page for example. **You are encouraged to cache these informations** and update only when the customer updates its own informations. + + +Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + firstname string + lastname string + birth_date datetime + address string + address2 string + phone string + country string + city string + postcode string + opt_in boolean + hashcode string + status boolean + ], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Update a customer + +Name : ``apiV2.customers.update`` + +URI : ``api/v2/customers/{serviceCustomer}`` + +METHOD: ``PUT|PATCH`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + +PARAMETERS: + +- ``firstname`` : **at_least** *string* min:1 max:255 +- ``lastname`` : **at_least** *string* min:1 max:255 +- ``email`` : **at_least** max:255 A valid email string +- ``password`` : **at_least** min:8 max:255 Need to have mixed case, letters, numbers and must not be compromised. This means it must not appear as breached on the internet. +- ``birth_date``: **at_least** Must be with format Y-m-d. +- ``address``: **at_least** max:255. +- ``address2``: **at_least** max:255. +- ``phone``: **at_least** Accepted country phones are France, Belgium Luxembourg. +- ``country``: **at_least** This has to contain a value of ``src/Enums/Country.php``, accepted are France or DROM COM (guadeloupe, martinique, frenchGuiana, reunion, saintPierreAndMiquelon, mayotte, saintBarthelemy, saintMartinFrenchPart, wallisAndFutuna, frenchPolynesia, newCaledonia), Belgium or Luxembourg +- ``city``: **at_least** min:2 max:255 +- ``postcode``: **at_least** A valid postal code of France, Belgium or Luxembourg +- ``opt_in``: **at_least** A valid boolean + + +This is used to update customer info. You must at least update on field while calling this. + +**Note : at_least rule means that at least one of these fields must be present. Send only fields you want to update.** + + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + firstname string + lastname string + birth_date datetime + address string + address2 string + phone string + country string + city string + postcode string + opt_in boolean + hashcode string + status boolean + ], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``validationException`` : If any provided parameter is invalid. + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Delete a customer + +Name : ``apiV2.customers.destroy`` + +URI : ``api/v2/customers/{serviceCustomer}`` + +METHOD: ``DELETE`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + + +This is used to remove customer info. ***This cannot be undone and will completly remove all of customer info on our systems.*** + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Authenticate a customer + +Name : ``apiV2.customers.authenticate`` + +URI : ``api/v2/customers/authenticate`` + +METHOD: ``POST`` + +PARAMETERS : + +- ``email`` : This should be a valid email address and of course exists in you customer database. +- ``password`` : The actual customer password. + + +Use this to test Customer credentials and determine if there are valid. You shall then allow login. + +***Note : make sure you use https connection, http only connections are not accepted*** + +**Note: to login a customer account must be activated, this means you shall verify yourself his email address, than call the activate url.** + +Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``validationFailed`` : If email is no valid. + - ``authFailed`` : If credentials aren't valid. + - ``customerNotActivated`` : If the customer account is not activated. + +--- + +## Send customer answers to a question + +Name : ``apiV2.customers.answers.store`` + +URI : ``api/v2/customers/{serviceCustomer}/answers`` + +METHOD: ``POST`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + +PARAMETERS : + +- ``question`` : This has to be a valid question ID +- ``answers`` : Has to be an array that contains a valid list of answers ID. Even if only one answer is given it still has to be an array. Answers has to belong to the provided question ID. + + This is to provide customer answer(s) + + ***Note : no checks are done as for the question type, this means even the question should have only one answer you can provide multiple answers.*** + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [], + 'version': 'x.x.x' + ] + +Possible errors: + + - ``validationFailed`` : If any of the provided IDS are not valid. + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Question listing + +Name : ``apiV2.questions.index`` + +URI : ``api/v2/questions`` + +METHOD: ``GET|HEAD`` + + Use this call to fetch all existing questions. This method also provide the possible answers. We encourage you to cache them. + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + [ + 'id' => xx, // question id + 'type' => xx // ``src/Enums/QuestionType.php``, + 'question' => 'question string', // The question string. + 'answers' => [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ], + ... + ] + ], + 'version': 'x.x.x' + ] + +--- + +## Question listing unanswered only + +Name : ``apiV2.questions.unAnsweredBy`` + +URI : ``api/v2/questions/un-answered-by/{serviceCustomer}`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + + Use this to get question that are still unanswered by your customer. + + ***Note : no checks are done as for the question type, this means even the question should have only one answer you can provide multiple answers.*** + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + [ + 'id' => xx, // question id + 'type' => xx // ``src/Enums/QuestionType.php``, + 'question' => 'question string', // The question string. + 'answers' => [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ] + ], + ... + ], + 'version': 'x.x.x' + ] + + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Question listing with customer answers + +Name : ``apiV2.questions.indexWithResponse`` + +URI : ``api/v2/questions/with-answers/{serviceCustomer}`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + +Use this to get all questions associated with answers already given by your customer. + +***Note : no checks are done as for the question type, this means even the question should have only one answer you can provide multiple answers.*** + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + [ + 'id' => xx, // question id + 'type' => xx // ``src/Enums/QuestionType.php``, + 'question' => 'question string', // The question string. + 'answers' => [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ], + 'customerAnswers' => [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ] + ], + ... + ], + 'version': 'x.x.x' + ] + + - ``modelNotFound`` : If the customer could not be found. + +--- + +## Get brand statistics + +Name : ``apiV2.stats.brandStats`` + +URI : ``api/v2/stats/brand`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : + +- ``serviceCustomer`` : The customer hashcode or email, But you may absolutely prefer the customer hashcode. Requested uris leave trace in system logs. + +PARAMETERS : +- ``start`` : Must be a date with format ``Y-m-d``, also has to represent a date before ``end`` +- ``end`` Must be a date with format ``Y-m-d``, also has to represent a date after ``start`` + +**Note : The period shall not be exceed 3 month.** + +***Note : Active user are those who connected since last 6 month, new accounts also are those who has been created since less than 6 months.*** + +Use this to get General stats about your service. + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + [ + [ + 'date' => 'Y-m-d', // Date with format + 'active' => xx, // Active users integer + 'inactive' => xx, // Inactive users integer + 'old_accounts' => xx, // Old accounts integer + 'new_accounts' => xx, // New accounts integer + 'total_accounts' => xx, // Total accounts integer + 'total_opt_in' => xx // Total opt in integer + ] + ], + ... + ], + 'version': 'x.x.x' + ] + + - ``validationFailed`` : If any of the provided dates are invalid. + +--- + +## Get question statistics + +Name : ``apiV2.stats.questionStats`` + +URI : ``api/v2/stats/question/{serviceQuestion}`` + +METHOD: ``GET|HEAD`` + +ROUTE PARAMETERS : +- ``serviceQuestion`` : The question ID you want statistics about. + +PARAMETERS : +- ``start`` : Must be a date with format ``Y-m-d``, also has to represent a date before ``end`` +- ``end`` Must be a date with format ``Y-m-d``, also has to represent a date after ``start`` + +**Note : The period shall not be exceed 3 month.** + +***Note : Active user are those who connected since last 6 month, new accounts also are those who has been created since less than 6 months.*** + +Use this to get General stats about your service. + + Response should be if ok. + + HTTP : 200 + [ + 'status': 'OK', + 'data': [ + 'answers' [ + [ + 'id' => xx, // Answer ID + 'answer' => 'answer string' + ], + ... + ], + 'stats' => [ + 'Y-m-d' = [ + 'xx' => xx, // Index is answer ID, value is integer the total count of persons who gave this answer this day. + ], + ... + ] + ], + 'version': 'x.x.x' + ] + + - ``modelNotFound`` : If the question could not be found. + - ``validationFailed`` : If any of the provided dates are invalid. diff --git a/crm-client-3.0.6/docs/usages/wordpress-client.md b/crm-client-3.0.6/docs/usages/wordpress-client.md new file mode 100644 index 0000000..c6c0daa --- /dev/null +++ b/crm-client-3.0.6/docs/usages/wordpress-client.md @@ -0,0 +1,21 @@ +# Wordpress client usage + +[Back](../../readme.md) + +This client is experimental. It may be used on wordpress sites. + +To use it you shall create a new table : + + // TABLE LDC CUSTOMERS + CREATE TABLE `ldc_wp_customers` ( + `hashcode` VARCHAR(36) NOT NULL DEFAULT '' COMMENT 'Le hashcode (UUID)', + `email` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Le customer email', + `uuid` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Code unique (inscripton, validation, etc)', + PRIMARY KEY (`hashcode`) + ) + COMMENT='Les customers sur un WP liées à la CRM' + COLLATE='utf8mb4_unicode_ci'; + +It will handle for you the customer session provide login and logout method but also other services provided by the crm. + +For more detailed info, you may refer to the [Client API DOC](../client-api/index.html) diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-CrmApiV2.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-CrmApiV2.html new file mode 100644 index 0000000..80b4c8e --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-CrmApiV2.html @@ -0,0 +1,785 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                      +

                                                                                                                                                                      CRM V2

                                                                                                                                                                      + + + + + +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + + +
                                                                                                                                                                      + + +
                                                                                                                                                                      +

                                                                                                                                                                      + CrmApiV2 + + +
                                                                                                                                                                      + in package + +
                                                                                                                                                                      + + +

                                                                                                                                                                      + + + +

                                                                                                                                                                      This is the main class to interact with the CRM

                                                                                                                                                                      + + + + + + + + + +

                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $apiInterface + +  : ApiInterface +
                                                                                                                                                                      +
                                                                                                                                                                      The Api object that will handle requests and responses
                                                                                                                                                                      + +
                                                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                                                      +
                                                                                                                                                                      CrmApiV2
                                                                                                                                                                      + +
                                                                                                                                                                      + getCustomer() + +  : Customer|null +
                                                                                                                                                                      +
                                                                                                                                                                      Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.
                                                                                                                                                                      + +
                                                                                                                                                                      + getCustomerOrNew() + +  : Customer +
                                                                                                                                                                      +
                                                                                                                                                                      Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.
                                                                                                                                                                      + +
                                                                                                                                                                      + login() + +  : bool +
                                                                                                                                                                      +
                                                                                                                                                                      Test a customer credentials to see if it can login
                                                                                                                                                                      + +
                                                                                                                                                                      + ping() + +  : bool +
                                                                                                                                                                      +
                                                                                                                                                                      Use this the ping the crm and know its current status
                                                                                                                                                                      + +
                                                                                                                                                                      + setStatus() + +  : bool +
                                                                                                                                                                      +
                                                                                                                                                                      Set the single optin status for an email
                                                                                                                                                                      + +
                                                                                                                                                                      + + + + + + +
                                                                                                                                                                      +

                                                                                                                                                                      + Properties + +

                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + $apiInterface + + + +

                                                                                                                                                                      + + +

                                                                                                                                                                      The Api object that will handle requests and responses

                                                                                                                                                                      + + + private + static ApiInterface + $apiInterface + + + + + + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +

                                                                                                                                                                      + Methods + +

                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + __construct() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      CrmApiV2

                                                                                                                                                                      + + + public + __construct([string|null $endpoint = null ][, string|null $bearerToken = null ][, string|null $bearerPwd = null ]) : mixed + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $endpoint + : string|null + = null
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $bearerToken + : string|null + = null
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $bearerPwd + : string|null + = null
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + mixed + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + getCustomer() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.

                                                                                                                                                                      + + + public + getCustomer(string $identification) : Customer|null + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $identification + : string +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      The customer hashcode or email.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                      +
                                                                                                                                                                      + +

                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + Customer|null + — +

                                                                                                                                                                      Return null if the customer was not found

                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + getCustomerOrNew() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Get a customer from its hashcode or email +If it does not exists a new instance +will be returned. You would have +to call its save method later on.

                                                                                                                                                                      + + + public + getCustomerOrNew(string $identification) : Customer + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $identification + : string +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      The customer hashcode or email.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                      +
                                                                                                                                                                      + +

                                                                                                                                                                      Squiz.Commenting.FunctionComment.EmptyThrows

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + Customer + — +

                                                                                                                                                                      A client Customer model.

                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + login() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Test a customer credentials to see if it can login

                                                                                                                                                                      + + + public + static login(string $email, string $password) : bool + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $email + : string +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $password + : string +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                      +
                                                                                                                                                                      + +

                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + ping() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Use this the ping the crm and know its current status

                                                                                                                                                                      + + + public + ping() : bool + + + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs +on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      + setStatus() + +

                                                                                                                                                                      + + +

                                                                                                                                                                      Set the single optin status for an email

                                                                                                                                                                      + + + public + static setStatus(string $email, bool $opt_in) : bool + + +
                                                                                                                                                                      Parameters
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + $email + : string +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + $opt_in + : bool +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      + Tags + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + CrmException + +

                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + throws +
                                                                                                                                                                      +
                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                      +
                                                                                                                                                                      + +

                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      Return values
                                                                                                                                                                      + bool + — +

                                                                                                                                                                      true if succeeded

                                                                                                                                                                      +
                                                                                                                                                                      + + +
                                                                                                                                                                      +
                                                                                                                                                                      + + + + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +

                                                                                                                                                                      Search results

                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + + +
                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiError.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiError.html new file mode 100644 index 0000000..67fa657 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiError.html @@ -0,0 +1,884 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                        +

                                                                                                                                                                        CRM V2

                                                                                                                                                                        + + + + + +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        + + +
                                                                                                                                                                        +

                                                                                                                                                                        + ApiError + + + extends BaseEnum + + +
                                                                                                                                                                        + in package + +
                                                                                                                                                                        + + +

                                                                                                                                                                        + + + +

                                                                                                                                                                        This describes an API error.

                                                                                                                                                                        + + + +
                                                                                                                                                                        + Tags + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + subpackage +
                                                                                                                                                                        +
                                                                                                                                                                        + +

                                                                                                                                                                        enums

                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + + + + +

                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + apiAuthFailed() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + authFailed() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + authorizationException() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + customerAlreadyActive() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + customerExists() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + customerNotActivated() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + labels() + +  : array<string|int, mixed> +
                                                                                                                                                                        +
                                                                                                                                                                        Libellés des possibilités de cet énumération (label)
                                                                                                                                                                        + +
                                                                                                                                                                        + methodNotAllowed() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + missingParameter() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + modelNotFound() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + singleOptinCustomerExists() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + throttleRequestsException() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + validationFailed() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + values() + +  : array<string|int, mixed> +
                                                                                                                                                                        +
                                                                                                                                                                        Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                        + +
                                                                                                                                                                        + wrongTimeStamp() + +  : +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                        +

                                                                                                                                                                        + Methods + +

                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + apiAuthFailed() + +

                                                                                                                                                                        + + + + + public + static apiAuthFailed() : + +

                                                                                                                                                                        The authentification to the api failed. You may have to +check into config or .env file for your service credentials

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + authFailed() + +

                                                                                                                                                                        + + + + + public + static authFailed() : + +

                                                                                                                                                                        The authentification for this customer failed because of wrong credentials

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + authorizationException() + +

                                                                                                                                                                        + + + + + public + static authorizationException() : + +

                                                                                                                                                                        You are maybe trying to access data that is out of your range. +This should not happen normally, it is here to allow you to handle this case. +If this happens fill a ticket on https://supportweb.ldc.fr +with some technical details

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + customerAlreadyActive() + +

                                                                                                                                                                        + + + + + public + static customerAlreadyActive() : + +

                                                                                                                                                                        You have requested to activate a customer account, +but it is already active

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + customerExists() + +

                                                                                                                                                                        + + + + + public + static customerExists() : + +

                                                                                                                                                                        The customer already exists

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + customerNotActivated() + +

                                                                                                                                                                        + + + + + public + static customerNotActivated() : + +

                                                                                                                                                                        The customer account is not activated and cannot perform +this action

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + labels() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Libellés des possibilités de cet énumération (label)

                                                                                                                                                                        + + + public + static labels() : array<string|int, mixed> + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + array<string|int, mixed> + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + methodNotAllowed() + +

                                                                                                                                                                        + + + + + public + static methodNotAllowed() : + +

                                                                                                                                                                        This http method is not allowed

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + missingParameter() + +

                                                                                                                                                                        + + + + + public + static missingParameter() : + +

                                                                                                                                                                        The request is missing some parameters

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + modelNotFound() + +

                                                                                                                                                                        + + + + + public + static modelNotFound() : + +

                                                                                                                                                                        The request model was not found (typically the customer)

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + singleOptinCustomerExists() + +

                                                                                                                                                                        + + + + + public + static singleOptinCustomerExists() : + +

                                                                                                                                                                        You have requested to create a single optin for an email, +but it already exists

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + throttleRequestsException() + +

                                                                                                                                                                        + + + + + public + static throttleRequestsException() : + +

                                                                                                                                                                        Too many requests have been attempted. The is a throttle security. +Normally you should not trigger this. +If this happens fill a ticket on https://supportweb.ldc.fr +with some technical details

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + validationFailed() + +

                                                                                                                                                                        + + + + + public + static validationFailed() : + +

                                                                                                                                                                        This means some data could not be validated, +you may have to look into message to get the details

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + values() + +

                                                                                                                                                                        + + +

                                                                                                                                                                        Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                        + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + array<string|int, mixed> + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        + wrongTimeStamp() + +

                                                                                                                                                                        + + + + + public + static wrongTimeStamp() : + +

                                                                                                                                                                        The timestamp given is wrong. This would happen in case if +a replay attack scenario. Timestamps are provided in headers +and in the http body

                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        Return values
                                                                                                                                                                        + + — + + +
                                                                                                                                                                        +
                                                                                                                                                                        + + + + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +

                                                                                                                                                                        Search results

                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + + +
                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiStatus.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiStatus.html new file mode 100644 index 0000000..7673647 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ApiStatus.html @@ -0,0 +1,335 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                          +

                                                                                                                                                                          CRM V2

                                                                                                                                                                          + + + + + +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + + +
                                                                                                                                                                          + + +
                                                                                                                                                                          +

                                                                                                                                                                          + ApiStatus + + + extends BaseEnum + + +
                                                                                                                                                                          + in package + +
                                                                                                                                                                          + + +

                                                                                                                                                                          + + + + + + +
                                                                                                                                                                          + Tags + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + subpackage +
                                                                                                                                                                          +
                                                                                                                                                                          + +

                                                                                                                                                                          enums

                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + + + + +

                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + KO() + +  : +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          + OK() + +  : +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          + + + + + + + +
                                                                                                                                                                          +

                                                                                                                                                                          + Methods + +

                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + KO() + +

                                                                                                                                                                          + + + + + public + static KO() : + + + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          + OK() + +

                                                                                                                                                                          + + + + + public + static OK() : + + + + + +
                                                                                                                                                                          Return values
                                                                                                                                                                          + + — + + +
                                                                                                                                                                          +
                                                                                                                                                                          + + + + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +

                                                                                                                                                                          Search results

                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            + + +
                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html new file mode 100644 index 0000000..022ec3b --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaMailType.html @@ -0,0 +1,375 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                            +

                                                                                                                                                                            CRM V2

                                                                                                                                                                            + + + + + +
                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            + + + + +
                                                                                                                                                                            + + +
                                                                                                                                                                            +

                                                                                                                                                                            + ArcadiaMailType + + + extends BaseEnum + + +
                                                                                                                                                                            + in package + +
                                                                                                                                                                            + + +

                                                                                                                                                                            + + + + + + +
                                                                                                                                                                            + Tags + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            + subpackage +
                                                                                                                                                                            +
                                                                                                                                                                            + +

                                                                                                                                                                            enums

                                                                                                                                                                            +
                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            + + + + + + +

                                                                                                                                                                            + Table of Contents + +

                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            + default() + +  : +
                                                                                                                                                                            +
                                                                                                                                                                            + +
                                                                                                                                                                            + game() + +  : +
                                                                                                                                                                            +
                                                                                                                                                                            + +
                                                                                                                                                                            + values() + +  : array<string|int, mixed> +
                                                                                                                                                                            +
                                                                                                                                                                            Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                            + +
                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                            +

                                                                                                                                                                            + Methods + +

                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + default() + +

                                                                                                                                                                            + + + + + public + static default() : + + + + + +
                                                                                                                                                                            Return values
                                                                                                                                                                            + + — + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + game() + +

                                                                                                                                                                            + + + + + public + static game() : + + + + + +
                                                                                                                                                                            Return values
                                                                                                                                                                            + + — + + +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            + values() + +

                                                                                                                                                                            + + +

                                                                                                                                                                            Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                            + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                            Return values
                                                                                                                                                                            + array<string|int, mixed> + — + + +
                                                                                                                                                                            +
                                                                                                                                                                            + + + + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +

                                                                                                                                                                            Search results

                                                                                                                                                                            + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + + +
                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html new file mode 100644 index 0000000..8c5779b --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html @@ -0,0 +1,375 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                              +

                                                                                                                                                                              CRM V2

                                                                                                                                                                              + + + + + +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + + +
                                                                                                                                                                              + + +
                                                                                                                                                                              +

                                                                                                                                                                              + ArcadiaOrderType + + + extends BaseEnum + + +
                                                                                                                                                                              + in package + +
                                                                                                                                                                              + + +

                                                                                                                                                                              + + + + + + +
                                                                                                                                                                              + Tags + +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              + subpackage +
                                                                                                                                                                              +
                                                                                                                                                                              + +

                                                                                                                                                                              enums

                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + + + + +

                                                                                                                                                                              + Table of Contents + +

                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              + cb() + +  : +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              + check() + +  : +
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              + values() + +  : array<string|int, mixed> +
                                                                                                                                                                              +
                                                                                                                                                                              Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                              + +
                                                                                                                                                                              + + + + + + + +
                                                                                                                                                                              +

                                                                                                                                                                              + Methods + +

                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + cb() + +

                                                                                                                                                                              + + + + + public + static cb() : + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + check() + +

                                                                                                                                                                              + + + + + public + static check() : + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              + values() + +

                                                                                                                                                                              + + +

                                                                                                                                                                              Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                              + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                              Return values
                                                                                                                                                                              + array<string|int, mixed> + — + + +
                                                                                                                                                                              +
                                                                                                                                                                              + + + + +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              +

                                                                                                                                                                              Search results

                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                + + +
                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-Country.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-Country.html new file mode 100644 index 0000000..4172692 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-Country.html @@ -0,0 +1,10056 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                +

                                                                                                                                                                                CRM V2

                                                                                                                                                                                + + + + + +
                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                + + + + +
                                                                                                                                                                                + + +
                                                                                                                                                                                +

                                                                                                                                                                                + Country + + + extends BaseEnum + + +
                                                                                                                                                                                + in package + +
                                                                                                                                                                                + + +

                                                                                                                                                                                + + + +

                                                                                                                                                                                Liste de Pays

                                                                                                                                                                                + + + +
                                                                                                                                                                                + Tags + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                + source +
                                                                                                                                                                                +
                                                                                                                                                                                + + +
                                                                                                                                                                                +
                                                                                                                                                                                + subpackage +
                                                                                                                                                                                +
                                                                                                                                                                                + +

                                                                                                                                                                                enums

                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                + afghanistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + alandIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + albania() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + algeria() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + americanSamoa() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + andorra() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + angola() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + anguilla() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + antarctica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + antiguaAndBarbuda() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + argentina() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + armenia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + aruba() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + australia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + austria() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + azerbaijan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bahamas() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bahrain() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bangladesh() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + barbados() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + belarus() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + belgium() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + belize() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + benin() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bermuda() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bhutan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + boliviaPlurinationalStateOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bonaireSintEustatiusAndSaba() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bosniaAndHerzegovina() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + botswana() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bouvetIsland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + brazil() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + britishIndianOceanTerritory() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bruneiDarussalam() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + bulgaria() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + burkinaFaso() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + burundi() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cambodia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cameroon() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + canada() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + capeVerde() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + caymanIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + centralAfricanRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + chad() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + chile() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + china() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + christmasIsland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cocosKeelingIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + colombia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + comoros() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + congo() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + congoTheDemocraticRepublicOfThe() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cookIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + costaRica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + coteDivoire() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + croatia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cuba() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + curacao() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + cyprus() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + czechRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + denmark() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + djibouti() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + dominica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + dominicanRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ecuador() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + egypt() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + elSalvador() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + equatorialGuinea() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + eritrea() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + estonia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ethiopia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + falklandIslandsMalvinas() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + faroeIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + fiji() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + finland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + france() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + frenchGuiana() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + frenchPolynesia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + frenchSouthernTerritories() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + gabon() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + gambia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + georgia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + germany() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ghana() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + gibraltar() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + greece() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + greenland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + grenada() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guadeloupe() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guam() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guatemala() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guernsey() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guinea() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guineaBissau() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + guyana() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + haiti() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + heardIslandAndMcdonaldIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + holySeeVaticanCityState() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + honduras() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + hongKong() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + hungary() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + iceland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + india() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + indonesia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + iranIslamicRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + iraq() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ireland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + isleOfMan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + israel() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + italy() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + jamaica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + japan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + jersey() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + jordan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kazakhstan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kenya() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kiribati() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + koreaDemocraticPeoplesRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + koreaRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kuwait() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + kyrgyzstan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + labels() + +  : array<string|int, mixed> +
                                                                                                                                                                                +
                                                                                                                                                                                Libellés des possibilités de cet énumération (label)
                                                                                                                                                                                + +
                                                                                                                                                                                + laoPeoplesDemocraticRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + latvia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + lebanon() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + lesotho() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + liberia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + libya() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + liechtenstein() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + lithuania() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + luxembourg() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + macao() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + macedoniaTheFormerYugoslavRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + madagascar() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + malawi() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + malaysia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + maldives() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mali() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + malta() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + marshallIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + martinique() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mauritania() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mauritius() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mayotte() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mexico() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + micronesiaFederatedStatesOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + moldovaRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + monaco() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mongolia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + montenegro() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + montserrat() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + morocco() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + mozambique() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + myanmar() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + namibia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + nauru() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + nepal() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + netherlands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + newCaledonia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + newZealand() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + nicaragua() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + niger() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + nigeria() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + niue() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + norfolkIsland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + northernMarianaIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + norway() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + oman() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + pakistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + palau() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + palestineStateOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + panama() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + papuaNewGuinea() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + paraguay() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + peru() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + philippines() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + pitcairn() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + poland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + portugal() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + puertoRico() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + qatar() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + reunion() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + romania() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + russianFederation() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + rwanda() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintBarthelemy() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintHelenaAscensionAndTristanDaCunha() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintKittsAndNevis() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintLucia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintMartinFrenchPart() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintPierreAndMiquelon() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saintVincentAndTheGrenadines() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + samoa() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sanMarino() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saoTomeAndPrincipe() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + saudiArabia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + senegal() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + serbia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + seychelles() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sierraLeone() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + singapore() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sintMaartenDutchPart() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + slovakia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + slovenia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + solomonIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + somalia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + southAfrica() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + southGeorgiaAndTheSouthSandwichIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + southSudan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + spain() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sriLanka() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sudan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + suriname() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + svalbardAndJanMayen() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + swaziland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + sweden() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + switzerland() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + syrianArabRepublic() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + taiwanProvinceOfChina() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tajikistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tanzaniaUnitedRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + thailand() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + timorLeste() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + togo() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tokelau() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tonga() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + trinidadAndTobago() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tunisia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + turkey() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + turkmenistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + turksAndCaicosIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + tuvalu() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + uganda() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + ukraine() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + unitedArabEmirates() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + unitedKingdom() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + unitedStates() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + unitedStatesMinorOutlyingIslands() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + uruguay() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + uzbekistan() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + values() + +  : array<string|int, mixed> +
                                                                                                                                                                                +
                                                                                                                                                                                Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                                + +
                                                                                                                                                                                + vanuatu() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + venezuelaBolivarianRepublicOf() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + vietNam() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + virginIslandsBritish() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + virginIslandsUs() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + wallisAndFutuna() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + westernSahara() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + yemen() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + zambia() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + zimbabwe() + +  : +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                +

                                                                                                                                                                                + Methods + +

                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + afghanistan() + +

                                                                                                                                                                                + + + + + public + static afghanistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + alandIslands() + +

                                                                                                                                                                                + + + + + public + static alandIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + albania() + +

                                                                                                                                                                                + + + + + public + static albania() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + algeria() + +

                                                                                                                                                                                + + + + + public + static algeria() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + americanSamoa() + +

                                                                                                                                                                                + + + + + public + static americanSamoa() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + andorra() + +

                                                                                                                                                                                + + + + + public + static andorra() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + angola() + +

                                                                                                                                                                                + + + + + public + static angola() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + anguilla() + +

                                                                                                                                                                                + + + + + public + static anguilla() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + antarctica() + +

                                                                                                                                                                                + + + + + public + static antarctica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + antiguaAndBarbuda() + +

                                                                                                                                                                                + + + + + public + static antiguaAndBarbuda() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + argentina() + +

                                                                                                                                                                                + + + + + public + static argentina() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + armenia() + +

                                                                                                                                                                                + + + + + public + static armenia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + aruba() + +

                                                                                                                                                                                + + + + + public + static aruba() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + australia() + +

                                                                                                                                                                                + + + + + public + static australia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + austria() + +

                                                                                                                                                                                + + + + + public + static austria() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + azerbaijan() + +

                                                                                                                                                                                + + + + + public + static azerbaijan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bahamas() + +

                                                                                                                                                                                + + + + + public + static bahamas() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bahrain() + +

                                                                                                                                                                                + + + + + public + static bahrain() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bangladesh() + +

                                                                                                                                                                                + + + + + public + static bangladesh() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + barbados() + +

                                                                                                                                                                                + + + + + public + static barbados() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + belarus() + +

                                                                                                                                                                                + + + + + public + static belarus() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + belgium() + +

                                                                                                                                                                                + + + + + public + static belgium() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + belize() + +

                                                                                                                                                                                + + + + + public + static belize() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + benin() + +

                                                                                                                                                                                + + + + + public + static benin() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bermuda() + +

                                                                                                                                                                                + + + + + public + static bermuda() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bhutan() + +

                                                                                                                                                                                + + + + + public + static bhutan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + boliviaPlurinationalStateOf() + +

                                                                                                                                                                                + + + + + public + static boliviaPlurinationalStateOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bonaireSintEustatiusAndSaba() + +

                                                                                                                                                                                + + + + + public + static bonaireSintEustatiusAndSaba() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bosniaAndHerzegovina() + +

                                                                                                                                                                                + + + + + public + static bosniaAndHerzegovina() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + botswana() + +

                                                                                                                                                                                + + + + + public + static botswana() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bouvetIsland() + +

                                                                                                                                                                                + + + + + public + static bouvetIsland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + brazil() + +

                                                                                                                                                                                + + + + + public + static brazil() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + britishIndianOceanTerritory() + +

                                                                                                                                                                                + + + + + public + static britishIndianOceanTerritory() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bruneiDarussalam() + +

                                                                                                                                                                                + + + + + public + static bruneiDarussalam() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + bulgaria() + +

                                                                                                                                                                                + + + + + public + static bulgaria() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + burkinaFaso() + +

                                                                                                                                                                                + + + + + public + static burkinaFaso() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + burundi() + +

                                                                                                                                                                                + + + + + public + static burundi() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cambodia() + +

                                                                                                                                                                                + + + + + public + static cambodia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cameroon() + +

                                                                                                                                                                                + + + + + public + static cameroon() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + canada() + +

                                                                                                                                                                                + + + + + public + static canada() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + capeVerde() + +

                                                                                                                                                                                + + + + + public + static capeVerde() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + caymanIslands() + +

                                                                                                                                                                                + + + + + public + static caymanIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + centralAfricanRepublic() + +

                                                                                                                                                                                + + + + + public + static centralAfricanRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + chad() + +

                                                                                                                                                                                + + + + + public + static chad() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + chile() + +

                                                                                                                                                                                + + + + + public + static chile() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + china() + +

                                                                                                                                                                                + + + + + public + static china() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + christmasIsland() + +

                                                                                                                                                                                + + + + + public + static christmasIsland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cocosKeelingIslands() + +

                                                                                                                                                                                + + + + + public + static cocosKeelingIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + colombia() + +

                                                                                                                                                                                + + + + + public + static colombia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + comoros() + +

                                                                                                                                                                                + + + + + public + static comoros() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + congo() + +

                                                                                                                                                                                + + + + + public + static congo() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + congoTheDemocraticRepublicOfThe() + +

                                                                                                                                                                                + + + + + public + static congoTheDemocraticRepublicOfThe() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cookIslands() + +

                                                                                                                                                                                + + + + + public + static cookIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + costaRica() + +

                                                                                                                                                                                + + + + + public + static costaRica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + coteDivoire() + +

                                                                                                                                                                                + + + + + public + static coteDivoire() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + croatia() + +

                                                                                                                                                                                + + + + + public + static croatia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cuba() + +

                                                                                                                                                                                + + + + + public + static cuba() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + curacao() + +

                                                                                                                                                                                + + + + + public + static curacao() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + cyprus() + +

                                                                                                                                                                                + + + + + public + static cyprus() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + czechRepublic() + +

                                                                                                                                                                                + + + + + public + static czechRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + denmark() + +

                                                                                                                                                                                + + + + + public + static denmark() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + djibouti() + +

                                                                                                                                                                                + + + + + public + static djibouti() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + dominica() + +

                                                                                                                                                                                + + + + + public + static dominica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + dominicanRepublic() + +

                                                                                                                                                                                + + + + + public + static dominicanRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ecuador() + +

                                                                                                                                                                                + + + + + public + static ecuador() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + egypt() + +

                                                                                                                                                                                + + + + + public + static egypt() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + elSalvador() + +

                                                                                                                                                                                + + + + + public + static elSalvador() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + equatorialGuinea() + +

                                                                                                                                                                                + + + + + public + static equatorialGuinea() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + eritrea() + +

                                                                                                                                                                                + + + + + public + static eritrea() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + estonia() + +

                                                                                                                                                                                + + + + + public + static estonia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ethiopia() + +

                                                                                                                                                                                + + + + + public + static ethiopia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + falklandIslandsMalvinas() + +

                                                                                                                                                                                + + + + + public + static falklandIslandsMalvinas() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + faroeIslands() + +

                                                                                                                                                                                + + + + + public + static faroeIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + fiji() + +

                                                                                                                                                                                + + + + + public + static fiji() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + finland() + +

                                                                                                                                                                                + + + + + public + static finland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + france() + +

                                                                                                                                                                                + + + + + public + static france() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + frenchGuiana() + +

                                                                                                                                                                                + + + + + public + static frenchGuiana() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + frenchPolynesia() + +

                                                                                                                                                                                + + + + + public + static frenchPolynesia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + frenchSouthernTerritories() + +

                                                                                                                                                                                + + + + + public + static frenchSouthernTerritories() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + gabon() + +

                                                                                                                                                                                + + + + + public + static gabon() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + gambia() + +

                                                                                                                                                                                + + + + + public + static gambia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + georgia() + +

                                                                                                                                                                                + + + + + public + static georgia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + germany() + +

                                                                                                                                                                                + + + + + public + static germany() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ghana() + +

                                                                                                                                                                                + + + + + public + static ghana() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + gibraltar() + +

                                                                                                                                                                                + + + + + public + static gibraltar() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + greece() + +

                                                                                                                                                                                + + + + + public + static greece() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + greenland() + +

                                                                                                                                                                                + + + + + public + static greenland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + grenada() + +

                                                                                                                                                                                + + + + + public + static grenada() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guadeloupe() + +

                                                                                                                                                                                + + + + + public + static guadeloupe() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guam() + +

                                                                                                                                                                                + + + + + public + static guam() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guatemala() + +

                                                                                                                                                                                + + + + + public + static guatemala() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guernsey() + +

                                                                                                                                                                                + + + + + public + static guernsey() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guinea() + +

                                                                                                                                                                                + + + + + public + static guinea() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guineaBissau() + +

                                                                                                                                                                                + + + + + public + static guineaBissau() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + guyana() + +

                                                                                                                                                                                + + + + + public + static guyana() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + haiti() + +

                                                                                                                                                                                + + + + + public + static haiti() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + heardIslandAndMcdonaldIslands() + +

                                                                                                                                                                                + + + + + public + static heardIslandAndMcdonaldIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + holySeeVaticanCityState() + +

                                                                                                                                                                                + + + + + public + static holySeeVaticanCityState() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + honduras() + +

                                                                                                                                                                                + + + + + public + static honduras() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + hongKong() + +

                                                                                                                                                                                + + + + + public + static hongKong() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + hungary() + +

                                                                                                                                                                                + + + + + public + static hungary() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + iceland() + +

                                                                                                                                                                                + + + + + public + static iceland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + india() + +

                                                                                                                                                                                + + + + + public + static india() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + indonesia() + +

                                                                                                                                                                                + + + + + public + static indonesia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + iranIslamicRepublicOf() + +

                                                                                                                                                                                + + + + + public + static iranIslamicRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + iraq() + +

                                                                                                                                                                                + + + + + public + static iraq() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ireland() + +

                                                                                                                                                                                + + + + + public + static ireland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + isleOfMan() + +

                                                                                                                                                                                + + + + + public + static isleOfMan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + israel() + +

                                                                                                                                                                                + + + + + public + static israel() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + italy() + +

                                                                                                                                                                                + + + + + public + static italy() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + jamaica() + +

                                                                                                                                                                                + + + + + public + static jamaica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + japan() + +

                                                                                                                                                                                + + + + + public + static japan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + jersey() + +

                                                                                                                                                                                + + + + + public + static jersey() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + jordan() + +

                                                                                                                                                                                + + + + + public + static jordan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kazakhstan() + +

                                                                                                                                                                                + + + + + public + static kazakhstan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kenya() + +

                                                                                                                                                                                + + + + + public + static kenya() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kiribati() + +

                                                                                                                                                                                + + + + + public + static kiribati() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + koreaDemocraticPeoplesRepublicOf() + +

                                                                                                                                                                                + + + + + public + static koreaDemocraticPeoplesRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + koreaRepublicOf() + +

                                                                                                                                                                                + + + + + public + static koreaRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kuwait() + +

                                                                                                                                                                                + + + + + public + static kuwait() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + kyrgyzstan() + +

                                                                                                                                                                                + + + + + public + static kyrgyzstan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + labels() + +

                                                                                                                                                                                + + +

                                                                                                                                                                                Libellés des possibilités de cet énumération (label)

                                                                                                                                                                                + + + public + static labels() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + array<string|int, mixed> + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + laoPeoplesDemocraticRepublic() + +

                                                                                                                                                                                + + + + + public + static laoPeoplesDemocraticRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + latvia() + +

                                                                                                                                                                                + + + + + public + static latvia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + lebanon() + +

                                                                                                                                                                                + + + + + public + static lebanon() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + lesotho() + +

                                                                                                                                                                                + + + + + public + static lesotho() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + liberia() + +

                                                                                                                                                                                + + + + + public + static liberia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + libya() + +

                                                                                                                                                                                + + + + + public + static libya() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + liechtenstein() + +

                                                                                                                                                                                + + + + + public + static liechtenstein() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + lithuania() + +

                                                                                                                                                                                + + + + + public + static lithuania() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + luxembourg() + +

                                                                                                                                                                                + + + + + public + static luxembourg() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + macao() + +

                                                                                                                                                                                + + + + + public + static macao() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + macedoniaTheFormerYugoslavRepublicOf() + +

                                                                                                                                                                                + + + + + public + static macedoniaTheFormerYugoslavRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + madagascar() + +

                                                                                                                                                                                + + + + + public + static madagascar() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + malawi() + +

                                                                                                                                                                                + + + + + public + static malawi() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + malaysia() + +

                                                                                                                                                                                + + + + + public + static malaysia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + maldives() + +

                                                                                                                                                                                + + + + + public + static maldives() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mali() + +

                                                                                                                                                                                + + + + + public + static mali() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + malta() + +

                                                                                                                                                                                + + + + + public + static malta() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + marshallIslands() + +

                                                                                                                                                                                + + + + + public + static marshallIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + martinique() + +

                                                                                                                                                                                + + + + + public + static martinique() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mauritania() + +

                                                                                                                                                                                + + + + + public + static mauritania() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mauritius() + +

                                                                                                                                                                                + + + + + public + static mauritius() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mayotte() + +

                                                                                                                                                                                + + + + + public + static mayotte() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mexico() + +

                                                                                                                                                                                + + + + + public + static mexico() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + micronesiaFederatedStatesOf() + +

                                                                                                                                                                                + + + + + public + static micronesiaFederatedStatesOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + moldovaRepublicOf() + +

                                                                                                                                                                                + + + + + public + static moldovaRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + monaco() + +

                                                                                                                                                                                + + + + + public + static monaco() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mongolia() + +

                                                                                                                                                                                + + + + + public + static mongolia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + montenegro() + +

                                                                                                                                                                                + + + + + public + static montenegro() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + montserrat() + +

                                                                                                                                                                                + + + + + public + static montserrat() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + morocco() + +

                                                                                                                                                                                + + + + + public + static morocco() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + mozambique() + +

                                                                                                                                                                                + + + + + public + static mozambique() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + myanmar() + +

                                                                                                                                                                                + + + + + public + static myanmar() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + namibia() + +

                                                                                                                                                                                + + + + + public + static namibia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + nauru() + +

                                                                                                                                                                                + + + + + public + static nauru() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + nepal() + +

                                                                                                                                                                                + + + + + public + static nepal() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + netherlands() + +

                                                                                                                                                                                + + + + + public + static netherlands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + newCaledonia() + +

                                                                                                                                                                                + + + + + public + static newCaledonia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + newZealand() + +

                                                                                                                                                                                + + + + + public + static newZealand() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + nicaragua() + +

                                                                                                                                                                                + + + + + public + static nicaragua() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + niger() + +

                                                                                                                                                                                + + + + + public + static niger() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + nigeria() + +

                                                                                                                                                                                + + + + + public + static nigeria() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + niue() + +

                                                                                                                                                                                + + + + + public + static niue() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + norfolkIsland() + +

                                                                                                                                                                                + + + + + public + static norfolkIsland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + northernMarianaIslands() + +

                                                                                                                                                                                + + + + + public + static northernMarianaIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + norway() + +

                                                                                                                                                                                + + + + + public + static norway() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + oman() + +

                                                                                                                                                                                + + + + + public + static oman() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + pakistan() + +

                                                                                                                                                                                + + + + + public + static pakistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + palau() + +

                                                                                                                                                                                + + + + + public + static palau() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + palestineStateOf() + +

                                                                                                                                                                                + + + + + public + static palestineStateOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + panama() + +

                                                                                                                                                                                + + + + + public + static panama() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + papuaNewGuinea() + +

                                                                                                                                                                                + + + + + public + static papuaNewGuinea() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + paraguay() + +

                                                                                                                                                                                + + + + + public + static paraguay() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + peru() + +

                                                                                                                                                                                + + + + + public + static peru() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + philippines() + +

                                                                                                                                                                                + + + + + public + static philippines() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + pitcairn() + +

                                                                                                                                                                                + + + + + public + static pitcairn() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + poland() + +

                                                                                                                                                                                + + + + + public + static poland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + portugal() + +

                                                                                                                                                                                + + + + + public + static portugal() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + puertoRico() + +

                                                                                                                                                                                + + + + + public + static puertoRico() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + qatar() + +

                                                                                                                                                                                + + + + + public + static qatar() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + reunion() + +

                                                                                                                                                                                + + + + + public + static reunion() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + romania() + +

                                                                                                                                                                                + + + + + public + static romania() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + russianFederation() + +

                                                                                                                                                                                + + + + + public + static russianFederation() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + rwanda() + +

                                                                                                                                                                                + + + + + public + static rwanda() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintBarthelemy() + +

                                                                                                                                                                                + + + + + public + static saintBarthelemy() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintHelenaAscensionAndTristanDaCunha() + +

                                                                                                                                                                                + + + + + public + static saintHelenaAscensionAndTristanDaCunha() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintKittsAndNevis() + +

                                                                                                                                                                                + + + + + public + static saintKittsAndNevis() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintLucia() + +

                                                                                                                                                                                + + + + + public + static saintLucia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintMartinFrenchPart() + +

                                                                                                                                                                                + + + + + public + static saintMartinFrenchPart() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintPierreAndMiquelon() + +

                                                                                                                                                                                + + + + + public + static saintPierreAndMiquelon() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saintVincentAndTheGrenadines() + +

                                                                                                                                                                                + + + + + public + static saintVincentAndTheGrenadines() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + samoa() + +

                                                                                                                                                                                + + + + + public + static samoa() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sanMarino() + +

                                                                                                                                                                                + + + + + public + static sanMarino() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saoTomeAndPrincipe() + +

                                                                                                                                                                                + + + + + public + static saoTomeAndPrincipe() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + saudiArabia() + +

                                                                                                                                                                                + + + + + public + static saudiArabia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + senegal() + +

                                                                                                                                                                                + + + + + public + static senegal() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + serbia() + +

                                                                                                                                                                                + + + + + public + static serbia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + seychelles() + +

                                                                                                                                                                                + + + + + public + static seychelles() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sierraLeone() + +

                                                                                                                                                                                + + + + + public + static sierraLeone() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + singapore() + +

                                                                                                                                                                                + + + + + public + static singapore() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sintMaartenDutchPart() + +

                                                                                                                                                                                + + + + + public + static sintMaartenDutchPart() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + slovakia() + +

                                                                                                                                                                                + + + + + public + static slovakia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + slovenia() + +

                                                                                                                                                                                + + + + + public + static slovenia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + solomonIslands() + +

                                                                                                                                                                                + + + + + public + static solomonIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + somalia() + +

                                                                                                                                                                                + + + + + public + static somalia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + southAfrica() + +

                                                                                                                                                                                + + + + + public + static southAfrica() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + southGeorgiaAndTheSouthSandwichIslands() + +

                                                                                                                                                                                + + + + + public + static southGeorgiaAndTheSouthSandwichIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + southSudan() + +

                                                                                                                                                                                + + + + + public + static southSudan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + spain() + +

                                                                                                                                                                                + + + + + public + static spain() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sriLanka() + +

                                                                                                                                                                                + + + + + public + static sriLanka() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sudan() + +

                                                                                                                                                                                + + + + + public + static sudan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + suriname() + +

                                                                                                                                                                                + + + + + public + static suriname() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + svalbardAndJanMayen() + +

                                                                                                                                                                                + + + + + public + static svalbardAndJanMayen() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + swaziland() + +

                                                                                                                                                                                + + + + + public + static swaziland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + sweden() + +

                                                                                                                                                                                + + + + + public + static sweden() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + switzerland() + +

                                                                                                                                                                                + + + + + public + static switzerland() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + syrianArabRepublic() + +

                                                                                                                                                                                + + + + + public + static syrianArabRepublic() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + taiwanProvinceOfChina() + +

                                                                                                                                                                                + + + + + public + static taiwanProvinceOfChina() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tajikistan() + +

                                                                                                                                                                                + + + + + public + static tajikistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tanzaniaUnitedRepublicOf() + +

                                                                                                                                                                                + + + + + public + static tanzaniaUnitedRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + thailand() + +

                                                                                                                                                                                + + + + + public + static thailand() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + timorLeste() + +

                                                                                                                                                                                + + + + + public + static timorLeste() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + togo() + +

                                                                                                                                                                                + + + + + public + static togo() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tokelau() + +

                                                                                                                                                                                + + + + + public + static tokelau() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tonga() + +

                                                                                                                                                                                + + + + + public + static tonga() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + trinidadAndTobago() + +

                                                                                                                                                                                + + + + + public + static trinidadAndTobago() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tunisia() + +

                                                                                                                                                                                + + + + + public + static tunisia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + turkey() + +

                                                                                                                                                                                + + + + + public + static turkey() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + turkmenistan() + +

                                                                                                                                                                                + + + + + public + static turkmenistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + turksAndCaicosIslands() + +

                                                                                                                                                                                + + + + + public + static turksAndCaicosIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + tuvalu() + +

                                                                                                                                                                                + + + + + public + static tuvalu() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + uganda() + +

                                                                                                                                                                                + + + + + public + static uganda() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + ukraine() + +

                                                                                                                                                                                + + + + + public + static ukraine() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + unitedArabEmirates() + +

                                                                                                                                                                                + + + + + public + static unitedArabEmirates() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + unitedKingdom() + +

                                                                                                                                                                                + + + + + public + static unitedKingdom() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + unitedStates() + +

                                                                                                                                                                                + + + + + public + static unitedStates() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + unitedStatesMinorOutlyingIslands() + +

                                                                                                                                                                                + + + + + public + static unitedStatesMinorOutlyingIslands() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + uruguay() + +

                                                                                                                                                                                + + + + + public + static uruguay() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + uzbekistan() + +

                                                                                                                                                                                + + + + + public + static uzbekistan() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + values() + +

                                                                                                                                                                                + + +

                                                                                                                                                                                Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                                + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + array<string|int, mixed> + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + vanuatu() + +

                                                                                                                                                                                + + + + + public + static vanuatu() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + venezuelaBolivarianRepublicOf() + +

                                                                                                                                                                                + + + + + public + static venezuelaBolivarianRepublicOf() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + vietNam() + +

                                                                                                                                                                                + + + + + public + static vietNam() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + virginIslandsBritish() + +

                                                                                                                                                                                + + + + + public + static virginIslandsBritish() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + virginIslandsUs() + +

                                                                                                                                                                                + + + + + public + static virginIslandsUs() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + wallisAndFutuna() + +

                                                                                                                                                                                + + + + + public + static wallisAndFutuna() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + westernSahara() + +

                                                                                                                                                                                + + + + + public + static westernSahara() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + yemen() + +

                                                                                                                                                                                + + + + + public + static yemen() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + zambia() + +

                                                                                                                                                                                + + + + + public + static zambia() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                + zimbabwe() + +

                                                                                                                                                                                + + + + + public + static zimbabwe() : + + + + + +
                                                                                                                                                                                Return values
                                                                                                                                                                                + + — + + +
                                                                                                                                                                                +
                                                                                                                                                                                + + + + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                Search results

                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + +
                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-LogLevel.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-LogLevel.html new file mode 100644 index 0000000..0aa2021 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-LogLevel.html @@ -0,0 +1,625 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                  +

                                                                                                                                                                                  CRM V2

                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  + + +
                                                                                                                                                                                  +

                                                                                                                                                                                  + LogLevel + + + extends BaseEnum + + +
                                                                                                                                                                                  + in package + +
                                                                                                                                                                                  + + +

                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  + subpackage +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +

                                                                                                                                                                                  enums

                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                  + Table of Contents + +

                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + ALERT() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + CRIT() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + DEBUG() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + EMERG() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + ERR() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + INFO() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + NOTICE() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + WARNING() + +  : +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  + values() + +  : array<string|int, mixed> +
                                                                                                                                                                                  +
                                                                                                                                                                                  Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                                  + +
                                                                                                                                                                                  + + + + + + + +
                                                                                                                                                                                  +

                                                                                                                                                                                  + Methods + +

                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + ALERT() + +

                                                                                                                                                                                  + + + + + public + static ALERT() : + +

                                                                                                                                                                                  action must be taken immediately

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + CRIT() + +

                                                                                                                                                                                  + + + + + public + static CRIT() : + +

                                                                                                                                                                                  critical conditions

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + DEBUG() + +

                                                                                                                                                                                  + + + + + public + static DEBUG() : + +

                                                                                                                                                                                  debug-level message

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + EMERG() + +

                                                                                                                                                                                  + + + + + public + static EMERG() : + +

                                                                                                                                                                                  system is unusable

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + ERR() + +

                                                                                                                                                                                  + + + + + public + static ERR() : + +

                                                                                                                                                                                  critical conditions

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + INFO() + +

                                                                                                                                                                                  + + + + + public + static INFO() : + +

                                                                                                                                                                                  informational message

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + NOTICE() + +

                                                                                                                                                                                  + + + + + public + static NOTICE() : + +

                                                                                                                                                                                  normal, but significant, condition

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + WARNING() + +

                                                                                                                                                                                  + + + + + public + static WARNING() : + +

                                                                                                                                                                                  critical conditions

                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  + values() + +

                                                                                                                                                                                  + + +

                                                                                                                                                                                  Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                                  + + + protected + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                  Return values
                                                                                                                                                                                  + array<string|int, mixed> + — + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  Search results

                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + +
                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-QuestionType.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-QuestionType.html new file mode 100644 index 0000000..3f8f304 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Enums-QuestionType.html @@ -0,0 +1,414 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                    +

                                                                                                                                                                                    CRM V2

                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + + +
                                                                                                                                                                                    + + +
                                                                                                                                                                                    +

                                                                                                                                                                                    + QuestionType + + + extends BaseEnum + + +
                                                                                                                                                                                    + in package + +
                                                                                                                                                                                    + + +

                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + subpackage +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +

                                                                                                                                                                                    enums

                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                    + Table of Contents + +

                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + checkbox() + +  : +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + radio() + +  : +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + select() + +  : +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    + values() + +  : array<string|int, mixed> +
                                                                                                                                                                                    +
                                                                                                                                                                                    Valeurs des possibilités de cet énumération (value)
                                                                                                                                                                                    + +
                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                    +

                                                                                                                                                                                    + Methods + +

                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + checkbox() + +

                                                                                                                                                                                    + + + + + public + static checkbox() : + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + radio() + +

                                                                                                                                                                                    + + + + + public + static radio() : + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + select() + +

                                                                                                                                                                                    + + + + + public + static select() : + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    + values() + +

                                                                                                                                                                                    + + +

                                                                                                                                                                                    Valeurs des possibilités de cet énumération (value)

                                                                                                                                                                                    + + + public + static values() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                    Return values
                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    + + + + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +

                                                                                                                                                                                    Search results

                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-AccessError.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-AccessError.html new file mode 100644 index 0000000..3a5c03b --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-AccessError.html @@ -0,0 +1,319 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                      +

                                                                                                                                                                                      CRM V2

                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + + +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      +

                                                                                                                                                                                      + AccessError + + + extends Error + + +
                                                                                                                                                                                      + in package + +
                                                                                                                                                                                      + + +

                                                                                                                                                                                      + + + +

                                                                                                                                                                                      This is thrown when trying to set a value on an object property that does not exist.

                                                                                                                                                                                      + + + +
                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + subpackage +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +

                                                                                                                                                                                      exceptions

                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                                                                      +
                                                                                                                                                                                      AccessError
                                                                                                                                                                                      + +
                                                                                                                                                                                      + + + + + + + +
                                                                                                                                                                                      +

                                                                                                                                                                                      + Methods + +

                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      + __construct() + +

                                                                                                                                                                                      + + +

                                                                                                                                                                                      AccessError

                                                                                                                                                                                      + + + public + __construct(string $objectName, string $propertyName) : mixed + + +
                                                                                                                                                                                      Parameters
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + $objectName + : string +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      The object name where the property does not exist.

                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + $propertyName + : string +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      The property name that does not exist.

                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + +
                                                                                                                                                                                      Return values
                                                                                                                                                                                      + mixed + — + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +

                                                                                                                                                                                      Search results

                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html new file mode 100644 index 0000000..76fa30e --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ApiErrorException.html @@ -0,0 +1,595 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                        +

                                                                                                                                                                                        CRM V2

                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + ApiErrorException + + + extends Exception + + +
                                                                                                                                                                                        + in package + +
                                                                                                                                                                                        + + +

                                                                                                                                                                                        + + + +

                                                                                                                                                                                        This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm

                                                                                                                                                                                        + +

                                                                                                                                                                                        On the client an ApiErrorException would +also be throw with the ApiError corresponding to +the situation

                                                                                                                                                                                        +
                                                                                                                                                                                        + + +
                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + subpackage +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +

                                                                                                                                                                                        exceptions

                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $error + +  : ApiError +
                                                                                                                                                                                        +
                                                                                                                                                                                        Api Error +This value makes the error more explicit.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $httpCode + +  : int +
                                                                                                                                                                                        +
                                                                                                                                                                                        This is the http code returned by the crm.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + $message + +  : string +
                                                                                                                                                                                        +
                                                                                                                                                                                        This is an explicit error message, +ou may print this to the front or not depending +on $error value
                                                                                                                                                                                        + +
                                                                                                                                                                                        + __construct() + +  : mixed +
                                                                                                                                                                                        +
                                                                                                                                                                                        Create a new exception base on ApiError enum.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getApiError() + +  : ApiError +
                                                                                                                                                                                        +
                                                                                                                                                                                        Get the Api Error
                                                                                                                                                                                        + +
                                                                                                                                                                                        + getStatusCode() + +  : int +
                                                                                                                                                                                        +
                                                                                                                                                                                        Get the http code
                                                                                                                                                                                        + +
                                                                                                                                                                                        + report() + +  : void +
                                                                                                                                                                                        +
                                                                                                                                                                                        This is used by laravel only.
                                                                                                                                                                                        + +
                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + Properties + +

                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $error + + + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Api Error +This value makes the error more explicit.

                                                                                                                                                                                        + + + protected + ApiError + $error + + +

                                                                                                                                                                                        Handling these errors are normal as inputs or +request may be undesired or refused by the crm.

                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $httpCode + + + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        This is the http code returned by the crm.

                                                                                                                                                                                        + + + protected + int + $httpCode + + +

                                                                                                                                                                                        This value could be used to handle errors. +But please take in consideration $error first

                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + $message + + + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        This is an explicit error message, +ou may print this to the front or not depending +on $error value

                                                                                                                                                                                        + + + protected + string + $message + + + + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + Methods + +

                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + __construct() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Create a new exception base on ApiError enum.

                                                                                                                                                                                        + + + public + __construct(ApiError $error[, int $httpCode = 400 ][, string $message = '' ][, Throwable|null $previous = null ]) : mixed + + +
                                                                                                                                                                                        Parameters
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $error + : ApiError +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $httpCode + : int + = 400
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $message + : string + = ''
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + $previous + : Throwable|null + = null
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + mixed + — + + +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +

                                                                                                                                                                                        + getStatusCode() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        Get the http code

                                                                                                                                                                                        + + + public + getStatusCode() : int + + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + int + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        + report() + +

                                                                                                                                                                                        + + +

                                                                                                                                                                                        This is used by laravel only.

                                                                                                                                                                                        + + + public + report() : void + +

                                                                                                                                                                                        It uses Log class to print the error.

                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        Return values
                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +

                                                                                                                                                                                        Search results

                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-CrmException.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-CrmException.html new file mode 100644 index 0000000..8f1da3e --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-CrmException.html @@ -0,0 +1,310 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                          +

                                                                                                                                                                                          CRM V2

                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +

                                                                                                                                                                                          + CrmException + + + extends Exception + + +
                                                                                                                                                                                          + in package + +
                                                                                                                                                                                          + + +

                                                                                                                                                                                          + + + +

                                                                                                                                                                                          This is a critical error.

                                                                                                                                                                                          + +

                                                                                                                                                                                          The request could not be handled. You may dump any value you can +get before submitting a ticker to https://supportweb.ldc.fr

                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + subpackage +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +

                                                                                                                                                                                          exceptions

                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + codeCoverageIgnore +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + report() + +  : void +
                                                                                                                                                                                          +
                                                                                                                                                                                          This is used by laravel only.
                                                                                                                                                                                          + +
                                                                                                                                                                                          + + + + + + + +
                                                                                                                                                                                          +

                                                                                                                                                                                          + Methods + +

                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          + report() + +

                                                                                                                                                                                          + + +

                                                                                                                                                                                          This is used by laravel only.

                                                                                                                                                                                          + + + public + report() : void + +

                                                                                                                                                                                          It uses Log class to print the error.

                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          Return values
                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          + + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          Search results

                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + +
                                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html new file mode 100644 index 0000000..191f5a2 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-SkipValidationException.html @@ -0,0 +1,245 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                            +

                                                                                                                                                                                            CRM V2

                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + + + +
                                                                                                                                                                                            + + +
                                                                                                                                                                                            +

                                                                                                                                                                                            + SkipValidationException + + + extends Exception + + +
                                                                                                                                                                                            + in package + +
                                                                                                                                                                                            + + +

                                                                                                                                                                                            + + + +

                                                                                                                                                                                            Used only for internal validator

                                                                                                                                                                                            + + + +
                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + subpackage +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +

                                                                                                                                                                                            exceptions

                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            Search results

                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + +
                                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ValidationException.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ValidationException.html new file mode 100644 index 0000000..f6cefc1 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-ValidationException.html @@ -0,0 +1,308 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                              +

                                                                                                                                                                                              CRM V2

                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              + + +
                                                                                                                                                                                              +

                                                                                                                                                                                              + ValidationException + + + extends Exception + + +
                                                                                                                                                                                              + in package + +
                                                                                                                                                                                              + + +

                                                                                                                                                                                              + + + +

                                                                                                                                                                                              This would be thrown if a data could not be validated +on any models

                                                                                                                                                                                              + + + +
                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + subpackage +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +

                                                                                                                                                                                              exceptions

                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + codeCoverageIgnore +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                              + Table of Contents + +

                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + report() + +  : void +
                                                                                                                                                                                              +
                                                                                                                                                                                              This is used by laravel only.
                                                                                                                                                                                              + +
                                                                                                                                                                                              + + + + + + + +
                                                                                                                                                                                              +

                                                                                                                                                                                              + Methods + +

                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              + report() + +

                                                                                                                                                                                              + + +

                                                                                                                                                                                              This is used by laravel only.

                                                                                                                                                                                              + + + public + report() : void + +

                                                                                                                                                                                              It uses Log class to print the error.

                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              Return values
                                                                                                                                                                                              + void + — + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              Search results

                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html new file mode 100644 index 0000000..73c0da5 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html @@ -0,0 +1,310 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                +

                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                +

                                                                                                                                                                                                + WpCrmInvalidJsonUserInfo + + + extends Error + + +
                                                                                                                                                                                                + in package + +
                                                                                                                                                                                                + + +

                                                                                                                                                                                                + + + +

                                                                                                                                                                                                This is thrown when trying to read WP customer from DB json data.

                                                                                                                                                                                                + + + +
                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + subpackage +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +

                                                                                                                                                                                                exceptions

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + __construct() + +  : mixed +
                                                                                                                                                                                                +
                                                                                                                                                                                                WpCrmInvalidJsonUserInfo
                                                                                                                                                                                                + +
                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                +

                                                                                                                                                                                                + Methods + +

                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                + __construct() + +

                                                                                                                                                                                                + + +

                                                                                                                                                                                                WpCrmInvalidJsonUserInfo

                                                                                                                                                                                                + + + public + __construct(string $message) : mixed + + +
                                                                                                                                                                                                Parameters
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + $message + : string +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                The error message.

                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                Return values
                                                                                                                                                                                                + mixed + — + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Search results

                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Answer.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Answer.html new file mode 100644 index 0000000..5dd47ba --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Answer.html @@ -0,0 +1,845 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + Answer + + + extends CrmClientModel + + +
                                                                                                                                                                                                  + in package + +
                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  + + + +

                                                                                                                                                                                                  This class represents an answer +It has a method to submit answers

                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + category +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +

                                                                                                                                                                                                  Api Models

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + subpackage +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +

                                                                                                                                                                                                  models

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + author +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +

                                                                                                                                                                                                  Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                  + Table of Contents + +

                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $answers + +  : array<string|int, Answer> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $id + +  : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $question + +  : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $type + +  : QuestionType +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  The crm customer fields
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Validation rules
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $answer + +  : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  The actual answer as a string
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + $id + +  : int +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  The question id
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + __construct() + +  : mixed +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Answer
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Serialize this object to an array
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + setQuestionAnswers() + +  : bool +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Set unanswered question for a specific customer
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + Properties + +

                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $answers + + + +

                                                                                                                                                                                                  + + + + + public + array<string|int, Answer> + $answers + + +

                                                                                                                                                                                                  An array with answers

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $id + + + +

                                                                                                                                                                                                  + + + + + public + string + $id + + +

                                                                                                                                                                                                  The answer id

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $question + + + +

                                                                                                                                                                                                  + + + + + public + string + $question + + +

                                                                                                                                                                                                  The actual question as a string

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $type + + + +

                                                                                                                                                                                                  + + + + + public + QuestionType + $type + + +

                                                                                                                                                                                                  The question type to display, +it also hints wether it can accept one or multiple responses, +so only checkbox allows multiple responses

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $modelFields + + + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  The crm customer fields

                                                                                                                                                                                                  + + + protected + array<string|int, mixed> + $modelFields + = ['id', 'answer'] + + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $validation + + + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Validation rules

                                                                                                                                                                                                  + + + protected + static array<string|int, mixed> + $validation + = ['id' => 'required|int', 'answer' => 'required|string|max:255'] + + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $answer + + + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  The actual answer as a string

                                                                                                                                                                                                  + + + private + string + $answer + = null + +

                                                                                                                                                                                                  Required +Max length 255 +Field Type varchar

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + $id + + + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  The question id

                                                                                                                                                                                                  + + + private + int + $id + + +

                                                                                                                                                                                                  Required +Field Type bigInt

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + Methods + +

                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + __construct() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Answer

                                                                                                                                                                                                  + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + ValidationException + +

                                                                                                                                                                                                  If a field could not be validated.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + mixed + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + jsonSerialize() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Serialize this object to an array

                                                                                                                                                                                                  + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + array<string|int, mixed> + — + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  + setQuestionAnswers() + +

                                                                                                                                                                                                  + + +

                                                                                                                                                                                                  Set unanswered question for a specific customer

                                                                                                                                                                                                  + + + public + static setQuestionAnswers(string $hashcode, int $questionId, array<string|int, mixed> $answersId) : bool + + +
                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $hashcode + : string +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  The customer hashcode.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $questionId + : int +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  The question id.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + $answersId + : array<string|int, mixed> +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  An array with answers id.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + ValidationException + +

                                                                                                                                                                                                  If a hashcode is not a valid UUID.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + ValidationException + +

                                                                                                                                                                                                  If any of the provided ids are invalid.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + ApiErrorException + +

                                                                                                                                                                                                  If any error \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If given ids are wrong(CRM side).

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + CrmException + +

                                                                                                                                                                                                  If an error occurs on server side or on getting response.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  Return values
                                                                                                                                                                                                  + bool + — +

                                                                                                                                                                                                  true if succeeded

                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  Search results

                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html new file mode 100644 index 0000000..bfb379b --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html @@ -0,0 +1,2111 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + ArcadiaMailDefault + + + extends CrmClientModel + + +
                                                                                                                                                                                                    + in package + +
                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    + + + +

                                                                                                                                                                                                    This class represents the customer info with +the account validation status

                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + category +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +

                                                                                                                                                                                                    Api Models

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + subpackage +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +

                                                                                                                                                                                                    models

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + author +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +

                                                                                                                                                                                                    Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                    + Table of Contents + +

                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $address + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $address2 + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $city + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $email + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $firstname + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $label_type_support + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $lastname + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $operation + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $order_date + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $order_num + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $package_unit_weight + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $phone + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $postcode + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $state_order + +  : ArcadiaOrderType +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $support_code + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The crm customer fields
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Validation rules
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $address + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user address (street number, name, etc)
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $address2 + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user address 2nd part (street number, name, more, etc)
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $city + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user address city
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $email + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    An RFC Valid Email
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $firstname + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    First name
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $label_type_support + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia type support label
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $lastname + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Last name
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $operation + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia operation code
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $order_date + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia order date
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $order_num + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia order number
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $package_unit_weight + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia package unit weight
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $phone + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user phone
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $postcode + +  : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The user address postcode
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $state_order + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia state order
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + $support_code + +  : int +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    The arcadia support code
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + __construct() + +  : mixed +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    ArcadiaMailDefault
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + __get() + +  : mixed +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Generic accessor
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + __set() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Set prop
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + fill() + +  : void +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Fill data into this model +using validation rules
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Serialize this object to an array
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + send() + +  : bool +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Send The actual mail
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + validateAllValues() + +  : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Validate all model properties
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + Properties + +

                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $address + + + +

                                                                                                                                                                                                    + + + + + public + string + $address + + +

                                                                                                                                                                                                    The account address (street number, name, build, flat number)

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $address2 + + + +

                                                                                                                                                                                                    + + + + + public + string + $address2 + + +

                                                                                                                                                                                                    The account phone (address complement)

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $city + + + +

                                                                                                                                                                                                    + + + + + public + string + $city + + +

                                                                                                                                                                                                    The account city name

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $email + + + +

                                                                                                                                                                                                    + + + + + public + string + $email + + +

                                                                                                                                                                                                    Must be a rfc valid email on a valid domain name

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $firstname + + + +

                                                                                                                                                                                                    + + + + + public + string + $firstname + + +

                                                                                                                                                                                                    The account first name

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $label_type_support + + + +

                                                                                                                                                                                                    + + + + + public + string + $label_type_support + + +

                                                                                                                                                                                                    The arcadia type support label

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $lastname + + + +

                                                                                                                                                                                                    + + + + + public + string + $lastname + + +

                                                                                                                                                                                                    The account last name

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $operation + + + +

                                                                                                                                                                                                    + + + + + public + int + $operation + + +

                                                                                                                                                                                                    The arcadia operation code

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $order_date + + + +

                                                                                                                                                                                                    + + + + + public + string + $order_date + + +

                                                                                                                                                                                                    The arcadia order date 'yyyy-mm-dd HH:ii:ss'

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $order_num + + + +

                                                                                                                                                                                                    + + + + + public + int + $order_num + + +

                                                                                                                                                                                                    The arcadia order number

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $package_unit_weight + + + +

                                                                                                                                                                                                    + + + + + public + int + $package_unit_weight + + +

                                                                                                                                                                                                    The arcadia package unit weight

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $phone + + + +

                                                                                                                                                                                                    + + + + + public + string + $phone + + +

                                                                                                                                                                                                    The account phone

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $postcode + + + +

                                                                                                                                                                                                    + + + + + public + string + $postcode + + +

                                                                                                                                                                                                    The account city postcode

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $support_code + + + +

                                                                                                                                                                                                    + + + + + public + int + $support_code + + +

                                                                                                                                                                                                    The arcadia support code

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $modelFields + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The crm customer fields

                                                                                                                                                                                                    + + + protected + array<string|int, mixed> + $modelFields + = ['email', 'firstname', 'lastname', 'phone', 'address', 'address2', 'city', 'postcode', 'operation', 'support_code', 'label_type_support', 'order_date', 'order_num', 'state_order', 'package_unit_weight'] + + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $validation + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Validation rules

                                                                                                                                                                                                    + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'firstname' => 'required|string|min:2|max:255', 'lastname' => 'required|string|min:2|max:255', 'phone' => 'sometimes|string|min:10|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|max:255', 'postcode' => 'sometimes|string|max:255', 'operation' => 'required|int', 'support_code' => 'required|int', 'label_type_support' => 'required|string|min:2|max:255', 'order_date' => 'required|date_format:Y/m/d H:i:s', 'order_num' => 'required|int', 'state_order' => ['required'], 'package_unit_weight' => 'required|int'] + + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $address + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user address (street number, name, etc)

                                                                                                                                                                                                    + + + private + string + $address + = null + +

                                                                                                                                                                                                    Validate: sometimes,string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $address2 + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user address 2nd part (street number, name, more, etc)

                                                                                                                                                                                                    + + + private + string + $address2 + = null + +

                                                                                                                                                                                                    Validate: sometimes,string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $city + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user address city

                                                                                                                                                                                                    + + + private + string + $city + = null + +

                                                                                                                                                                                                    Validate: sometimes,string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $email + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    An RFC Valid Email

                                                                                                                                                                                                    + + + private + string + $email + = null + +

                                                                                                                                                                                                    Validate: rfc,dns,spoof,filter

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required +Min length N/A +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $firstname + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    First name

                                                                                                                                                                                                    + + + private + string + $firstname + = null + +

                                                                                                                                                                                                    Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $label_type_support + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia type support label

                                                                                                                                                                                                    + + + private + string + $label_type_support + = null + +

                                                                                                                                                                                                    Validate: string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $lastname + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Last name

                                                                                                                                                                                                    + + + private + string + $lastname + = null + +

                                                                                                                                                                                                    Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $operation + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia operation code

                                                                                                                                                                                                    + + + private + int + $operation + = null + +

                                                                                                                                                                                                    Validate: int

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $order_date + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia order date

                                                                                                                                                                                                    + + + private + string + $order_date + = null + +

                                                                                                                                                                                                    Validate: date

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $order_num + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia order number

                                                                                                                                                                                                    + + + private + int + $order_num + = null + +

                                                                                                                                                                                                    Validate: numeric,digits:9

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $package_unit_weight + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia package unit weight

                                                                                                                                                                                                    + + + private + int + $package_unit_weight + = null + +

                                                                                                                                                                                                    Validate: integer

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $phone + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user phone

                                                                                                                                                                                                    + + + private + string + $phone + = null + +

                                                                                                                                                                                                    Validate: sometimes,string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $postcode + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The user address postcode

                                                                                                                                                                                                    + + + private + string + $postcode + = null + +

                                                                                                                                                                                                    Validate: string

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $state_order + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia state order

                                                                                                                                                                                                    + + + private + int + $state_order + = null + +

                                                                                                                                                                                                    Validate: in ArcadiaOrderType::toValues()

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + $support_code + + + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    The arcadia support code

                                                                                                                                                                                                    + + + private + int + $support_code + = null + +

                                                                                                                                                                                                    Validate: int

                                                                                                                                                                                                    +

                                                                                                                                                                                                    Required

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + Methods + +

                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + __construct() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    ArcadiaMailDefault

                                                                                                                                                                                                    + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ValidationException + +

                                                                                                                                                                                                    If a field could not be validated.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + mixed + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + __get() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Generic accessor

                                                                                                                                                                                                    + + + public + __get(string $field) : mixed + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $field + : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + mixed + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + __set() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Set prop

                                                                                                                                                                                                    + + + public + __set(string $field, mixed $value) : void + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $field + : string +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + TypeError + +

                                                                                                                                                                                                    If the field has an incorrect value.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + AccessError + +

                                                                                                                                                                                                    If trying to set a value on a unknown property.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + fill() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Fill data into this model +using validation rules

                                                                                                                                                                                                    + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $properties + : array<string|int, mixed> +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ValidationException + +

                                                                                                                                                                                                    If a field could not be validated.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + jsonSerialize() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Serialize this object to an array

                                                                                                                                                                                                    + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + send() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Send The actual mail

                                                                                                                                                                                                    + + + public + send() : bool + + + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ValidationException + +

                                                                                                                                                                                                    If a field could not be validated.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + CrmException + +

                                                                                                                                                                                                    If an error occurs on server side or on getting response.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ApiErrorException + +

                                                                                                                                                                                                    If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + bool + — +

                                                                                                                                                                                                    true if succeeded

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    + validateAllValues() + +

                                                                                                                                                                                                    + + +

                                                                                                                                                                                                    Validate all model properties

                                                                                                                                                                                                    + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + $ignore + : array<string|int, mixed> + = []
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + ValidationException + +

                                                                                                                                                                                                    If a field could not be validated.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Return values
                                                                                                                                                                                                    + array<string|int, mixed> + — +

                                                                                                                                                                                                    the validated values

                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    Search results

                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html new file mode 100644 index 0000000..b6f748b --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-ArcadiaMailGame.html @@ -0,0 +1,1900 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + ArcadiaMailGame + + + extends CrmClientModel + + +
                                                                                                                                                                                                      + in package + +
                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                      This class represents the customer info with +the account validation status

                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + category +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +

                                                                                                                                                                                                      Api Models

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + subpackage +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +

                                                                                                                                                                                                      models

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + author +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +

                                                                                                                                                                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $address + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $address2 + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $city + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $code_on_pack + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $code_unique + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $email + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $firstname + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $label_type_support + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $lastname + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $operation + +  : int +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $order_date + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $phone + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $postcode + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $support_code + +  : int +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The crm customer fields
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Validation rules
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $address + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user address (street number, name, etc)
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $address2 + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user address 2nd part (street number, name, more, etc)
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $city + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user address city
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $code_on_pack + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia code on pack
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $code_unique + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia code unique
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $email + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      An RFC Valid Email
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $firstname + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      First name
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $label_type_support + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia type support label
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $lastname + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Last name
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $operation + +  : int +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia operation code
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $order_date + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia order date
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $phone + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user phone
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $postcode + +  : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The user address postcode
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + $support_code + +  : int +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      The arcadia support code
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + __construct() + +  : mixed +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      ArcadiaMailGame
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + __set() + +  : void +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Set prop
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + fill() + +  : void +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Fill data into this model +using validation rules
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Serialize this object to an array
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + send() + +  : bool +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Send The actual mail
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + Properties + +

                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $address + + + +

                                                                                                                                                                                                      + + + + + public + string + $address + + +

                                                                                                                                                                                                      The account address (street number, name, build, flat number)

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $address2 + + + +

                                                                                                                                                                                                      + + + + + public + string + $address2 + + +

                                                                                                                                                                                                      The account phone (address complement)

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $city + + + +

                                                                                                                                                                                                      + + + + + public + string + $city + + +

                                                                                                                                                                                                      The account city name

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $code_on_pack + + + +

                                                                                                                                                                                                      + + + + + public + string + $code_on_pack + + +

                                                                                                                                                                                                      The arcadia code on pack

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $code_unique + + + +

                                                                                                                                                                                                      + + + + + public + string + $code_unique + + +

                                                                                                                                                                                                      The arcadia code unique

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $email + + + +

                                                                                                                                                                                                      + + + + + public + string + $email + + +

                                                                                                                                                                                                      Must be a rfc valid email on a valid domain name

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $firstname + + + +

                                                                                                                                                                                                      + + + + + public + string + $firstname + + +

                                                                                                                                                                                                      The account first name

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $label_type_support + + + +

                                                                                                                                                                                                      + + + + + public + string + $label_type_support + + +

                                                                                                                                                                                                      The arcadia type support label

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $lastname + + + +

                                                                                                                                                                                                      + + + + + public + string + $lastname + + +

                                                                                                                                                                                                      The account last name

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $operation + + + +

                                                                                                                                                                                                      + + + + + public + int + $operation + + +

                                                                                                                                                                                                      The arcadia operation code +Validate: int +Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $order_date + + + +

                                                                                                                                                                                                      + + + + + public + string + $order_date + + +

                                                                                                                                                                                                      The arcadia order date 'yyyy-mm-dd HH:ii:ss'

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $phone + + + +

                                                                                                                                                                                                      + + + + + public + string + $phone + + +

                                                                                                                                                                                                      The account phone

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $postcode + + + +

                                                                                                                                                                                                      + + + + + public + string + $postcode + + +

                                                                                                                                                                                                      The account city postcode

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $support_code + + + +

                                                                                                                                                                                                      + + + + + public + int + $support_code + + +

                                                                                                                                                                                                      The arcadia support code

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $modelFields + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The crm customer fields

                                                                                                                                                                                                      + + + protected + array<string|int, mixed> + $modelFields + = ['email', 'firstname', 'lastname', 'phone', 'address', 'address2', 'city', 'postcode', 'operation', 'support_code', 'label_type_support', 'order_date', 'code_unique', 'code_on_pack'] + + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $validation + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Validation rules

                                                                                                                                                                                                      + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'firstname' => 'required|string|min:2|max:255', 'lastname' => 'required|string|min:2|max:255', 'phone' => 'sometimes|string|min:10|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|max:255', 'postcode' => 'sometimes|string|max:255', 'operation' => 'required|int', 'support_code' => 'required|int', 'label_type_support' => 'required|string|min:2|max:255', 'order_date' => 'required|date_format:Y/m/d H:i:s', 'code_unique' => 'required|string', 'code_on_pack' => 'sometimes|string'] + + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $address + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user address (street number, name, etc)

                                                                                                                                                                                                      + + + private + string + $address + = null + +

                                                                                                                                                                                                      Validate: sometimes,string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $address2 + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user address 2nd part (street number, name, more, etc)

                                                                                                                                                                                                      + + + private + string + $address2 + = null + +

                                                                                                                                                                                                      Validate: sometimes,string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $city + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user address city

                                                                                                                                                                                                      + + + private + string + $city + = null + +

                                                                                                                                                                                                      Validate: sometimes,string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $code_on_pack + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia code on pack

                                                                                                                                                                                                      + + + private + string + $code_on_pack + = null + +

                                                                                                                                                                                                      Validate: sometimes

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $code_unique + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia code unique

                                                                                                                                                                                                      + + + private + string + $code_unique + = null + +

                                                                                                                                                                                                      Validate: string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $email + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      An RFC Valid Email

                                                                                                                                                                                                      + + + private + string + $email + = null + +

                                                                                                                                                                                                      Validate: rfc,dns,spoof,filter

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required +Min length N/A +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $firstname + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      First name

                                                                                                                                                                                                      + + + private + string + $firstname + = null + +

                                                                                                                                                                                                      Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $label_type_support + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia type support label

                                                                                                                                                                                                      + + + private + string + $label_type_support + = null + +

                                                                                                                                                                                                      Validate: string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $lastname + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Last name

                                                                                                                                                                                                      + + + private + string + $lastname + = null + +

                                                                                                                                                                                                      Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $operation + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia operation code

                                                                                                                                                                                                      + + + private + int + $operation + = null + +

                                                                                                                                                                                                      Validate: int

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $order_date + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia order date

                                                                                                                                                                                                      + + + private + string + $order_date + = null + +

                                                                                                                                                                                                      Validate: date

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $phone + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user phone

                                                                                                                                                                                                      + + + private + string + $phone + = null + +

                                                                                                                                                                                                      Validate: sometimes,string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $postcode + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The user address postcode

                                                                                                                                                                                                      + + + private + string + $postcode + = null + +

                                                                                                                                                                                                      Validate: string

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + $support_code + + + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      The arcadia support code

                                                                                                                                                                                                      + + + private + int + $support_code + = null + +

                                                                                                                                                                                                      Validate: int

                                                                                                                                                                                                      +

                                                                                                                                                                                                      Required

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + Methods + +

                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + __construct() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      ArcadiaMailGame

                                                                                                                                                                                                      + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + ValidationException + +

                                                                                                                                                                                                      If a field could not be validated.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + mixed + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + __set() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Set prop

                                                                                                                                                                                                      + + + public + __set(string $field, mixed $value) : void + + +
                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $field + : string +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $value + : mixed +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + TypeError + +

                                                                                                                                                                                                      If the field has an incorrect value.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + AccessError + +

                                                                                                                                                                                                      If trying to set a value on a unknown property.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + fill() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Fill data into this model +using validation rules

                                                                                                                                                                                                      + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + $properties + : array<string|int, mixed> +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + ValidationException + +

                                                                                                                                                                                                      If a field could not be validated.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + jsonSerialize() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Serialize this object to an array

                                                                                                                                                                                                      + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + array<string|int, mixed> + — + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      + send() + +

                                                                                                                                                                                                      + + +

                                                                                                                                                                                                      Send The actual mail

                                                                                                                                                                                                      + + + public + send() : bool + + + + +
                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      Return values
                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                      true if succeeded

                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      Search results

                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Customer.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Customer.html new file mode 100644 index 0000000..3bd943f --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Customer.html @@ -0,0 +1,2914 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + Customer + + + extends CrmClientModel + + +
                                                                                                                                                                                                        + in package + +
                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                        This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions

                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Be warned that on server side data is normalized

                                                                                                                                                                                                        +
                                                                                                                                                                                                          +
                                                                                                                                                                                                        • firstname and lastname are 'capitalized'
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • fields are trimmed
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • non numeric chars are removed from postcode
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + example +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        examples/CustomerExample.php

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + category +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Api Models

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + subpackage +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        models

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + author +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $address + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $address2 + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $birth_date + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $city + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $country + +  : Country +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $email + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $firstname + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $hashcode + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $last_connection + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $lastname + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $opt_in + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $password + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $phone + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $postcode + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $status + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $invisibleFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The crm customer fields +the should not be visible
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The crm customer fields
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Validation rules
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $address + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address (street number, name, etc)
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $address2 + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address 2nd part (street number, name, more, etc)
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $birth_date + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Birth date
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $city + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address city
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $country + +  : Country +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address postcode
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $email + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        An RFC Valid Email
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $firstname + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        First name
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $hashcode + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user hashcode, this is link with the customer and the brand it is related to +It is used to identify the customer itself.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $last_connection + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The last time the account was connected
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $lastname + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Last name
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $opt_in + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user optin choice
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $password + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user password +This is set only when creating a user +Otherwise it has to be set to null
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $phone + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user phone
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $postcode + +  : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        The user address postcode
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + $status + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Is the account activated ?
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + __construct() + +  : mixed +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Customer
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + __get() + +  : mixed|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Generic accessor
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + __set() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Set prop on the model.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + activate() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Active the customer on CRM.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + delete() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Removes the customer from CRM.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + fill() + +  : void +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Fill values into model using validation rules.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + find() + +  : self|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Find a customer using its hashcode in the crm
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + findWithEmail() + +  : self|null +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Find a customer using its email in the crm +This is an alias of Customer::find()
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Serialize this object to an array
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + login() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Test customer credentials
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + save() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Save the customer on CRM.
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + toggleOptin() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Toggle the account optin value in the crm
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + validateAllValues() + +  : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Validate all model properties
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + store() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Calls api store customer method
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + update() + +  : bool +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Calls api update customer method
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + Properties + +

                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $address + + + +

                                                                                                                                                                                                        + + + + + public + string + $address + + +

                                                                                                                                                                                                        The account address (street number, name, build, flat number)

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $address2 + + + +

                                                                                                                                                                                                        + + + + + public + string + $address2 + + +

                                                                                                                                                                                                        The account phone (address complement)

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $birth_date + + + +

                                                                                                                                                                                                        + + + + + public + string + $birth_date + + +

                                                                                                                                                                                                        The account birth date 'yyyy-mm-dd'

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $city + + + +

                                                                                                                                                                                                        + + + + + public + string + $city + + +

                                                                                                                                                                                                        The account city name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $country + + + +

                                                                                                                                                                                                        + + + + + public + Country + $country + + +

                                                                                                                                                                                                        The account country residence

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $email + + + +

                                                                                                                                                                                                        + + + + + public + string + $email + + +

                                                                                                                                                                                                        Must be a rfc valid email on a valid domain name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $firstname + + + +

                                                                                                                                                                                                        + + + + + public + string + $firstname + + +

                                                                                                                                                                                                        The account first name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $hashcode + + + +

                                                                                                                                                                                                        + + + + + public + string + $hashcode + + +

                                                                                                                                                                                                        The crm hashcode this is a readonly field

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $last_connection + + + +

                                                                                                                                                                                                        + + + + + public + string + $last_connection + + +

                                                                                                                                                                                                        the last time user was connected 'yyyy-mm-dd HH:ii:ss'

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $lastname + + + +

                                                                                                                                                                                                        + + + + + public + string + $lastname + + +

                                                                                                                                                                                                        The account last name

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $opt_in + + + +

                                                                                                                                                                                                        + + + + + public + bool + $opt_in + + +

                                                                                                                                                                                                        true if the account is opt in

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $password + + + +

                                                                                                                                                                                                        + + + + + public + string + $password + + +

                                                                                                                                                                                                        Required only on create, must have upper and lowers chars, +at least 1 number, at leat 1 upper char, at least 1 lower char and +at leat 1 special char

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $phone + + + +

                                                                                                                                                                                                        + + + + + public + string + $phone + + +

                                                                                                                                                                                                        The account phone

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $postcode + + + +

                                                                                                                                                                                                        + + + + + public + string + $postcode + + +

                                                                                                                                                                                                        The account city postcode

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $status + + + +

                                                                                                                                                                                                        + + + + + public + bool + $status + + +

                                                                                                                                                                                                        true if the account is activated

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $invisibleFields + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The crm customer fields +the should not be visible

                                                                                                                                                                                                        + + + protected + array<string|int, mixed> + $invisibleFields + = ['password'] + + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $modelFields + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The crm customer fields

                                                                                                                                                                                                        + + + protected + array<string|int, mixed> + $modelFields + = ['hashcode', 'email', 'firstname', 'password', 'lastname', 'birth_date', 'phone', 'address', 'address2', 'city', 'postcode', 'country', 'opt_in', 'status', 'last_connection'] + + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $validation + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Validation rules

                                                                                                                                                                                                        + + + protected + static array<string|int, mixed> + $validation + = ['hashcode' => 'required|uuid', 'email' => 'required|email', 'firstname' => 'required|string|min:1|max:255', 'lastname' => 'required|string|min:1|max:255', 'password' => 'required|min:8|max:255|mixedCase|containDigit|containSymbol', 'birth_date' => 'required|date_format:Y-m-d', 'phone' => 'sometimes|nullable|string|max:255', 'address' => 'sometimes|string|max:255', 'address2' => 'sometimes|string|max:255', 'city' => 'sometimes|string|min:2|max:255', 'postcode' => 'sometimes|string|max:255', 'country' => ['sometimes'], 'opt_in' => 'required|bool', 'status' => 'required|bool', 'last_connection' => 'sometimes|date'] + + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $address + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address (street number, name, etc)

                                                                                                                                                                                                        + + + private + string + $address + = null + +

                                                                                                                                                                                                        Validate: sometimes,string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $address2 + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address 2nd part (street number, name, more, etc)

                                                                                                                                                                                                        + + + private + string + $address2 + = null + +

                                                                                                                                                                                                        Validate: sometimes,string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $birth_date + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Birth date

                                                                                                                                                                                                        + + + private + string + $birth_date + = null + +

                                                                                                                                                                                                        Validate: date_format:Y-m-d

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Field Type Date

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $city + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address city

                                                                                                                                                                                                        + + + private + string + $city + = null + +

                                                                                                                                                                                                        Validate: sometimes,string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $country + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address postcode

                                                                                                                                                                                                        + + + private + Country + $country + = null + +

                                                                                                                                                                                                        Validate: sometimes, in Country::toValues()

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Field Type tinyInt

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $email + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        An RFC Valid Email

                                                                                                                                                                                                        + + + private + string + $email + = null + +

                                                                                                                                                                                                        Validate: rfc,dns,spoof,filter

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Min length N/A +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $firstname + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        First name

                                                                                                                                                                                                        + + + private + string + $firstname + = null + +

                                                                                                                                                                                                        Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $hashcode + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user hashcode, this is link with the customer and the brand it is related to +It is used to identify the customer itself.

                                                                                                                                                                                                        + + + private + string + $hashcode + + +

                                                                                                                                                                                                        Validate: UUID, in customer_infos

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Min length 36 +Max length 36 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $last_connection + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The last time the account was connected

                                                                                                                                                                                                        + + + private + string + $last_connection + = null + +

                                                                                                                                                                                                        This field is read only

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $lastname + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Last name

                                                                                                                                                                                                        + + + private + string + $lastname + = null + +

                                                                                                                                                                                                        Required +Min length 2 +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $opt_in + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user optin choice

                                                                                                                                                                                                        + + + private + bool + $opt_in + = false + +

                                                                                                                                                                                                        Validate: boolean

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Field Type TinyInt

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $password + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user password +This is set only when creating a user +Otherwise it has to be set to null

                                                                                                                                                                                                        + + + private + string + $password + = null + +

                                                                                                                                                                                                        Validate: case_diff,numbers,letters,symbols,min:8

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Min length 8 +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $phone + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user phone

                                                                                                                                                                                                        + + + private + string + $phone + = null + +

                                                                                                                                                                                                        Validate: sometimes,string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $postcode + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        The user address postcode

                                                                                                                                                                                                        + + + private + string + $postcode + = null + +

                                                                                                                                                                                                        Validate: string

                                                                                                                                                                                                        +

                                                                                                                                                                                                        Required +Min length NA +Max length 255 +Field Type varchar

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + $status + + + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Is the account activated ?

                                                                                                                                                                                                        + + + private + bool + $status + = false + +

                                                                                                                                                                                                        This field is read only

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + Methods + +

                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + __construct() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Customer

                                                                                                                                                                                                        + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + mixed + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + __get() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Generic accessor

                                                                                                                                                                                                        + + + public + __get(string $field) : mixed|null + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $field + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + mixed|null + — +

                                                                                                                                                                                                        Returns null if the property was not found any way.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + __set() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Set prop on the model.

                                                                                                                                                                                                        + + + public + __set(string $field, mixed $value) : void + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $field + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $value + : mixed +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + AccessError + +

                                                                                                                                                                                                        If trying to set a value on a unknown property.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + activate() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Active the customer on CRM.

                                                                                                                                                                                                        + + + public + activate() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a customer's hashcode could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        true if succeeded

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + delete() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Removes the customer from CRM.

                                                                                                                                                                                                        + + + public + delete() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        true if succeeded

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + fill() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Fill values into model using validation rules.

                                                                                                                                                                                                        + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $properties + : array<string|int, mixed> +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + void + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + find() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Find a customer using its hashcode in the crm

                                                                                                                                                                                                        + + + public + static find(string $hashcode) : self|null + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $hashcode + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + self|null + — +

                                                                                                                                                                                                        Return null if the customer was not found

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + findWithEmail() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Find a customer using its email in the crm +This is an alias of Customer::find()

                                                                                                                                                                                                        + + + public + static findWithEmail(string $email) : self|null + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $email + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + self|null + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + jsonSerialize() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Serialize this object to an array

                                                                                                                                                                                                        + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + array<string|int, mixed> + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + login() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Test customer credentials

                                                                                                                                                                                                        + + + public + static login(string $email, string $password) : bool + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $email + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $password + : string +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a customer's email could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + save() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Save the customer on CRM.

                                                                                                                                                                                                        + + + public + save() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found (new customers only).

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        True if save was successfull.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + toggleOptin() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Toggle the account optin value in the crm

                                                                                                                                                                                                        + + + public + toggleOptin() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        true if succeeded

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + validateAllValues() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Validate all model properties

                                                                                                                                                                                                        + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + $ignore + : array<string|int, mixed> + = []
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + array<string|int, mixed> + — +

                                                                                                                                                                                                        the validated values

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + store() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Calls api store customer method

                                                                                                                                                                                                        + + + private + store() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        True if save was successfull.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        + update() + +

                                                                                                                                                                                                        + + +

                                                                                                                                                                                                        Calls api update customer method

                                                                                                                                                                                                        + + + private + update() : bool + + + + +
                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                        If a field could not be validated.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                        If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Return values
                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                        True if save was successfull.

                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        Search results

                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Question.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Question.html new file mode 100644 index 0000000..1c86565 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Question.html @@ -0,0 +1,1359 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + Question + + + extends CrmClientModel + + +
                                                                                                                                                                                                          + in package + +
                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                          This class represents a question +It has some static methods to retrieve questions and answers

                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + category +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Api Models

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + subpackage +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          models

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + author +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $answers + +  : array<string|int, Answer> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $id + +  : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $question + +  : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $type + +  : QuestionType +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $modelFields + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The crm customer fields
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Validation rules
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $answers + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The question answers
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $id + +  : int +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The question id
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $question + +  : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The actual question as a string
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + $type + +  : QuestionType +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          The question type
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + __construct() + +  : mixed +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Question
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + __get() + +  : mixed +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          General accessor
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + __set() + +  : void +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Set prop on the model.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + all() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Get all questions only
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + allWithCustomerAnswers() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Get all the questions with customer answers
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + fill() + +  : void +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Fill values into model using validation rules.
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Serialize this object to an array
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + unansweredBy() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Get unanswered question for a specific customer
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + validateAllValues() + +  : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Validate all model properties
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + Properties + +

                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $answers + + + +

                                                                                                                                                                                                          + + + + + public + array<string|int, Answer> + $answers + + +

                                                                                                                                                                                                          An array with answers

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $id + + + +

                                                                                                                                                                                                          + + + + + public + string + $id + + +

                                                                                                                                                                                                          The question id

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $question + + + +

                                                                                                                                                                                                          + + + + + public + string + $question + + +

                                                                                                                                                                                                          The actual question as a string

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $type + + + +

                                                                                                                                                                                                          + + + + + public + QuestionType + $type + + +

                                                                                                                                                                                                          The question type to display, +it also hints wether it can accept one or multiple responses, +so only checkbox allows multiple responses

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $modelFields + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The crm customer fields

                                                                                                                                                                                                          + + + protected + array<string|int, mixed> + $modelFields + = ['id', 'question', 'type', 'answers'] + + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $validation + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Validation rules

                                                                                                                                                                                                          + + + protected + static array<string|int, mixed> + $validation + = ['id' => 'required|int', 'question' => 'required|string|max:255', 'type' => ['required'], 'answers' => 'required|array'] + + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $answers + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The question answers

                                                                                                                                                                                                          + + + private + array<string|int, mixed> + $answers + = [] + +

                                                                                                                                                                                                          \LDC\LDCCRM\Models\Answer

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $id + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The question id

                                                                                                                                                                                                          + + + private + int + $id + + +

                                                                                                                                                                                                          Required +Field Type bigInt

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $question + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The actual question as a string

                                                                                                                                                                                                          + + + private + string + $question + = null + +

                                                                                                                                                                                                          Required +Max length 255 +Field Type varchar

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + $type + + + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          The question type

                                                                                                                                                                                                          + + + private + QuestionType + $type + = null + +

                                                                                                                                                                                                          Validate: in QuestionType::toValues()

                                                                                                                                                                                                          +

                                                                                                                                                                                                          Required +Field Type tinyInteger

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + Methods + +

                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + __construct() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Question

                                                                                                                                                                                                          + + + public + __construct([array<string|int, mixed> $properties = [] ]) : mixed + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $properties + : array<string|int, mixed> + = []
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a field could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + mixed + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + __get() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          General accessor

                                                                                                                                                                                                          + + + public + __get(string $field) : mixed + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $field + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + mixed + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + __set() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Set prop on the model.

                                                                                                                                                                                                          + + + public + __set(string $field, mixed $value) : void + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $field + : string +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $value + : mixed +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a field could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + AccessError + +

                                                                                                                                                                                                          If trying to set a value on a unknown property.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + all() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Get all questions only

                                                                                                                                                                                                          + + + public + static all() : array<string|int, mixed> + + + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                          of \LDC\LDCCRM\Models\Question

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + allWithCustomerAnswers() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Get all the questions with customer answers

                                                                                                                                                                                                          + + + public + static allWithCustomerAnswers(Customer $customer) : array<string|int, mixed> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $customer + : Customer +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a customer's hashcode could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                          [ +0 => [ +'question' => \LDC\LDCCRM\Models\Question, +'customerAnswers' => \LDC\LDCCRM\Models\Answer[] +] +]

                                                                                                                                                                                                          +

                                                                                                                                                                                                          with \LDC\LDCCRM\Models\Question[] +and the customer \LDC\LDCCRM\Models\Answer[]

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + fill() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Fill values into model using validation rules.

                                                                                                                                                                                                          + + + public + fill(array<string|int, mixed> $properties) : void + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $properties + : array<string|int, mixed> +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a field could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + void + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + jsonSerialize() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Serialize this object to an array

                                                                                                                                                                                                          + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + unansweredBy() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Get unanswered question for a specific customer

                                                                                                                                                                                                          + + + public + static unansweredBy(Customer $customer) : array<string|int, mixed> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $customer + : Customer +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a customer's hashcode could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                          of \LDC\LDCCRM\Models\Question

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          + validateAllValues() + +

                                                                                                                                                                                                          + + +

                                                                                                                                                                                                          Validate all model properties

                                                                                                                                                                                                          + + + protected + validateAllValues([array<string|int, mixed> $ignore = [] ]) : array<string|int, mixed> + + +
                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + $ignore + : array<string|int, mixed> + = []
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                          If a field could not be validated.

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          Return values
                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                          the validated values

                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Search results

                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-SingleOptin.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-SingleOptin.html new file mode 100644 index 0000000..892e7b7 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-SingleOptin.html @@ -0,0 +1,427 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + SingleOptin + + + extends CrmClientModel + + +
                                                                                                                                                                                                            + in package + +
                                                                                                                                                                                                            + + +

                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                            This class allows to handle single opt in

                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + category +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            Api Models

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + subpackage +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            models

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + author +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                            + Table of Contents + +

                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            Validation rules
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + setStatus() + +  : bool +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            Set the single opt in status for an email
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + Properties + +

                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + $validation + + + +

                                                                                                                                                                                                            + + +

                                                                                                                                                                                                            Validation rules

                                                                                                                                                                                                            + + + protected + static array<string|int, mixed> + $validation + = ['email' => 'required|email', 'opt_in' => 'required|bool'] + + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + Methods + +

                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            + setStatus() + +

                                                                                                                                                                                                            + + +

                                                                                                                                                                                                            Set the single opt in status for an email

                                                                                                                                                                                                            + + + public + static setStatus(string $email, bool $opt_in) : bool + + +
                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $email + : string +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + $opt_in + : bool +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + ValidationException + +

                                                                                                                                                                                                            If a field email could not be validated.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                            If an error occurs on server side or on getting response.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + phpcs:ignore +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            Return values
                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                            true if succeeded

                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +

                                                                                                                                                                                                            Search results

                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Stats.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Stats.html new file mode 100644 index 0000000..53f0e3a --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Models-Stats.html @@ -0,0 +1,599 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + Stats + + + extends CrmClientModel + + +
                                                                                                                                                                                                              + in package + +
                                                                                                                                                                                                              + + +

                                                                                                                                                                                                              + + + +

                                                                                                                                                                                                              This class is used to get stats from CRM

                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ApiErrorException + +

                                                                                                                                                                                                              If an error occurs

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + CrmException + +

                                                                                                                                                                                                              If the CRM encounters an error

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + category +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              Api Models

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + subpackage +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              models

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + author +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                              + Table of Contents + +

                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $validation + +  : array<string|int, mixed> +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              Validation rules
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              + getBrandStats() + +  : array<string|int, mixed> +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              Get brand stats ordered by ascendent days
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              + getQuestionStats() + +  : array<string|int, mixed> +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              Get brand stats ordered by ascendent days
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + Properties + +

                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + $validation + + + +

                                                                                                                                                                                                              + + +

                                                                                                                                                                                                              Validation rules

                                                                                                                                                                                                              + + + protected + static array<string|int, mixed> + $validation + = ['question.id' => 'required|int|min:1', 'start' => 'required|date_format:Y-m-d', 'end' => 'required|date_format:Y-m-d'] + + + + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + Methods + +

                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + getBrandStats() + +

                                                                                                                                                                                                              + + +

                                                                                                                                                                                                              Get brand stats ordered by ascendent days

                                                                                                                                                                                                              + + + public + static getBrandStats(string $start, string $end) : array<string|int, mixed> + + +
                                                                                                                                                                                                              Parameters
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $start + : string +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une date valide au format Y-m-d .

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $end + : string +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une date valide au format Y-m-d .

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a field start could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a field end could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + CrmException + +

                                                                                                                                                                                                              If an error occurs on server side or on getting response.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ApiErrorException + +

                                                                                                                                                                                                              If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + phpcs:ignore +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              Return values
                                                                                                                                                                                                              + array<string|int, mixed> + — +

                                                                                                                                                                                                              The stats array by day

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              + getQuestionStats() + +

                                                                                                                                                                                                              + + +

                                                                                                                                                                                                              Get brand stats ordered by ascendent days

                                                                                                                                                                                                              + + + public + static getQuestionStats(Question $question, string $start, string $end) : array<string|int, mixed> + + +
                                                                                                                                                                                                              Parameters
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $question + : Question +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une question CRM possèdant un id réel.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $start + : string +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une date valide au format Y-m-d .

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + $end + : string +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Une date valide au format Y-m-d .

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              + Tags + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a question's id could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a field start could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ValidationException + +

                                                                                                                                                                                                              If a field end could not be validated.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + CrmException + +

                                                                                                                                                                                                              If an error occurs on server side or on getting response.

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + throws +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + ApiErrorException + +

                                                                                                                                                                                                              If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side).

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + phpcs:ignore +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              Return values
                                                                                                                                                                                                              + array<string|int, mixed> + — +

                                                                                                                                                                                                              The stats array by day

                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Search results

                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Request.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Request.html new file mode 100644 index 0000000..2bf4142 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Request.html @@ -0,0 +1,1063 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + Request + + +
                                                                                                                                                                                                                + in package + +
                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                + + + +

                                                                                                                                                                                                                The LDC CRM request +Contains the http method, the requested url and data to pass

                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                + Tags + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + subpackage +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +

                                                                                                                                                                                                                transport

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                + Table of Contents + +

                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $data + +  : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $headers + +  : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $method + +  : HttpMethods +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $uri + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $data + +  : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Data to pass to the http body
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $headers + +  : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Data to pass to the http headers
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $method + +  : HttpMethods +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                The http method
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $uri + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                The http url
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $client + +  : Client +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                GuzzleHttp client
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $endpoint + +  : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                The Api endpoint
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + $request + +  : callable +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Guzzle request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + __construct() + +  : mixed +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + __get() + +  : mixed|null +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Generic accessor
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + addData() + +  : void +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Add data to the request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + addHeaders() + +  : void +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Add headers to the request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + call() + +  : ResponseInterface +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Make the Http request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + setEndpoint() + +  : void +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Set the api endpoint to the request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + makeRequest() + +  : void +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                make the guzzle request
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + Properties + +

                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $data + + + +

                                                                                                                                                                                                                + + + + + public + array<string|int, mixed> + $data + + +

                                                                                                                                                                                                                readonly data

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $headers + + + +

                                                                                                                                                                                                                + + + + + public + array<string|int, mixed> + $headers + + +

                                                                                                                                                                                                                headers

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $method + + + +

                                                                                                                                                                                                                + + + + + public + HttpMethods + $method + + +

                                                                                                                                                                                                                readonly method

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $uri + + + +

                                                                                                                                                                                                                + + + + + public + string + $uri + + +

                                                                                                                                                                                                                readonly uri

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $data + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Data to pass to the http body

                                                                                                                                                                                                                + + + protected + array<string|int, mixed> + $data + = [] + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $headers + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Data to pass to the http headers

                                                                                                                                                                                                                + + + protected + array<string|int, mixed> + $headers + = [] + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $method + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                The http method

                                                                                                                                                                                                                + + + protected + HttpMethods + $method + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $uri + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                The http url

                                                                                                                                                                                                                + + + protected + string + $uri + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $client + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                GuzzleHttp client

                                                                                                                                                                                                                + + + private + Client + $client + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $endpoint + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                The Api endpoint

                                                                                                                                                                                                                + + + private + string + $endpoint + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + $request + + + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Guzzle request

                                                                                                                                                                                                                + + + private + callable + $request + + + +

                                                                                                                                                                                                                the returns \GuzzleHttp\Psr7\Request

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + Methods + +

                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + __construct() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Request

                                                                                                                                                                                                                + + + public + __construct(HttpMethods $method, string $uri[, array<string|int, mixed> $headers = [] ][, array<string|int, mixed> $data = [] ]) : mixed + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $method + : HttpMethods +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $uri + : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $headers + : array<string|int, mixed> + = []
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $data + : array<string|int, mixed> + = []
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + mixed + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + __get() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Generic accessor

                                                                                                                                                                                                                + + + public + __get(string $field) : mixed|null + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $field + : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + mixed|null + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + addData() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Add data to the request

                                                                                                                                                                                                                + + + public + addData(array<string|int, mixed> $data) : void + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $data + : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + addHeaders() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Add headers to the request

                                                                                                                                                                                                                + + + public + addHeaders(array<string|int, mixed> $headers) : void + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $headers + : array<string|int, mixed> +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + call() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Make the Http request

                                                                                                                                                                                                                + + + public + call() : ResponseInterface + + + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + ResponseInterface + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + setEndpoint() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                Set the api endpoint to the request

                                                                                                                                                                                                                + + + public + setEndpoint(string $endpoint) : void + + +
                                                                                                                                                                                                                Parameters
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + $endpoint + : string +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                + makeRequest() + +

                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                make the guzzle request

                                                                                                                                                                                                                + + + private + makeRequest() : void + + + + + +
                                                                                                                                                                                                                Return values
                                                                                                                                                                                                                + void + — + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Response.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Response.html new file mode 100644 index 0000000..dbb2228 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Transport-Response.html @@ -0,0 +1,1083 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + Response + + +
                                                                                                                                                                                                                  + in package + +
                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + subpackage +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                  transport

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                  + Table of Contents + +

                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $apiError + +  : ApiError|int +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $body + +  : array<string|int, mixed> +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $data + +  : array<string|int, mixed>|null +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $headers + +  : array<string|int, mixed> +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $httpCode + +  : int +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $message + +  : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $status + +  : ApiStatus +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $apiError + +  : ApiError +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The api error
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $body + +  : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The response body
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $headers + +  : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The response headers
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $httpCode + +  : int +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The response http code
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $message + +  : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The interface message
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $response + +  : ResponseInterface +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  PSR response
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + $status + +  : ApiStatus +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  The response status
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + __construct() + +  : mixed +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  Response
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + __get() + +  : mixed|null +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  Generic accessor
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + checkVersion() + +  : void +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  This checks if the crm version is way far beyond the client version.
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + tryDecodeJson() + +  : array<string|int, mixed>|false +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  Try to decode json and return false if it is +not a valid json
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + Properties + +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $apiError + + + +

                                                                                                                                                                                                                  + + + + + public + ApiError|int + $apiError + + +

                                                                                                                                                                                                                  The api error status it there is any

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $body + + + +

                                                                                                                                                                                                                  + + + + + public + array<string|int, mixed> + $body + + +

                                                                                                                                                                                                                  The http response body, this is parsed json

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $data + + + +

                                                                                                                                                                                                                  + + + + + public + array<string|int, mixed>|null + $data + + +

                                                                                                                                                                                                                  The reponse data

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $headers + + + +

                                                                                                                                                                                                                  + + + + + public + array<string|int, mixed> + $headers + + +

                                                                                                                                                                                                                  The http reponse headers

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $httpCode + + + +

                                                                                                                                                                                                                  + + + + + public + int + $httpCode + + +

                                                                                                                                                                                                                  The http response code

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $message + + + +

                                                                                                                                                                                                                  + + + + + public + string + $message + + +

                                                                                                                                                                                                                  The api message

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $status + + + +

                                                                                                                                                                                                                  + + + + + public + ApiStatus + $status + + +

                                                                                                                                                                                                                  The response api status

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $apiError + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The api error

                                                                                                                                                                                                                  + + + private + ApiError + $apiError + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $body + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The response body

                                                                                                                                                                                                                  + + + private + string + $body + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $headers + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The response headers

                                                                                                                                                                                                                  + + + private + string + $headers + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $httpCode + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The response http code

                                                                                                                                                                                                                  + + + private + int + $httpCode + = 0 + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $message + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The interface message

                                                                                                                                                                                                                  + + + private + string + $message + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $response + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  PSR response

                                                                                                                                                                                                                  + + + private + ResponseInterface + $response + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + $status + + + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  The response status

                                                                                                                                                                                                                  + + + private + ApiStatus + $status + + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + Methods + +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + __construct() + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  Response

                                                                                                                                                                                                                  + + + public + __construct(ApiStatus $status, ResponseInterface $response) : mixed + + +
                                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $status + : ApiStatus +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $response + : ResponseInterface +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + CrmException + +

                                                                                                                                                                                                                  If HTTP response body in not JSON.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  Return values
                                                                                                                                                                                                                  + mixed + — + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + __get() + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  Generic accessor

                                                                                                                                                                                                                  + + + public + __get(string $field) : mixed|null + + +
                                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $field + : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  Return values
                                                                                                                                                                                                                  + mixed|null + — + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + checkVersion() + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  This checks if the crm version is way far beyond the client version.

                                                                                                                                                                                                                  + + + private + checkVersion(string $version) : void + +

                                                                                                                                                                                                                  If a minor version mismatch is detected we will log this as a warning. +If a major version mismatch is detected we will throw a CrmException as +there shall be an incompatibility with the response.

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  The goal here is to force clients to be up to date. +A major version change means breaking change.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $version + : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  + Tags + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + throws +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + CrmException + +

                                                                                                                                                                                                                  If a major version mismatch is detected.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  Return values
                                                                                                                                                                                                                  + void + — + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  + tryDecodeJson() + +

                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                  Try to decode json and return false if it is +not a valid json

                                                                                                                                                                                                                  + + + private + tryDecodeJson(string $string) : array<string|int, mixed>|false + + +
                                                                                                                                                                                                                  Parameters
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + $string + : string +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                  Return values
                                                                                                                                                                                                                  + array<string|int, mixed>|false + — +

                                                                                                                                                                                                                  Returns an associative data array or false if failed to parse.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Utils.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Utils.html new file mode 100644 index 0000000..c710c60 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-Utils.html @@ -0,0 +1,1983 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + Utils + + +
                                                                                                                                                                                                                    + in package + +
                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    + + + +

                                                                                                                                                                                                                    This is the LDCCRM utility class

                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + category +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                    Utility

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + uses +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + HttpMethods + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + uses +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + Request + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + subpackage +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                    utilities

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                    + Table of Contents + +

                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $packageInfos + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Package infos
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + $translations + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Loaded translations
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + getConfig() + +  : string|null +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    This is only used for unit tests.
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + getPackageInfo() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Get composer.json infos
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + getRawProperty() + +  : mixed|null +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Get a property of an object.
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + getResquest() + +  : Request +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Generate a Request from the route name
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + log() + +  : void +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Write log using syslog +It also write log using \Illuminate\Support\Facades\Log +if it is present
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + makeValidator() + +  : closure +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Create a new Validator instance.
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + setRawProperty() + +  : void +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Set a property without any validation.
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + translate() + +  : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Translation a string using php file lang
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + makeValidatorFromRule() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Generate a validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationArray() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Array validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationBool() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Bool validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationClosure() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Closure validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationContainDigit() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make ContainDigit validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationContainSymbol() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make ContainSymbol validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationDate() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Date validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationDateFormat() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make DateFormat validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationEmail() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Email validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationInt() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Int validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationMax() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Max validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationMin() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Min validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationMixedCase() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make MixedCase validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationNullable() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Nullable validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationRequired() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Required validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationSometimes() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Sometimes validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationString() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make String validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + validationUuid() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Make Uuid validator
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + Properties + +

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + $packageInfos + + + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Package infos

                                                                                                                                                                                                                    + + + private + static array<string|int, mixed> + $packageInfos + + + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + $translations + + + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Loaded translations

                                                                                                                                                                                                                    + + + private + static array<string|int, mixed> + $translations + = [] + + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + Methods + +

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + getConfig() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    This is only used for unit tests.

                                                                                                                                                                                                                    + + + public + static getConfig(string $key[, string $default = null ]) : string|null + +

                                                                                                                                                                                                                    Get config

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $key + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $default + : string + = null
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + string|null + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + getPackageInfo() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Get composer.json infos

                                                                                                                                                                                                                    + + + public + static getPackageInfo() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + getRawProperty() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Get a property of an object.

                                                                                                                                                                                                                    + + + public + static getRawProperty(object $object, string $property) : mixed|null + +

                                                                                                                                                                                                                    ! Warning : this will return any property of the object, use with caution.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $object + : object +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The object to inspect.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $property + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The object property to inspect.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + mixed|null + — +

                                                                                                                                                                                                                    Returns null if the property was not found any way.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + getResquest() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Generate a Request from the route name

                                                                                                                                                                                                                    + + + public + static getResquest(string $routeName[, array<string|int, mixed> $query = [] ][, array<string|int, mixed> $data = [] ]) : Request + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $routeName + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $query + : array<string|int, mixed> + = []
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Params to pass on to the route.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : array<string|int, mixed> + = []
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Http body params.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + ErrorException + +

                                                                                                                                                                                                                    If the requested route is unknown.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + ErrorException + +

                                                                                                                                                                                                                    If a required parameter is missing.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + Request + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + log() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Write log using syslog +It also write log using \Illuminate\Support\Facades\Log +if it is present

                                                                                                                                                                                                                    + + + public + static log(string $message, LogLevel $level) : void + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $message + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The message is prefixed with "LDC CRM:" .

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $level + : LogLevel +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The log level to apply.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + makeValidator() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Create a new Validator instance.

                                                                                                                                                                                                                    + + + public + static makeValidator(array<string|int, mixed> $data, array<string|int, mixed> $rules) : closure + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $rules + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + ErrorException + +

                                                                                                                                                                                                                    If an unknown validation rule is used.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + closure + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + setRawProperty() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Set a property without any validation.

                                                                                                                                                                                                                    + + + public + static setRawProperty(object $object, string $property, mixed $value) : void + +

                                                                                                                                                                                                                    ! Warning : this can change any property of the object, use with caution.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $object + : object +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The object to inspect.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $property + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The object property to assign to.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    The value to insert.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + AccessError + +

                                                                                                                                                                                                                    If trying to set a value on a unknown property.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + void + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + translate() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Translation a string using php file lang

                                                                                                                                                                                                                    + + + public + static translate(string $key[, string $lang = 'fr' ]) : string + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $key + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $lang + : string + = 'fr'
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + string + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + makeValidatorFromRule() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Generate a validator

                                                                                                                                                                                                                    + + + private + static makeValidatorFromRule(mixed $rule, array<string|int, mixed> $data, string $attribute) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $rule + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + Tags + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + throws +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + ErrorException + +

                                                                                                                                                                                                                    If a rule is unknown.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationArray() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Array validator

                                                                                                                                                                                                                    + + + private + static validationArray(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationBool() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Bool validator

                                                                                                                                                                                                                    + + + private + static validationBool(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationClosure() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Closure validator

                                                                                                                                                                                                                    + + + private + static validationClosure(string $attribute, mixed $value, Closure $closure) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $closure + : Closure +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationContainDigit() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make ContainDigit validator

                                                                                                                                                                                                                    + + + private + static validationContainDigit(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationContainSymbol() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make ContainSymbol validator

                                                                                                                                                                                                                    + + + private + static validationContainSymbol(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationDate() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Date validator

                                                                                                                                                                                                                    + + + private + static validationDate(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationDateFormat() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make DateFormat validator

                                                                                                                                                                                                                    + + + private + static validationDateFormat(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $params + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationEmail() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Email validator

                                                                                                                                                                                                                    + + + private + static validationEmail(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationInt() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Int validator

                                                                                                                                                                                                                    + + + private + static validationInt(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationMax() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Max validator

                                                                                                                                                                                                                    + + + private + static validationMax(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $params + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationMin() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Min validator

                                                                                                                                                                                                                    + + + private + static validationMin(string $attribute, mixed $value, array<string|int, mixed> $params) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $params + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationMixedCase() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make MixedCase validator

                                                                                                                                                                                                                    + + + private + static validationMixedCase(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationNullable() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Nullable validator

                                                                                                                                                                                                                    + + + private + static validationNullable(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationRequired() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Required validator

                                                                                                                                                                                                                    + + + private + static validationRequired(string $attribute, array<string|int, mixed> $data) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : array<string|int, mixed> +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationSometimes() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Sometimes validator

                                                                                                                                                                                                                    + + + private + static validationSometimes(string $attribute, mixed $data) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $data + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationString() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make String validator

                                                                                                                                                                                                                    + + + private + static validationString(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    + validationUuid() + +

                                                                                                                                                                                                                    + + +

                                                                                                                                                                                                                    Make Uuid validator

                                                                                                                                                                                                                    + + + private + static validationUuid(string $attribute, mixed $value) : array<string|int, mixed> + + +
                                                                                                                                                                                                                    Parameters
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $attribute + : string +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + $value + : mixed +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    Return values
                                                                                                                                                                                                                    + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrm.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrm.html new file mode 100644 index 0000000..e404518 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrm.html @@ -0,0 +1,2033 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + WPCrm + + +
                                                                                                                                                                                                                      + in package + +
                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                                      Class de gestion des users en session avec Wordpress

                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + category +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      API

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + subpackage +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Wordpress

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + author +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + license +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + link +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + / + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                      + Table of Contents + +

                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $api + +  : CrmApiV2 +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      The user object
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + $user + +  : WPCrmUser +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      The user object
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + $sessionDestroyed + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      The session live status
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + $sessionKey + +  : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      The session key name
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + activateUser() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Toggle the current user optin value +on the current user and the crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + check() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Check if the user is logged in.
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + deleteUser() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Delete current customer from +the local database and the crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + forceLogin() + +  : WPCrmUser|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Manually login a user +If self::$user is already set.
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getNewUser() + +  : WPCrmUser +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Generate a new user
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUser() + +  : WPCrmUser|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get the current user +return null if the user is not logged in
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUserFromApi() + +  : WPCrmUser|false +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get the current user +return api response code if an error occurs
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUserFromTable() + +  : array<string|int, mixed>|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get a customer from table
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUserFromTableByEmail() + +  : array<string|int, mixed>|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get a customer from table by an email
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getUserFromTableByUuid() + +  : array<string|int, mixed>|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get a customer from table by an email
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + login() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Try to login with CRM API +A session will be started if credentials are valid.
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + logout() + +  : void +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Destroy the customer from session +and therefore logout
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + saveUser() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Save current customer to +the local database and on crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + setSingleOptin() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Set the single optin status for an email +on the crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + toggleUserOptin() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Toggle the current user optin value +on the current user and the crm
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + unsetActiveUser() + +  : void +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Remove active user +to prevent WPCrm::check to return true
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + bootSessionIfNeeded() + +  : void +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Boot the php session if needed
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + deleteUserFromTable() + +  : int +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Save or update the user to the table
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getCustomer() + +  : Customer|null +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get all customer infos
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + getWpDb() + +  : object +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get WP 'pdo instance'
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + initLdcApi() + +  : CrmApiV2 +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Get the initialized API object
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + loginUserWithApi() + +  : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Check customer credentials using the CRM.
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + makeApiV2Call() + +  : mixed|false +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Make a call using apiV2
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + query() + +  : int|bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Query in DB
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + saveOrUpdateUserToTable() + +  : int +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Save or update the user to the table
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + setUser() + +  : void +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      Create a user +stores it to the session +and finally saves it to the database if it does not exists
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + Properties + +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + $api + + + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      The user object

                                                                                                                                                                                                                      + + + protected + static CrmApiV2 + $api + = null + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + $user + + + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      The user object

                                                                                                                                                                                                                      + + + protected + static WPCrmUser + $user + = null + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + $sessionDestroyed + + + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      The session live status

                                                                                                                                                                                                                      + + + private + static bool + $sessionDestroyed + = false + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + $sessionKey + + + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      The session key name

                                                                                                                                                                                                                      + + + private + static string + $sessionKey + = null + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + Methods + +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + activateUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Toggle the current user optin value +on the current user and the crm

                                                                                                                                                                                                                      + + + public + static activateUser() : bool + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ValidationException + +

                                                                                                                                                                                                                      If a customer's hashcode could not be validated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      True if the operation succeeded.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + check() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Check if the user is logged in.

                                                                                                                                                                                                                      + + + public + static check() : bool + +

                                                                                                                                                                                                                      This means he has an active valid session.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + deleteUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Delete current customer from +the local database and the crm

                                                                                                                                                                                                                      + + + public + static deleteUser() : bool + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If a critical error occured.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      true if the operation succeeded

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + forceLogin() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Manually login a user +If self::$user is already set.

                                                                                                                                                                                                                      + + + public + static forceLogin() : WPCrmUser|null + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + WPCrmUser|null + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getNewUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Generate a new user

                                                                                                                                                                                                                      + + + public + static getNewUser() : WPCrmUser + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + WPCrmUser + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get the current user +return null if the user is not logged in

                                                                                                                                                                                                                      + + + public + static getUser() : WPCrmUser|null + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + WPCrmUser|null + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUserFromApi() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get the current user +return api response code if an error occurs

                                                                                                                                                                                                                      + + + public + static getUserFromApi(string $identification) : WPCrmUser|false + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $identification + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer hashcode or email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + WPCrmUser|false + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUserFromTable() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get a customer from table

                                                                                                                                                                                                                      + + + public + static getUserFromTable(string $hashcode) : array<string|int, mixed>|null + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $hashcode + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer hashcode.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + array<string|int, mixed>|null + — +

                                                                                                                                                                                                                      Database query result in format specified by $output or null on failure.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUserFromTableByEmail() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get a customer from table by an email

                                                                                                                                                                                                                      + + + public + static getUserFromTableByEmail(string $email) : array<string|int, mixed>|null + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $email + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + array<string|int, mixed>|null + — +

                                                                                                                                                                                                                      Database query result in format specified by $output or null on failure.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getUserFromTableByUuid() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get a customer from table by an email

                                                                                                                                                                                                                      + + + public + static getUserFromTableByUuid(string $uuid) : array<string|int, mixed>|null + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $uuid + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer transaction uuid.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + array<string|int, mixed>|null + — +

                                                                                                                                                                                                                      Database query result in format specified by $output or null on failure.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + login() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Try to login with CRM API +A session will be started if credentials are valid.

                                                                                                                                                                                                                      + + + public + static login(string $email, string $password) : bool + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $email + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $password + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer password.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + logout() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Destroy the customer from session +and therefore logout

                                                                                                                                                                                                                      + + + public + static logout() : void + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + saveUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Save current customer to +the local database and on crm

                                                                                                                                                                                                                      + + + public + static saveUser() : bool + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If a critical error occured.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      true if the operation succeeded false otherwise

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + setSingleOptin() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Set the single optin status for an email +on the crm

                                                                                                                                                                                                                      + + + public + static setSingleOptin(string $email, bool $opt_in) : bool + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $email + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $opt_in + : bool +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ValidationException + +

                                                                                                                                                                                                                      If a field email could not be validated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - singleOptinCustomerExists, If a customer exists with this email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      true if the operation succeeded false otherwise

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + toggleUserOptin() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Toggle the current user optin value +on the current user and the crm

                                                                                                                                                                                                                      + + + public + static toggleUserOptin() : bool + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If a critical error occured.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + phpcs:ignore +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                      Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — +

                                                                                                                                                                                                                      true if the operation succeeded

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + unsetActiveUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Remove active user +to prevent WPCrm::check to return true

                                                                                                                                                                                                                      + + + public + static unsetActiveUser() : void + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + bootSessionIfNeeded() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Boot the php session if needed

                                                                                                                                                                                                                      + + + private + static bootSessionIfNeeded() : void + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + deleteUserFromTable() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Save or update the user to the table

                                                                                                                                                                                                                      + + + private + static deleteUserFromTable() : int + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + int + — +

                                                                                                                                                                                                                      The number of row removed from the table.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getCustomer() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get all customer infos

                                                                                                                                                                                                                      + + + private + static getCustomer() : Customer|null + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + Customer|null + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + getWpDb() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get WP 'pdo instance'

                                                                                                                                                                                                                      + + + private + static getWpDb() : object + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + object + — +

                                                                                                                                                                                                                      The $wpdb variable

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + initLdcApi() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Get the initialized API object

                                                                                                                                                                                                                      + + + private + static initLdcApi() : CrmApiV2 + + + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ErrorException + +

                                                                                                                                                                                                                      If php does not have extension curl.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + CrmApiV2 + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + loginUserWithApi() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Check customer credentials using the CRM.

                                                                                                                                                                                                                      + + + private + static loginUserWithApi(string $email, string $password) : bool + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $email + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer email.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $password + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The customer password.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If an error occurs on server side or on getting response.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - authFailed, If credentials are not valid. +- customerNotActivated, If the account is not activated.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + bool + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + makeApiV2Call() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Make a call using apiV2

                                                                                                                                                                                                                      + + + private + static makeApiV2Call(object|string $obj, string $method[, array<string|int, mixed> $arguments = [] ]) : mixed|false + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $obj + : object|string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      An object or a class name.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $method + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      The method to call.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $arguments + : array<string|int, mixed> + = []
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Arguments to pass.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + ApiErrorException + +

                                                                                                                                                                                                                      If any of this exception is thrown.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + throws +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + CrmException + +

                                                                                                                                                                                                                      If a critical error occured.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + mixed|false + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + query() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Query in DB

                                                                                                                                                                                                                      + + + private + static query(string $query[, array<string|int, mixed> $params = [] ]) : int|bool + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $query + : string +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      La request avec les variables en points d'interrogation.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $params + : array<string|int, mixed> + = []
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Les paramètres des la requète.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + int|bool + — +

                                                                                                                                                                                                                      Boolean true for CREATE, ALTER, TRUNCATE and DROP queries. +Number of rows affected/selected for all other queries. Boolean false on error.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + saveOrUpdateUserToTable() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Save or update the user to the table

                                                                                                                                                                                                                      + + + private + static saveOrUpdateUserToTable() : int + + + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + int + — +

                                                                                                                                                                                                                      The number of row affected on the table.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      + setUser() + +

                                                                                                                                                                                                                      + + +

                                                                                                                                                                                                                      Create a user +stores it to the session +and finally saves it to the database if it does not exists

                                                                                                                                                                                                                      + + + private + static setUser(Customer $customer) : void + + +
                                                                                                                                                                                                                      Parameters
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + $customer + : Customer +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                      Return values
                                                                                                                                                                                                                      + void + — + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html new file mode 100644 index 0000000..5018054 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html @@ -0,0 +1,415 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        + WPCrmAnswer + + +
                                                                                                                                                                                                                        + in package + +
                                                                                                                                                                                                                        + + +

                                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                                        Class de gestion de la segmentation question avec Wordpress

                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + category +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        API

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + subpackage +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        Wordpress

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + author +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + license +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + link +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + / + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                        + Table of Contents + +

                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + setQuestionAnswers() + +  : bool +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        Set answers to a question for a specific user
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        + Methods + +

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        + setQuestionAnswers() + +

                                                                                                                                                                                                                        + + +

                                                                                                                                                                                                                        Set answers to a question for a specific user

                                                                                                                                                                                                                        + + + public + setQuestionAnswers(WPCrmUser $user, int $questionId, array<string|int, mixed> $answersId) : bool + + +
                                                                                                                                                                                                                        Parameters
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + $user + : WPCrmUser +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + $questionId + : int +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        The question id .

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + $answersId + : array<string|int, mixed> +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        An array with answers id .

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + CrmException + +

                                                                                                                                                                                                                        If an error occurs on server side or on getting response.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                                        If $user hashcode is not a valid UUID.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + ValidationException + +

                                                                                                                                                                                                                        If any of the provided ids are invalid.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + throws +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + ApiErrorException + +

                                                                                                                                                                                                                        If any error \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If given ids are wrong(CRM side).

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + phpcs:ignore +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        Return values
                                                                                                                                                                                                                        + bool + — +

                                                                                                                                                                                                                        true if succeeded

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html new file mode 100644 index 0000000..a2f6704 --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html @@ -0,0 +1,570 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + WPCrmQuestion + + +
                                                                                                                                                                                                                          + in package + +
                                                                                                                                                                                                                          + + +

                                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                                          Class de gestion de la segmentation question avec Wordpress

                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + category +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          API

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + subpackage +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Wordpress

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + author +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + license +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + link +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + / + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                          + Table of Contents + +

                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + allWithCustomerAnswers() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          Get all the questions with user answers
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          + getAll() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          Get all questions only
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          + unansweredBy() + +  : array<string|int, Question> +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          Get unanswered question for a specific customer
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          + + + + + + + +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + Methods + +

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + allWithCustomerAnswers() + +

                                                                                                                                                                                                                          + + +

                                                                                                                                                                                                                          Get all the questions with user answers

                                                                                                                                                                                                                          + + + public + static allWithCustomerAnswers(WPCrmUser $user) : array<string|int, mixed> + + +
                                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + $user + : WPCrmUser +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                                          If a hashcode is not a valid UUID.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                                          If any of the provided ids are invalid.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          Return values
                                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                                          Of \LDC\LDCCRM\Models\Question and their \LDC\LDCCRM\Models\Answer.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + getAll() + +

                                                                                                                                                                                                                          + + +

                                                                                                                                                                                                                          Get all questions only

                                                                                                                                                                                                                          + + + public + static getAll() : array<string|int, mixed> + + + + +
                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          Return values
                                                                                                                                                                                                                          + array<string|int, mixed> + — +

                                                                                                                                                                                                                          Of \LDC\LDCCRM\Models\Question

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          + unansweredBy() + +

                                                                                                                                                                                                                          + + +

                                                                                                                                                                                                                          Get unanswered question for a specific customer

                                                                                                                                                                                                                          + + + public + static unansweredBy(WPCrmUser $user) : array<string|int, Question> + + +
                                                                                                                                                                                                                          Parameters
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + $user + : WPCrmUser +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + CrmException + +

                                                                                                                                                                                                                          If an error occurs on server side or on getting response.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ValidationException + +

                                                                                                                                                                                                                          If $user hashcode is not a valid UUID.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + throws +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + ApiErrorException + +

                                                                                                                                                                                                                          If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If the customer could not be found(CRM side).

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + phpcs:ignore +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Squiz.Commenting.FunctionCommentThrowTag.WrongNumber

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          Return values
                                                                                                                                                                                                                          + array<string|int, Question> + — + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmUser.html b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmUser.html new file mode 100644 index 0000000..64cb4fb --- /dev/null +++ b/crm-client-3.0.6/documentation/classes/LDC-LDCCRM-WordPress-WPCrmUser.html @@ -0,0 +1,1779 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + WPCrmUser + + +
                                                                                                                                                                                                                            + in package + +
                                                                                                                                                                                                                            + + + implements + JsonSerializable + +

                                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                                            Class de gestion des users en session avec Wordpress

                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + category +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            API

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + subpackage +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            Wordpress

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + author +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + license +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + link +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + / + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + + +

                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            JsonSerializable
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            + Table of Contents + +

                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $address + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $address2 + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $birth_date + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $city + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $country + +  : Country +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $email + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $firstname + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $hashcode + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $last_connection + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $lastname + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $opt_in + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $password + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $phone + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $postcode + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $status + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $uuidToken + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $info + +  : Customer +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            The CRM customer info (the api response)
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $pemail + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            The CRM customer email
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $phashcode + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            The CRM hashcode (UUID)
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + $uuidToken + +  : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            The CRM customer temp uuidToken to validate transactions
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + __construct() + +  : mixed +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            WPCrmUser construct
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + __get() + +  : bool|string|Country|null +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Generic accessor
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + __set() + +  : void +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Generic mutator
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + activate() + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Activate the account in the crm
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + delete() + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Delete current customer to +the local database and on crm
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + jsonSerialize() + +  : array<string|int, mixed> +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Serialize this object to an array
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + parseFromJson() + +  : WPCrmUser +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Generate a user from session data
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + save() + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Save current customer to +the local database and on crm
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + setInfo() + +  : void +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Set the customer info +with api response
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + toggleOptin() + +  : bool +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Toggle the current user optin value +on the current user and the crm
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + Properties + +

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $address + + + +

                                                                                                                                                                                                                            + + + + + public + string + $address + + +

                                                                                                                                                                                                                            The account address (street number, name, build, flat number)

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $address2 + + + +

                                                                                                                                                                                                                            + + + + + public + string + $address2 + + +

                                                                                                                                                                                                                            — The account phone (address complement)

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $birth_date + + + +

                                                                                                                                                                                                                            + + + + + public + string + $birth_date + + +

                                                                                                                                                                                                                            — The account birth date 'yyyy-mm-dd'

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $city + + + +

                                                                                                                                                                                                                            + + + + + public + string + $city + + +

                                                                                                                                                                                                                            — The account city name

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $country + + + +

                                                                                                                                                                                                                            + + + + + public + Country + $country + + +

                                                                                                                                                                                                                            — The account country residence

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $email + + + +

                                                                                                                                                                                                                            + + + + + public + string + $email + + +

                                                                                                                                                                                                                            — Must be a rfc valid email on a valid domain name

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $firstname + + + +

                                                                                                                                                                                                                            + + + + + public + string + $firstname + + +

                                                                                                                                                                                                                            — The account first name

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $hashcode + + + +

                                                                                                                                                                                                                            + + + + + public + string + $hashcode + + +

                                                                                                                                                                                                                            — The crm hashcode this is a readonly field

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $last_connection + + + +

                                                                                                                                                                                                                            + + + + + public + string + $last_connection + + +

                                                                                                                                                                                                                            the last time user was connected 'yyyy-mm-dd HH:ii:ss'

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $lastname + + + +

                                                                                                                                                                                                                            + + + + + public + string + $lastname + + +

                                                                                                                                                                                                                            — The account last name

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $opt_in + + + +

                                                                                                                                                                                                                            + + + + + public + bool + $opt_in + + +

                                                                                                                                                                                                                            — true if the account is opt in

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $password + + + +

                                                                                                                                                                                                                            + + + + + public + string + $password + + +

                                                                                                                                                                                                                            Required only on create, +must have upper and lowers chars, +at least 1 number, +at leat 1 upper char, +at least 1 lower char and +at leat 1 special char

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $phone + + + +

                                                                                                                                                                                                                            + + + + + public + string + $phone + + +

                                                                                                                                                                                                                            — The account phone

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $postcode + + + +

                                                                                                                                                                                                                            + + + + + public + string + $postcode + + +

                                                                                                                                                                                                                            — The account city postcode

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $status + + + +

                                                                                                                                                                                                                            + + + + + public + bool + $status + + +

                                                                                                                                                                                                                            — true if the account is activated

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $uuidToken + + + +

                                                                                                                                                                                                                            + + + + + public + string + $uuidToken + + +

                                                                                                                                                                                                                            — A local transaction token for this user

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $info + + + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            The CRM customer info (the api response)

                                                                                                                                                                                                                            + + + protected + Customer + $info + = null + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $pemail + + + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            The CRM customer email

                                                                                                                                                                                                                            + + + protected + string + $pemail + = null + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $phashcode + + + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            The CRM hashcode (UUID)

                                                                                                                                                                                                                            + + + protected + string + $phashcode + = null + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + $uuidToken + + + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            The CRM customer temp uuidToken to validate transactions

                                                                                                                                                                                                                            + + + protected + string + $uuidToken + = null + + +

                                                                                                                                                                                                                            UUID

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + Methods + +

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + __construct() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            WPCrmUser construct

                                                                                                                                                                                                                            + + + public + __construct([string $hashcode = null ][, string $email = null ]) : mixed + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $hashcode + : string + = null
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The customer hashcode (UUID).

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $email + : string + = null
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The customer email.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + mixed + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + __get() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Generic accessor

                                                                                                                                                                                                                            + + + public + __get(string $prop) : bool|string|Country|null + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $prop + : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The prop to get.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool|string|Country|null + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + __set() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Generic mutator

                                                                                                                                                                                                                            + + + public + __set(string $prop, mixed $value) : void + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $prop + : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The property to assign.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $value + : mixed +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The value to set.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + void + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + activate() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Activate the account in the crm

                                                                                                                                                                                                                            + + + public + activate() : bool + + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ValidationException + +

                                                                                                                                                                                                                            If a customer's hashcode could not be validated.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                                            If an error occurs on server side or on getting response.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found. +- customerAlreadyActive, It the customer is already activated.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                                            true if succeeded

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + delete() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Delete current customer to +the local database and on crm

                                                                                                                                                                                                                            + + + public + delete() : bool + + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                                            If a critical error occured.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                                            true if the operation succeeded false otherwise

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + jsonSerialize() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Serialize this object to an array

                                                                                                                                                                                                                            + + + public + jsonSerialize() : array<string|int, mixed> + + + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + array<string|int, mixed> + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + parseFromJson() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Generate a user from session data

                                                                                                                                                                                                                            + + + public + static parseFromJson(string $string) : WPCrmUser + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $string + : string +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The json data stored in session.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + WpCrmInvalidJsonUserInfo + +

                                                                                                                                                                                                                            If the json string does no +contain the needed information.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + WPCrmUser + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + save() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Save current customer to +the local database and on crm

                                                                                                                                                                                                                            + + + public + save() : bool + + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                                            If a critical error occured.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - validationFailed, If provided data is wrong(CRM side). +- modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                                            true if the operation succeeded false otherwise

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + setInfo() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Set the customer info +with api response

                                                                                                                                                                                                                            + + + public + setInfo(Customer $customer) : void + + +
                                                                                                                                                                                                                            Parameters
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + $customer + : Customer +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            The Api object reponse (user).

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + void + — + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            + toggleOptin() + +

                                                                                                                                                                                                                            + + +

                                                                                                                                                                                                                            Toggle the current user optin value +on the current user and the crm

                                                                                                                                                                                                                            + + + public + toggleOptin() : bool + + + + +
                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + CrmException + +

                                                                                                                                                                                                                            If a critical error occured.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + throws +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + ApiErrorException + +

                                                                                                                                                                                                                            If any error or \LDC\LDCCRM\Enums\ApiError occurs. +Possibles are : - modelNotFound, If this customer hashcode could not be found.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Return values
                                                                                                                                                                                                                            + bool + — +

                                                                                                                                                                                                                            true if the operation succeeded

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/css/base.css b/crm-client-3.0.6/documentation/css/base.css new file mode 100644 index 0000000..db4e807 --- /dev/null +++ b/crm-client-3.0.6/documentation/css/base.css @@ -0,0 +1,1087 @@ + +:root { + /* Typography */ + --font-primary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-secondary: 'Source Sans Pro', Helvetica, Arial, sans-serif; + --font-monospace: 'Source Code Pro', monospace; + --line-height--primary: 1.6; + --letter-spacing--primary: .05rem; + --text-base-size: 1em; + --text-scale-ratio: 1.2; + + --text-xxs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-xs: calc(var(--text-base-size) / var(--text-scale-ratio) / var(--text-scale-ratio)); + --text-sm: calc(var(--text-base-size) / var(--text-scale-ratio)); + --text-md: var(--text-base-size); + --text-lg: calc(var(--text-base-size) * var(--text-scale-ratio)); + --text-xl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + --text-xxxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio)); + + /* Colors */ + --primary-color: hsl(96, 57%, 60%); + --primary-color-darken: hsl(96, 57%, 40%); + --primary-color-darker: hsl(96, 57%, 20%); + --primary-color-darkest: hsl(96, 57%, 10%); + --primary-color-lighten: hsl(96, 57%, 80%); + --primary-color-lighter: hsl(96, 57%, 99%); + --dark-gray: #d1d1d1; + --light-gray: #f0f0f0; + + --text-color: var(--primary-color-darkest); + + --header-height: var(--spacing-xxxxl); + --header-bg-color: var(--primary-color); + --code-background-color: #f7faf5; + --code-border-color: #d6e7cb; + --button-border-color: var(--primary-color-darken); + --button-color: transparent; + --button-color-primary: var(--primary-color); + --button-text-color: #555; + --button-text-color-primary: white; + --popover-background-color: rgba(255, 255, 255, 0.75); + --link-color-primary: var(--primary-color-darken); + --link-hover-color-primary: var(--primary-color-darker); + --form-field-border-color: var(--dark-gray); + --form-field-color: #fff; + --admonition-success-color: var(--primary-color); + --admonition-border-color: silver; + --table-separator-color: var(--primary-color-lighten); + --title-text-color: var(--primary-color); + + --sidebar-border-color: var(--primary-color-lighten); + + /* Grid */ + --container-width: 1400px; + + /* Spacing */ + --spacing-base-size: 1rem; + --spacing-scale-ratio: 1.5; + + --spacing-xxxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xxs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-xs: calc(var(--spacing-base-size) / var(--spacing-scale-ratio) / var(--spacing-scale-ratio)); + --spacing-sm: calc(var(--spacing-base-size) / var(--spacing-scale-ratio)); + --spacing-md: var(--spacing-base-size); + --spacing-lg: calc(var(--spacing-base-size) * var(--spacing-scale-ratio)); + --spacing-xl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + --spacing-xxxxl: calc(var(--spacing-base-size) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio) * var(--spacing-scale-ratio)); + + --border-radius-base-size: 3px; +} + +/* Base Styles +-------------------------------------------------- */ +body { + color: var(--text-color); + font-family: var(--font-primary); + font-size: var(--text-md); + letter-spacing: var(--letter-spacing--primary); + line-height: var(--line-height--primary); +} + +.phpdocumentor h1, +.phpdocumentor h2, +.phpdocumentor h3, +.phpdocumentor h4, +.phpdocumentor h5, +.phpdocumentor h6 { + margin-bottom: var(--spacing-lg); + margin-top: var(--spacing-lg); + font-weight: 600; +} + +.phpdocumentor h1 { + font-size: var(--text-xxxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.2; + margin-top: 0; +} + +.phpdocumentor h2 { + font-size: var(--text-xxxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.25; +} + +.phpdocumentor h3 { + font-size: var(--text-xxl); + letter-spacing: var(--letter-spacing--primary); + line-height: 1.3; +} + +.phpdocumentor h4 { + font-size: var(--text-xl); + letter-spacing: calc(var(--letter-spacing--primary) / 2); + line-height: 1.35; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor h5 { + font-size: var(--text-lg); + letter-spacing: calc(var(--letter-spacing--primary) / 4); + line-height: 1.5; + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h6 { + font-size: var(--text-md); + letter-spacing: 0; + line-height: var(--line-height--primary); + margin-bottom: var(--spacing-md); + margin-top: var(--spacing-md); +} + +.phpdocumentor h1 .headerlink, +.phpdocumentor h2 .headerlink, +.phpdocumentor h3 .headerlink, +.phpdocumentor h4 .headerlink, +.phpdocumentor h5 .headerlink, +.phpdocumentor h6 .headerlink +{ + transition: all .3s ease-in-out; + opacity: 0; + text-decoration: none; + color: silver; + font-size: 80%; +} + +.phpdocumentor h1:hover .headerlink, +.phpdocumentor h2:hover .headerlink, +.phpdocumentor h3:hover .headerlink, +.phpdocumentor h4:hover .headerlink, +.phpdocumentor h5:hover .headerlink, +.phpdocumentor h6:hover .headerlink +{ + opacity: 1; +} +.phpdocumentor p { + margin-top: 0; + margin-bottom: var(--spacing-md); +} +.phpdocumentor figure { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor figcaption { + text-align: center; + font-style: italic; + font-size: 80%; +} +.phpdocumentor-line { + border-top: 1px solid #E1E1E1; + border-width: 0; + margin-bottom: var(--spacing-xxl); + margin-top: var(--spacing-xxl); +} +.phpdocumentor-section { + box-sizing: border-box; + margin: 0 auto; + max-width: var(--container-width); + padding: 0 var(--spacing-lg); + position: relative; + width: 100%; +} + +@media (min-width: 1200px) { + .phpdocumentor-section { + padding: 0; + width: 95%; + } +} +.phpdocumentor-column { + box-sizing: border-box; + float: left; + width: 100%; +} + +@media (min-width: 550px) { + .phpdocumentor-column { + margin-left: 4%; + } + + .phpdocumentor-column:first-child { + margin-left: 0; + } + + .-one.phpdocumentor-column { + width: 4.66666666667%; + } + + .-two.phpdocumentor-column { + width: 13.3333333333%; + } + + .-three.phpdocumentor-column { + width: 22%; + } + + .-four.phpdocumentor-column { + width: 30.6666666667%; + } + + .-five.phpdocumentor-column { + width: 39.3333333333%; + } + + .-six.phpdocumentor-column { + width: 48%; + } + + .-seven.phpdocumentor-column { + width: 56.6666666667%; + } + + .-eight.phpdocumentor-column { + width: 65.3333333333%; + } + + .-nine.phpdocumentor-column { + width: 74.0%; + } + + .-ten.phpdocumentor-column { + width: 82.6666666667%; + } + + .-eleven.phpdocumentor-column { + width: 91.3333333333%; + } + + .-twelve.phpdocumentor-column { + margin-left: 0; + width: 100%; + } + + .-one-third.phpdocumentor-column { + width: 30.6666666667%; + } + + .-two-thirds.phpdocumentor-column { + width: 65.3333333333%; + } + + .-one-half.phpdocumentor-column { + width: 48%; + } + + /* Offsets */ + .-offset-by-one.phpdocumentor-column { + margin-left: 8.66666666667%; + } + + .-offset-by-two.phpdocumentor-column { + margin-left: 17.3333333333%; + } + + .-offset-by-three.phpdocumentor-column { + margin-left: 26%; + } + + .-offset-by-four.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-five.phpdocumentor-column { + margin-left: 43.3333333333%; + } + + .-offset-by-six.phpdocumentor-column { + margin-left: 52%; + } + + .-offset-by-seven.phpdocumentor-column { + margin-left: 60.6666666667%; + } + + .-offset-by-eight.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-nine.phpdocumentor-column { + margin-left: 78.0%; + } + + .-offset-by-ten.phpdocumentor-column { + margin-left: 86.6666666667%; + } + + .-offset-by-eleven.phpdocumentor-column { + margin-left: 95.3333333333%; + } + + .-offset-by-one-third.phpdocumentor-column { + margin-left: 34.6666666667%; + } + + .-offset-by-two-thirds.phpdocumentor-column { + margin-left: 69.3333333333%; + } + + .-offset-by-one-half.phpdocumentor-column { + margin-left: 52%; + } +} +.phpdocumentor a { + color: var(--link-color-primary); +} + +.phpdocumentor a:hover { + color: var(--link-hover-color-primary); +} +.phpdocumentor-button { + background-color: var(--button-color); + border: 1px solid var(--button-border-color); + border-radius: var(--border-radius-base-size); + box-sizing: border-box; + color: var(--button-text-color); + cursor: pointer; + display: inline-block; + font-size: var(--text-sm); + font-weight: 600; + height: 38px; + letter-spacing: .1rem; + line-height: 38px; + padding: 0 var(--spacing-xxl); + text-align: center; + text-decoration: none; + text-transform: uppercase; + white-space: nowrap; + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-button .-wide { + width: 100%; +} + +.phpdocumentor-button:hover, +.phpdocumentor-button:focus { + border-color: #888; + color: #333; + outline: 0; +} + +.phpdocumentor-button.-primary { + background-color: var(--button-color-primary); + border-color: var(--button-color-primary); + color: var(--button-text-color-primary); +} + +.phpdocumentor-button.-primary:hover, +.phpdocumentor-button.-primary:focus { + background-color: var(--link-color-primary); + border-color: var(--link-color-primary); + color: var(--button-text-color-primary); +} +.phpdocumentor form { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-field { + background-color: var(--form-field-color); + border: 1px solid var(--form-field-border-color); + border-radius: var(--border-radius-base-size); + box-shadow: none; + box-sizing: border-box; + height: 38px; + padding: var(--spacing-xxxs) var(--spacing-xxs); /* The 6px vertically centers text on FF, ignored by Webkit */ + margin-bottom: var(--spacing-md); +} + +/* Removes awkward default styles on some inputs for iOS */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea { + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; +} + +.phpdocumentor-textarea { + min-height: 65px; + padding-bottom: var(--spacing-xxxs); + padding-top: var(--spacing-xxxs); +} + +.phpdocumentor-field:focus { + border: 1px solid var(--button-color-primary); + outline: 0; +} + +.phpdocumentor-label { + display: block; + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor-fieldset { + border-width: 0; + padding: 0; +} + +input[type="checkbox"].phpdocumentor-field, +input[type="radio"].phpdocumentor-field { + display: inline; +} +div.phpdocumentor-list > ul, +ul.phpdocumentor-list { + list-style: circle inside; +} + +ol.phpdocumentor-list { + list-style: decimal inside; +} + +div.phpdocumentor-list > ul, +ol.phpdocumentor-list, +ul.phpdocumentor-list { + margin-top: 0; + padding-left: 0; + margin-bottom: var(--spacing-md); +} + +dl { + margin-bottom: var(--spacing-md); +} + +div.phpdocumentor-list > ul ul, +ul.phpdocumentor-list ul.phpdocumentor-list, +ul.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ol.phpdocumentor-list, +ol.phpdocumentor-list ul.phpdocumentor-list { + font-size: var(--text-sm); + margin: var(--spacing-xs) 0 var(--spacing-xs) calc(var(--spacing-xs) * 2); +} + +li.phpdocumentor-list { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor dl dt { + margin-bottom: var(--spacing-xs); +} + +.phpdocumentor dl dd { + margin-bottom: var(--spacing-md); +} +.phpdocumentor pre { + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-code { + font-family: var(--font-monospace); + background: var(--code-background-color); + border: 1px solid var(--code-border-color); + border-radius: var(--border-radius-base-size); + font-size: var(--text-sm); + padding: var(--spacing-sm) var(--spacing-md); + width: 100%; + box-sizing: border-box; +} + +.phpdocumentor-code.-dark { + background: var(--primary-color-darkest); + color: var(--light-gray); + box-shadow: 0 2px 3px var(--dark-gray); +} + +pre > .phpdocumentor-code { + display: block; + white-space: pre; +} +.phpdocumentor blockquote { + border-left: 4px solid var(--primary-color-darken); + margin: var(--spacing-md) 0; + padding: var(--spacing-xs) var(--spacing-sm); + color: var(--primary-color-darker); + font-style: italic; +} + +.phpdocumentor blockquote p:last-of-type { + margin-bottom: 0; +} +.phpdocumentor table { + margin-bottom: var(--spacing-md); +} + +th.phpdocumentor-heading, +td.phpdocumentor-cell { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) var(--spacing-md); + text-align: left; +} + +th.phpdocumentor-heading:first-child, +td.phpdocumentor-cell:first-child { + padding-left: 0; +} + +th.phpdocumentor-heading:last-child, +td.phpdocumentor-cell:last-child { + padding-right: 0; +} + +.phpdocumentor-header { + display: flex; + flex-direction: row; + align-items: stretch; + flex-wrap: wrap; + justify-content: space-between; + height: auto; + padding: var(--spacing-md) var(--spacing-md); +} + +.phpdocumentor-header__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-header__menu-icon { + font-size: 2rem; + color: var(--primary-color); +} + +.phpdocumentor-header__menu-button:checked ~ .phpdocumentor-topnav { + max-height: 250px; + padding-top: var(--spacing-md); +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + flex-direction: row; + padding: var(--spacing-lg) var(--spacing-lg); + min-height: var(--header-height); + } + + .phpdocumentor-header__menu-icon { + display: none; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-header { + padding-top: 0; + padding-bottom: 0; + } +} +@media (min-width: 1200px) { + .phpdocumentor-header { + padding: 0; + } +} +.phpdocumentor-title { + box-sizing: border-box; + color: var(--title-text-color); + font-size: var(--text-xxl); + letter-spacing: .05rem; + font-weight: normal; + width: auto; + margin: 0; + display: flex; + align-items: center; +} + +.phpdocumentor-title.-without-divider { + border: none; +} + +.phpdocumentor-title__link { + transition: all .3s ease-out; + display: flex; + color: var(--title-text-color); + text-decoration: none; + font-weight: normal; + white-space: nowrap; + transform: scale(.75); + transform-origin: left; +} + +.phpdocumentor-title__link:hover { + transform: perspective(15rem) translateX(.5rem); + font-weight: 600; +} + +@media (min-width: 1000px) { + .phpdocumentor-title { + width: 30.6666666667%; + border-right: var(--sidebar-border-color) solid 1px; + } + + .phpdocumentor-title__link { + transform-origin: left; + } +} + +@media (min-width: 1000px) { + .phpdocumentor-title__link { + transform: scale(.85); + } +} + +@media (min-width: 1200px) { + .phpdocumentor-title__link { + transform: scale(1); + } +} +.phpdocumentor-topnav { + display: flex; + align-items: center; + margin: 0; + max-height: 0; + overflow: hidden; + transition: max-height 0.2s ease-out; + flex-basis: 100%; +} + +.phpdocumentor-topnav__menu { + text-align: right; + list-style: none; + margin: 0; + padding: 0; + flex: 1; + display: flex; + flex-flow: row wrap; + justify-content: center; +} + +.phpdocumentor-topnav__menu-item { + margin: 0; + width: 100%; + display: inline-block; + text-align: center; + padding: var(--spacing-sm) 0 +} + +.phpdocumentor-topnav__menu-item.-social { + width: auto; + padding: var(--spacing-sm) +} + +.phpdocumentor-topnav__menu-item a { + display: inline-block; + color: var(--text-color); + text-decoration: none; + font-size: var(--text-lg); + transition: all .3s ease-out; + border-bottom: 1px dotted transparent; + line-height: 1; +} + +.phpdocumentor-topnav__menu-item a:hover { + transform: perspective(15rem) translateY(.1rem); + border-bottom: 1px dotted var(--text-color); +} + +@media (min-width: 1000px) { + .phpdocumentor-topnav { + max-height: none; + overflow: visible; + flex-basis: auto; + } + + .phpdocumentor-topnav__menu { + display: flex; + flex-flow: row wrap; + justify-content: flex-end; + } + + .phpdocumentor-topnav__menu-item, + .phpdocumentor-topnav__menu-item.-social { + width: auto; + display: inline; + text-align: right; + padding: 0 0 0 var(--spacing-md) + } +} +.phpdocumentor-sidebar { + margin: 0; + overflow: hidden; + max-height: 0; +} + +.phpdocumentor .phpdocumentor-sidebar .phpdocumentor-list { + padding: var(--spacing-xs) var(--spacing-md); + list-style: none; + margin: 0; +} + +.phpdocumentor .phpdocumentor-sidebar li { + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + padding: 0 0 var(--spacing-xxxs) var(--spacing-md); +} + +.phpdocumentor .phpdocumentor-sidebar abbr, +.phpdocumentor .phpdocumentor-sidebar a { + text-decoration: none; + border-bottom: none; + color: var(--text-color); + font-size: var(--text-md); + padding-left: 0; + transition: padding-left .4s ease-out; +} + +.phpdocumentor .phpdocumentor-sidebar a:hover { + padding-left: 5px; + font-weight: 600; +} + +.phpdocumentor .phpdocumentor-sidebar__category > * { + border-left: 1px solid var(--primary-color-lighten); +} + +.phpdocumentor .phpdocumentor-sidebar__category { + margin-bottom: var(--spacing-lg); +} + +.phpdocumentor .phpdocumentor-sidebar__category-header { + font-size: var(--text-md); + margin-bottom: var(--spacing-xs); + color: var(--link-color-primary); + font-weight: 600; + border-left: 0; +} + +.phpdocumentor .phpdocumentor-sidebar__root-package, +.phpdocumentor .phpdocumentor-sidebar__root-namespace { + font-size: var(--text-md); + margin: 0; + padding-top: var(--spacing-xs); + padding-left: var(--spacing-md); + color: var(--text-color); + font-weight: normal; +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + border-right: var(--sidebar-border-color) solid 1px; + } +} + +.phpdocumentor-sidebar__menu-button { + position: absolute; + top: -100%; + left: -100%; +} + +.phpdocumentor-sidebar__menu-icon { + font-size: var(--text-md); + font-weight: 600; + background: var(--primary-color); + color: white; + margin: 0 0 var(--spacing-lg); + display: block; + padding: var(--spacing-sm); + text-align: center; + border-radius: 3px; + text-transform: uppercase; + letter-spacing: .15rem; +} + +.phpdocumentor-sidebar__menu-button:checked ~ .phpdocumentor-sidebar { + max-height: 100%; + padding-top: var(--spacing-md); +} + +@media (min-width: 550px) { + .phpdocumentor-sidebar { + overflow: visible; + max-height: 100%; + } + + .phpdocumentor-sidebar__menu-icon { + display: none; + } +} +.phpdocumentor-admonition { + border: 1px solid var(--admonition-border-color); + border-radius: var(--border-radius-base-size); + border-color: var(--primary-color-lighten); + background-color: var(--primary-color-lighter); + padding: var(--spacing-lg); + margin: var(--spacing-lg) 0; + display: flex; + flex-direction: row; + align-items: flex-start; +} + +.phpdocumentor-admonition p:last-of-type { + margin-bottom: 0; +} + +.phpdocumentor-admonition--success, +.phpdocumentor-admonition.-success { + border-color: var(--admonition-success-color); +} + +.phpdocumentor-admonition__icon { + margin-right: var(--spacing-md); + color: var(--primary-color); + max-width: 3rem; +} +.phpdocumentor ul.phpdocumentor-breadcrumbs { + font-size: var(--text-md); + list-style: none; + margin: 0; + padding: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs a { + color: var(--text-color); + text-decoration: none; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li { + display: inline-block; + margin: 0; +} + +.phpdocumentor ul.phpdocumentor-breadcrumbs > li + li:before { + color: var(--dark-gray); + content: "\\\A0"; + padding: 0; +} +.phpdocumentor .phpdocumentor-back-to-top { + position: fixed; + bottom: 2rem; + font-size: 2.5rem; + opacity: .25; + transition: all .3s ease-in-out; + right: 2rem; +} + +.phpdocumentor .phpdocumentor-back-to-top:hover { + color: var(--link-color-primary); + opacity: 1; +} +.phpdocumentor-search { + position: relative; + display: none; /** disable by default for non-js flow */ + opacity: .3; /** white-out default for loading indication */ + transition: opacity .3s, background .3s; + margin: var(--spacing-sm) 0; + flex: 1; + min-width: 100%; +} + +.phpdocumentor-search label { + display: flex; + align-items: center; + flex: 1; +} + +.phpdocumentor-search__icon { + color: var(--primary-color); + margin-right: var(--spacing-sm); + width: 1rem; + height: 1rem; +} + +.phpdocumentor-search--enabled { + display: flex; +} + +.phpdocumentor-search--active { + opacity: 1; +} + +.phpdocumentor-search input:disabled { + background-color: lightgray; +} + +.phpdocumentor-search__field:focus, +.phpdocumentor-search__field { + margin-bottom: 0; + border: 0; + border-bottom: 2px solid var(--primary-color); + padding: 0; + border-radius: 0; + flex: 1; +} + +@media (min-width: 1000px) { + .phpdocumentor-search { + min-width: auto; + max-width: 20rem; + margin: 0 0 0 auto; + } +} +.phpdocumentor-content { + position: relative; +} + +.phpdocumentor-search-results { + backdrop-filter: blur(5px); + background: var(--popover-background-color); + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 0; + opacity: 1; + pointer-events: all; + + transition: opacity .3s, background .3s; +} + +.phpdocumentor-search-results--hidden { + background: transparent; + backdrop-filter: blur(0); + opacity: 0; + pointer-events: none; +} + +.phpdocumentor-search-results__dialog { + width: 100%; + background: white; + max-height: 100%; + display: flex; + flex-direction: column; +} + +.phpdocumentor-search-results__body { + overflow: auto; +} + +.phpdocumentor-search-results__header { + padding: var(--spacing-lg); + display: flex; + justify-content: space-between; + background: var(--primary-color-darken); + color: white; + align-items: center; +} + +.phpdocumentor-search-results__close { + font-size: var(--text-xl); + background: none; + border: none; + padding: 0; + margin: 0; +} + +.phpdocumentor .phpdocumentor-search-results__title { + font-size: var(--text-xl); + margin-bottom: 0; +} + +.phpdocumentor-search-results__entries { + list-style: none; + padding: 0 var(--spacing-lg); + margin: 0; +} + +.phpdocumentor-search-results__entry { + border-bottom: 1px solid var(--table-separator-color); + padding: var(--spacing-sm) 0; + text-align: left; +} + +.phpdocumentor-search-results__entry a { + display: block; +} + +.phpdocumentor-search-results__entry small { + margin-top: var(--spacing-xs); + margin-bottom: var(--spacing-md); + color: var(--primary-color-darker); + display: block; + word-break: break-word; +} + +.phpdocumentor-search-results__entry h3 { + font-size: var(--text-lg); + margin: 0; +} + +@media (min-width: 550px) { + .phpdocumentor-search-results { + padding: 0 var(--spacing-lg); + } + + .phpdocumentor-search-results__entry h3 { + font-size: var(--text-xxl); + } + + .phpdocumentor-search-results__dialog { + margin: var(--spacing-xl) auto; + max-width: 40rem; + background: white; + border: 1px solid silver; + box-shadow: 0 2px 5px silver; + max-height: 40rem; + border-radius: 3px; + } +} +.phpdocumentor-modal { + position: fixed; + width: 100vw; + height: 100vh; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; + top: 0; + left: 0; + display: flex; + align-items: center; + justify-content: center; +} + +.phpdocumentor-modal__open { + visibility: visible; + opacity: 1; + transition-delay: 0s; +} + +.phpdocumentor-modal-bg { + position: absolute; + background: gray; + opacity: 50%; + width: 100%; + height: 100%; +} + +.phpdocumentor-modal-container { + border-radius: 1em; + background: #fff; + position: relative; + padding: 2em; +} + +.phpdocumentor-modal__close { + position: absolute; + right: 0.75em; + top: 0.75em; + outline: none; + appearance: none; + color: var(--primary-color); + background: none; + border: 0px; + font-weight: bold; + cursor: pointer; +} + +/* Used for screen readers and such */ +.visually-hidden { + display: none; +} + +.float-right { + float: right; +} + +.float-left { + float: left; +} diff --git a/crm-client-3.0.6/documentation/css/normalize.css b/crm-client-3.0.6/documentation/css/normalize.css new file mode 100644 index 0000000..579152b --- /dev/null +++ b/crm-client-3.0.6/documentation/css/normalize.css @@ -0,0 +1,427 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ + +audio, +canvas, +progress, +video { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9/10. + */ + +img { + border: 0; +} + +/** + * Correct overflow not hidden in IE 9/10/11. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari. + */ + +figure { + margin: 1em 40px; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Contain overflow in all browsers. + */ + +pre { + overflow: auto; +} + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: var(--font-monospace); + font-size: 1em; +} + +/* Forms + ========================================================================== */ + +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ + +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ + +button, +input, +optgroup, +select, +textarea { + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ + +button { + overflow: visible; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +input { + line-height: normal; +} + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ + +textarea { + overflow: auto; +} + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ + +optgroup { + font-weight: bold; +} + +/* Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} diff --git a/crm-client-3.0.6/documentation/css/template.css b/crm-client-3.0.6/documentation/css/template.css new file mode 100644 index 0000000..31f00e3 --- /dev/null +++ b/crm-client-3.0.6/documentation/css/template.css @@ -0,0 +1,188 @@ +.phpdocumentor-summary { + font-style: italic; +} +.phpdocumentor-description { + margin-bottom: var(--spacing-md); +} +.phpdocumentor-element { + position: relative; +} + +.phpdocumentor .phpdocumentor-element__name { + line-height: 1; +} + +.phpdocumentor-element__package, +.phpdocumentor-element__extends, +.phpdocumentor-element__implements { + display: block; + font-size: var(--text-xxs); + font-weight: normal; + opacity: .7; +} + +.phpdocumentor-element__package .phpdocumentor-breadcrumbs { + display: inline; +} + +.phpdocumentor-element:not(:last-child) { + border-bottom: 1px solid var(--primary-color-lighten); + padding-bottom: var(--spacing-lg); +} + +.phpdocumentor-element.-deprecated .phpdocumentor-element__name { + text-decoration: line-through; +} + +.phpdocumentor-element__modifier { + font-size: var(--text-xxs); + padding: calc(var(--spacing-base-size) / 4) calc(var(--spacing-base-size) / 2); + color: var(--text-color); + background-color: var(--light-gray); + border-radius: 3px; + text-transform: uppercase; +} +.phpdocumentor-signature { + display: inline-block; + font-size: var(--text-sm); + margin-bottom: var(--spacing-md); +} + +.phpdocumentor-signature.-deprecated .phpdocumentor-signature__name { + text-decoration: line-through; +} +.phpdocumentor-table-of-contents { +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry { + padding-top: var(--spacing-xs); + margin-left: 2rem; + display: flex; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > a { + flex: 0 1 auto; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > span { + flex: 1; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:after { + content: ''; + height: 12px; + width: 12px; + left: 16px; + position: absolute; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-private:after { + background: url('data:image/svg+xml;utf8,') no-repeat; +} +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-protected:after { + left: 13px; + background: url('data:image/svg+xml;utf8,') no-repeat; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:before { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + position: absolute; + left: 0; + border-radius: 50%; + font-weight: 600; + color: white; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-method:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-function:before { + content: 'M'; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-property:before { + content: 'P' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before { + content: 'C'; + background-color: transparent; + background-image: url('data:image/svg+xml;utf8,'); +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-class:before { + content: 'C' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-interface:before { + content: 'I' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-trait:before { + content: 'T' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-namespace:before { + content: 'N' +} + +.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-package:before { + content: 'P' +} + +.phpdocumentor-table-of-contents dd { + font-style: italic; + margin-left: 2rem; +} +.phpdocumentor-element-found-in { + position: absolute; + top: 0; + right: 0; + font-size: var(--text-sm); + color: gray; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source { + flex: 0 1 auto; + display: inline-flex; +} + +.phpdocumentor-element-found-in .phpdocumentor-element-found-in__source:after { + width: 1.25rem; + height: 1.25rem; + line-height: 1.25rem; + background: transparent url('data:image/svg+xml;utf8,') no-repeat center center; + content: ''; + left: 0; + border-radius: 50%; + font-weight: 600; + text-align: center; + font-size: .75rem; + margin-top: .2rem; +} +.phpdocumentor-class-graph { + width: 100%; height: 600px; border:1px solid black; overflow: hidden +} + +.phpdocumentor-class-graph__graph { + width: 100%; +} +.phpdocumentor-tag-list__definition { + display: flex; +} + +.phpdocumentor-tag-link { + margin-right: var(--spacing-sm); +} diff --git a/crm-client-3.0.6/documentation/files/examples-customerexample.html b/crm-client-3.0.6/documentation/files/examples-customerexample.html new file mode 100644 index 0000000..7bb0da2 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/examples-customerexample.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              CustomerExample.php

                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                              + + + + + + + + + + + + + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-crmapiv2.html b/crm-client-3.0.6/documentation/files/src-crmapiv2.html new file mode 100644 index 0000000..9e3241b --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-crmapiv2.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                CrmApiV2.php

                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                CrmApiV2
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                This is the main class to interact with the CRM
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-enums-apierror.html b/crm-client-3.0.6/documentation/files/src-enums-apierror.html new file mode 100644 index 0000000..2ac8a83 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-enums-apierror.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  ApiError.php

                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  ApiError
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  This describes an API error.
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-enums-apistatus.html b/crm-client-3.0.6/documentation/files/src-enums-apistatus.html new file mode 100644 index 0000000..bcd330c --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-enums-apistatus.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    ApiStatus.php

                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    ApiStatus
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-enums-arcadiamailtype.html b/crm-client-3.0.6/documentation/files/src-enums-arcadiamailtype.html new file mode 100644 index 0000000..62f8966 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-enums-arcadiamailtype.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      ArcadiaMailType.php

                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      ArcadiaMailType
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-enums-arcadiaordertype.html b/crm-client-3.0.6/documentation/files/src-enums-arcadiaordertype.html new file mode 100644 index 0000000..62c8d5b --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-enums-arcadiaordertype.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                        ArcadiaOrderType.php

                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        ArcadiaOrderType
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-enums-country.html b/crm-client-3.0.6/documentation/files/src-enums-country.html new file mode 100644 index 0000000..d2050f9 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-enums-country.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Country.php

                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          Country
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          Liste de Pays
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-enums-httpmethods.html b/crm-client-3.0.6/documentation/files/src-enums-httpmethods.html new file mode 100644 index 0000000..92d2516 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-enums-httpmethods.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                            HttpMethods.php

                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                            + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-enums-loglevel.html b/crm-client-3.0.6/documentation/files/src-enums-loglevel.html new file mode 100644 index 0000000..8834ad0 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-enums-loglevel.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              LogLevel.php

                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              LogLevel
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-enums-questiontype.html b/crm-client-3.0.6/documentation/files/src-enums-questiontype.html new file mode 100644 index 0000000..0a94cc6 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-enums-questiontype.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                QuestionType.php

                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                QuestionType
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-exceptions-accesserror.html b/crm-client-3.0.6/documentation/files/src-exceptions-accesserror.html new file mode 100644 index 0000000..b2a7afa --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-exceptions-accesserror.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  AccessError.php

                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  AccessError
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-exceptions-apierrorexception.html b/crm-client-3.0.6/documentation/files/src-exceptions-apierrorexception.html new file mode 100644 index 0000000..549805d --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-exceptions-apierrorexception.html @@ -0,0 +1,153 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                    ApiErrorException.php

                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    ApiErrorException
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-exceptions-crmexception.html b/crm-client-3.0.6/documentation/files/src-exceptions-crmexception.html new file mode 100644 index 0000000..d83c57f --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-exceptions-crmexception.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      CrmException.php

                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      CrmException
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      This is a critical error.
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-exceptions-skipvalidationexception.html b/crm-client-3.0.6/documentation/files/src-exceptions-skipvalidationexception.html new file mode 100644 index 0000000..e8418f4 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-exceptions-skipvalidationexception.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                        SkipValidationException.php

                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        SkipValidationException
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        Used only for internal validator
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-exceptions-validationexception.html b/crm-client-3.0.6/documentation/files/src-exceptions-validationexception.html new file mode 100644 index 0000000..3b7a967 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-exceptions-validationexception.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          ValidationException.php

                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          ValidationException
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          This would be thrown if a data could not be validated +on any models
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-exceptions-wpcrminvalidjsonuserinfo.html b/crm-client-3.0.6/documentation/files/src-exceptions-wpcrminvalidjsonuserinfo.html new file mode 100644 index 0000000..b8ff99e --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-exceptions-wpcrminvalidjsonuserinfo.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                            WpCrmInvalidJsonUserInfo.php

                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            WpCrmInvalidJsonUserInfo
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            This is thrown when trying to read WP customer from DB json data.
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-models-answer.html b/crm-client-3.0.6/documentation/files/src-models-answer.html new file mode 100644 index 0000000..3ef11b1 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-models-answer.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Answer.php

                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                              + + + + + + +

                                                                                                                                                                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              Answer
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              This class represents an answer +It has a method to submit answers
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-models-arcadiamaildefault.html b/crm-client-3.0.6/documentation/files/src-models-arcadiamaildefault.html new file mode 100644 index 0000000..da2f75e --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-models-arcadiamaildefault.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                ArcadiaMailDefault.php

                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                ArcadiaMailDefault
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-models-arcadiamailgame.html b/crm-client-3.0.6/documentation/files/src-models-arcadiamailgame.html new file mode 100644 index 0000000..1a1c378 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-models-arcadiamailgame.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  ArcadiaMailGame.php

                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  ArcadiaMailGame
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-models-crmclientmodel.html b/crm-client-3.0.6/documentation/files/src-models-crmclientmodel.html new file mode 100644 index 0000000..612a8b5 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-models-crmclientmodel.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                    CrmClientModel.php

                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                    + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-models-customer.html b/crm-client-3.0.6/documentation/files/src-models-customer.html new file mode 100644 index 0000000..12a8e23 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-models-customer.html @@ -0,0 +1,153 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      Customer.php

                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                      + + + + + + +

                                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      Customer
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-models-question.html b/crm-client-3.0.6/documentation/files/src-models-question.html new file mode 100644 index 0000000..1fa880c --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-models-question.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                        Question.php

                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                        + + + + + + +

                                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        Question
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-models-singleoptin.html b/crm-client-3.0.6/documentation/files/src-models-singleoptin.html new file mode 100644 index 0000000..47579b5 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-models-singleoptin.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          SingleOptin.php

                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                          + + + + + + +

                                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          SingleOptin
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          This class allows to handle single opt in
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-models-stats.html b/crm-client-3.0.6/documentation/files/src-models-stats.html new file mode 100644 index 0000000..9858cca --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-models-stats.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Stats.php

                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                            + + + + + + +

                                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            Stats
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            This class is used to get stats from CRM
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-transport-apiinterface.html b/crm-client-3.0.6/documentation/files/src-transport-apiinterface.html new file mode 100644 index 0000000..3dff3ea --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-transport-apiinterface.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              ApiInterface.php

                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-transport-request.html b/crm-client-3.0.6/documentation/files/src-transport-request.html new file mode 100644 index 0000000..013412c --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-transport-request.html @@ -0,0 +1,152 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                Request.php

                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                + + + + + + +

                                                                                                                                                                                                                                                                                + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                Request
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-transport-response.html b/crm-client-3.0.6/documentation/files/src-transport-response.html new file mode 100644 index 0000000..f261368 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-transport-response.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  Response.php

                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                  + + + + + + +

                                                                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  Response
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-utils.html b/crm-client-3.0.6/documentation/files/src-utils.html new file mode 100644 index 0000000..4d0ea3b --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-utils.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    Utils.php

                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                    + + + + + + +

                                                                                                                                                                                                                                                                                    + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    Utils
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    This is the LDCCRM utility class
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-wordpress-wpcrm.html b/crm-client-3.0.6/documentation/files/src-wordpress-wpcrm.html new file mode 100644 index 0000000..4172488 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-wordpress-wpcrm.html @@ -0,0 +1,191 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      WPCrm.php

                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      LDCCRM For Wordpress usage

                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                      + Tags + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + category +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      API

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + author +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + license +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                      MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + link +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + / + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + + + + +

                                                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      WPCrm
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmanswer.html b/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmanswer.html new file mode 100644 index 0000000..8e24725 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmanswer.html @@ -0,0 +1,191 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        WPCrmAnswer.php

                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        LDCCRM For Wordpress usage

                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                        + Tags + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + category +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        API

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + author +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + license +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + link +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + / + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + + + +

                                                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        WPCrmAnswer
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmquestion.html b/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmquestion.html new file mode 100644 index 0000000..3563dde --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmquestion.html @@ -0,0 +1,191 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          WPCrmQuestion.php

                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                          LDCCRM For Wordpress usage

                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                          + Tags + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + category +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                          API

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + author +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                          Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + license +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                          MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + link +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + / + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + + + + +

                                                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          WPCrmQuestion
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmuser.html b/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmuser.html new file mode 100644 index 0000000..07b7454 --- /dev/null +++ b/crm-client-3.0.6/documentation/files/src-wordpress-wpcrmuser.html @@ -0,0 +1,191 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            WPCrmUser.php

                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                            LDCCRM For Wordpress usage

                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                            + Tags + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + category +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                            API

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + author +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                            Jérémy Munsch jeremy.munsch@ldc.fr

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + license +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                            MIT https://opensource.org/licenses/MIT

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + link +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + / + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + + + + +

                                                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            WPCrmUser
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/graphs/classes.html b/crm-client-3.0.6/documentation/graphs/classes.html new file mode 100644 index 0000000..9d638db --- /dev/null +++ b/crm-client-3.0.6/documentation/graphs/classes.html @@ -0,0 +1,117 @@ + + + + + CRM V2 + + + + + + + + +
                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/index.html b/crm-client-3.0.6/documentation/index.html new file mode 100644 index 0000000..c2a146c --- /dev/null +++ b/crm-client-3.0.6/documentation/index.html @@ -0,0 +1,145 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                Documentation

                                                                                                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                                                                                                + Packages + +

                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                LDCCrmClient
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                None
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                + Namespaces + +

                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                LDC
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/indices/files.html b/crm-client-3.0.6/documentation/indices/files.html new file mode 100644 index 0000000..e7538c2 --- /dev/null +++ b/crm-client-3.0.6/documentation/indices/files.html @@ -0,0 +1,181 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/js/search.js b/crm-client-3.0.6/documentation/js/search.js new file mode 100644 index 0000000..093d6d0 --- /dev/null +++ b/crm-client-3.0.6/documentation/js/search.js @@ -0,0 +1,173 @@ +// Search module for phpDocumentor +// +// This module is a wrapper around fuse.js that will use a given index and attach itself to a +// search form and to a search results pane identified by the following data attributes: +// +// 1. data-search-form +// 2. data-search-results +// +// The data-search-form is expected to have a single input element of type 'search' that will trigger searching for +// a series of results, were the data-search-results pane is expected to have a direct UL child that will be populated +// with rendered results. +// +// The search has various stages, upon loading this stage the data-search-form receives the CSS class +// 'phpdocumentor-search--enabled'; this indicates that JS is allowed and indices are being loaded. It is recommended +// to hide the form by default and show it when it receives this class to achieve progressive enhancement for this +// feature. +// +// After loading this module, it is expected to load a search index asynchronously, for example: +// +// +// +// In this script the generated index should attach itself to the search module using the `appendIndex` function. By +// doing it like this the page will continue loading, unhindered by the loading of the search. +// +// After the page has fully loaded, and all these deferred indexes loaded, the initialization of the search module will +// be called and the form will receive the class 'phpdocumentor-search--active', indicating search is ready. At this +// point, the input field will also have it's 'disabled' attribute removed. +var Search = (function () { + var fuse; + var index = []; + var options = { + shouldSort: true, + threshold: 0.6, + location: 0, + distance: 100, + maxPatternLength: 32, + minMatchCharLength: 1, + keys: [ + "fqsen", + "name", + "summary", + "url" + ] + }; + + // Credit David Walsh (https://davidwalsh.name/javascript-debounce-function) + // Returns a function, that, as long as it continues to be invoked, will not + // be triggered. The function will be called after it stops being called for + // N milliseconds. If `immediate` is passed, trigger the function on the + // leading edge, instead of the trailing. + function debounce(func, wait, immediate) { + var timeout; + + return function executedFunction() { + var context = this; + var args = arguments; + + var later = function () { + timeout = null; + if (!immediate) func.apply(context, args); + }; + + var callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; + } + + function close() { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + const scrollY = document.body.style.top; + document.body.style.position = ''; + document.body.style.top = ''; + window.scrollTo(0, parseInt(scrollY || '0') * -1); + // End scroll prevention + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + + form.classList.toggle('phpdocumentor-search--has-results', false); + searchResults.classList.add('phpdocumentor-search-results--hidden'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + searchField.blur(); + } + + function search(event) { + // Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/ + document.body.style.position = 'fixed'; + document.body.style.top = `-${window.scrollY}px`; + // End scroll prevention + + // prevent enter's from autosubmitting + event.stopPropagation(); + + var form = document.querySelector('[data-search-form]'); + var searchResults = document.querySelector('[data-search-results]'); + var searchResultEntries = document.querySelector('[data-search-results] .phpdocumentor-search-results__entries'); + + searchResultEntries.innerHTML = ''; + + if (!event.target.value) { + close(); + return; + } + + form.classList.toggle('phpdocumentor-search--has-results', true); + searchResults.classList.remove('phpdocumentor-search-results--hidden'); + var results = fuse.search(event.target.value, {limit: 25}); + + results.forEach(function (result) { + var entry = document.createElement("li"); + entry.classList.add("phpdocumentor-search-results__entry"); + entry.innerHTML += '

                                                                                                                                                                                                                                                                                                  ' + result.name + "

                                                                                                                                                                                                                                                                                                  \n"; + entry.innerHTML += '' + result.fqsen + "\n"; + entry.innerHTML += '
                                                                                                                                                                                                                                                                                                  ' + result.summary + '
                                                                                                                                                                                                                                                                                                  '; + searchResultEntries.appendChild(entry) + }); + } + + function appendIndex(added) { + index = index.concat(added); + + // re-initialize search engine when appending an index after initialisation + if (typeof fuse !== 'undefined') { + fuse = new Fuse(index, options); + } + } + + function init() { + fuse = new Fuse(index, options); + + var form = document.querySelector('[data-search-form]'); + var searchField = document.querySelector('[data-search-form] input[type="search"]'); + + var closeButton = document.querySelector('.phpdocumentor-search-results__close'); + closeButton.addEventListener('click', function() { close() }.bind(this)); + + var searchResults = document.querySelector('[data-search-results]'); + searchResults.addEventListener('click', function() { close() }.bind(this)); + + form.classList.add('phpdocumentor-search--active'); + + searchField.setAttribute('placeholder', 'Search (Press "/" to focus)'); + searchField.removeAttribute('disabled'); + searchField.addEventListener('keyup', debounce(search, 300)); + + window.addEventListener('keyup', function (event) { + if (event.key === '/') { + searchField.focus(); + } + if (event.code === 'Escape') { + close(); + } + }.bind(this)); + } + + return { + appendIndex, + init + } +})(); + +window.addEventListener('DOMContentLoaded', function () { + var form = document.querySelector('[data-search-form]'); + + // When JS is supported; show search box. Must be before including the search for it to take effect immediately + form.classList.add('phpdocumentor-search--enabled'); +}); + +window.addEventListener('load', function () { + Search.init(); +}); diff --git a/crm-client-3.0.6/documentation/js/searchIndex.js b/crm-client-3.0.6/documentation/js/searchIndex.js new file mode 100644 index 0000000..c19257f --- /dev/null +++ b/crm-client-3.0.6/documentation/js/searchIndex.js @@ -0,0 +1,1344 @@ +Search.appendIndex( + [ + { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2", + "name": "CrmApiV2", + "summary": "This\u0020is\u0020the\u0020main\u0020class\u0020to\u0020interact\u0020with\u0020the\u0020CRM", + "url": "classes/LDC-LDCCRM-CrmApiV2.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "CrmApiV2", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003Aping\u0028\u0029", + "name": "ping", + "summary": "Use\u0020this\u0020the\u0020ping\u0020the\u0020crm\u0020and\u0020know\u0020its\u0020current\u0020status", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_ping" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AgetCustomerOrNew\u0028\u0029", + "name": "getCustomerOrNew", + "summary": "Get\u0020a\u0020customer\u0020from\u0020its\u0020hashcode\u0020or\u0020email\nIf\u0020it\u0020does\u0020not\u0020exists\u0020a\u0020new\u0020instance\nwill\u0020be\u0020returned.\u0020You\u0020would\u0020have\nto\u0020call\u0020its\u0020save\u0020method\u0020later\u0020on.", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_getCustomerOrNew" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AgetCustomer\u0028\u0029", + "name": "getCustomer", + "summary": "Get\u0020a\u0020customer\u0020from\u0020its\u0020hashcode\u0020or\u0020email\nIf\u0020it\u0020does\u0020not\u0020exists\u0020a\u0020new\u0020instance\nwill\u0020be\u0020returned.\u0020You\u0020would\u0020have\nto\u0020call\u0020its\u0020save\u0020method\u0020later\u0020on.", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_getCustomer" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_setStatus" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Test\u0020a\u0020customer\u0020credentials\u0020to\u0020see\u0020if\u0020it\u0020can\u0020login", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\CrmApiV2\u003A\u003A\u0024apiInterface", + "name": "apiInterface", + "summary": "The\u0020Api\u0020object\u0020that\u0020will\u0020handle\u0020requests\u0020and\u0020responses", + "url": "classes/LDC-LDCCRM-CrmApiV2.html#property_apiInterface" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError", + "name": "ApiError", + "summary": "This\u0020describes\u0020an\u0020API\u0020error.", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiError\u003A\u003Alabels\u0028\u0029", + "name": "labels", + "summary": "Libell\u00E9s\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028label\u0029", + "url": "classes/LDC-LDCCRM-Enums-ApiError.html#method_labels" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ApiStatus", + "name": "ApiStatus", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ApiStatus.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaMailType", + "name": "ArcadiaMailType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaMailType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaMailType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaMailType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaOrderType", + "name": "ArcadiaOrderType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\ArcadiaOrderType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-ArcadiaOrderType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country", + "name": "Country", + "summary": "Liste\u0020de\u0020Pays", + "url": "classes/LDC-LDCCRM-Enums-Country.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-Country.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\Country\u003A\u003Alabels\u0028\u0029", + "name": "labels", + "summary": "Libell\u00E9s\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028label\u0029", + "url": "classes/LDC-LDCCRM-Enums-Country.html#method_labels" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel", + "name": "LogLevel", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-LogLevel.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\LogLevel\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-LogLevel.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType", + "name": "QuestionType", + "summary": "", + "url": "classes/LDC-LDCCRM-Enums-QuestionType.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums\\QuestionType\u003A\u003Avalues\u0028\u0029", + "name": "values", + "summary": "Valeurs\u0020des\u0020possibilit\u00E9s\u0020de\u0020cet\u0020\u00E9num\u00E9ration\u0020\u0028value\u0029", + "url": "classes/LDC-LDCCRM-Enums-QuestionType.html#method_values" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException", + "name": "ApiErrorException", + "summary": "This\u0020would\u0020be\u0020thrown\u0020if\u0020any\u0020of\u0020the\u0020case\nreferenced\u0020in\u0020\\LDC\\LDCCRM\\Enums\\ApiError\u0020would\noccur\u0020within\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Create\u0020a\u0020new\u0020exception\u0020base\u0020on\u0020ApiError\u0020enum.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003AgetApiError\u0028\u0029", + "name": "getApiError", + "summary": "Get\u0020the\u0020Api\u0020Error", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_getApiError" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003AgetStatusCode\u0028\u0029", + "name": "getStatusCode", + "summary": "Get\u0020the\u0020http\u0020code", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_getStatusCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024error", + "name": "error", + "summary": "Api\u0020Error\nThis\u0020value\u0020makes\u0020the\u0020error\u0020more\u0020explicit.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_error" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024message", + "name": "message", + "summary": "This\u0020is\u0020an\u0020explicit\u0020error\u0020message,\nou\u0020may\u0020print\u0020this\u0020to\u0020the\u0020front\u0020or\u0020not\u0020depending\non\u0020\u0024error\u0020value", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_message" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ApiErrorException\u003A\u003A\u0024httpCode", + "name": "httpCode", + "summary": "This\u0020is\u0020the\u0020http\u0020code\u0020returned\u0020by\u0020the\u0020crm.", + "url": "classes/LDC-LDCCRM-Exceptions-ApiErrorException.html#property_httpCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\CrmException", + "name": "CrmException", + "summary": "This\u0020is\u0020a\u0020critical\u0020error.", + "url": "classes/LDC-LDCCRM-Exceptions-CrmException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\CrmException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-CrmException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ValidationException", + "name": "ValidationException", + "summary": "This\u0020would\u0020be\u0020thrown\u0020if\u0020a\u0020data\u0020could\u0020not\u0020be\u0020validated\non\u0020any\u0020models", + "url": "classes/LDC-LDCCRM-Exceptions-ValidationException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\ValidationException\u003A\u003Areport\u0028\u0029", + "name": "report", + "summary": "This\u0020is\u0020used\u0020by\u0020laravel\u0020only.", + "url": "classes/LDC-LDCCRM-Exceptions-ValidationException.html#method_report" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer", + "name": "Answer", + "summary": "This\u0020class\u0020represents\u0020an\u0020answer\nIt\u0020has\u0020a\u0020method\u0020to\u0020submit\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Answer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Answer", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AsetQuestionAnswers\u0028\u0029", + "name": "setQuestionAnswers", + "summary": "Set\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method_setQuestionAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Answer.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024id", + "name": "id", + "summary": "The\u0020question\u0020id", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_id" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024answer", + "name": "answer", + "summary": "The\u0020actual\u0020answer\u0020as\u0020a\u0020string", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_answer" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Answer\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Answer.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault", + "name": "ArcadiaMailDefault", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ArcadiaMailDefault", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Send\u0020The\u0020actual\u0020mail", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_send" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024operation", + "name": "operation", + "summary": "The\u0020arcadia\u0020operation\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_operation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024support_code", + "name": "support_code", + "summary": "The\u0020arcadia\u0020support\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_support_code" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024label_type_support", + "name": "label_type_support", + "summary": "The\u0020arcadia\u0020type\u0020support\u0020label", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_label_type_support" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024order_date", + "name": "order_date", + "summary": "The\u0020arcadia\u0020order\u0020date", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_order_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024order_num", + "name": "order_num", + "summary": "The\u0020arcadia\u0020order\u0020number", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_order_num" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024state_order", + "name": "state_order", + "summary": "The\u0020arcadia\u0020state\u0020order", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_state_order" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024package_unit_weight", + "name": "package_unit_weight", + "summary": "The\u0020arcadia\u0020package\u0020unit\u0020weight", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_package_unit_weight" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailDefault\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailDefault.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame", + "name": "ArcadiaMailGame", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ArcadiaMailGame", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020data\u0020into\u0020this\u0020model\nusing\u0020validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Send\u0020The\u0020actual\u0020mail", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_send" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024operation", + "name": "operation", + "summary": "The\u0020arcadia\u0020operation\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_operation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024support_code", + "name": "support_code", + "summary": "The\u0020arcadia\u0020support\u0020code", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_support_code" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024label_type_support", + "name": "label_type_support", + "summary": "The\u0020arcadia\u0020type\u0020support\u0020label", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_label_type_support" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024order_date", + "name": "order_date", + "summary": "The\u0020arcadia\u0020order\u0020date", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_order_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024code_unique", + "name": "code_unique", + "summary": "The\u0020arcadia\u0020code\u0020unique", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_code_unique" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024code_on_pack", + "name": "code_on_pack", + "summary": "The\u0020arcadia\u0020code\u0020on\u0020pack", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_code_on_pack" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\ArcadiaMailGame\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-ArcadiaMailGame.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer", + "name": "Customer", + "summary": "This\u0020class\u0020represents\u0020the\u0020customer\u0020info\u0020with\nthe\u0020account\u0020validation\u0020status.\u0020You\u0020can\u0020use\u0020it\u0020as\na\u0020standalone\u0020class\u0020but\u0020beware\u0020of\u0020catching\u0020exceptions", + "url": "classes/LDC-LDCCRM-Models-Customer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Customer", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop\u0020on\u0020the\u0020model.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020values\u0020into\u0020model\u0020using\u0020validation\u0020rules.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Afind\u0028\u0029", + "name": "find", + "summary": "Find\u0020a\u0020customer\u0020using\u0020its\u0020hashcode\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_find" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AfindWithEmail\u0028\u0029", + "name": "findWithEmail", + "summary": "Find\u0020a\u0020customer\u0020using\u0020its\u0020email\u0020in\u0020the\u0020crm\nThis\u0020is\u0020an\u0020alias\u0020of\u0020Customer\u003A\u003Afind\u0028\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_findWithEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Asave\u0028\u0029", + "name": "save", + "summary": "Save\u0020the\u0020customer\u0020on\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_save" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Astore\u0028\u0029", + "name": "store", + "summary": "Calls\u0020api\u0020store\u0020customer\u0020method", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_store" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Aupdate\u0028\u0029", + "name": "update", + "summary": "Calls\u0020api\u0020update\u0020customer\u0020method", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_update" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Removes\u0020the\u0020customer\u0020from\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_delete" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Aactivate\u0028\u0029", + "name": "activate", + "summary": "Active\u0020the\u0020customer\u0020on\u0020CRM.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_activate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AtoggleOptin\u0028\u0029", + "name": "toggleOptin", + "summary": "Toggle\u0020the\u0020account\u0020optin\u0020value\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_toggleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Test\u0020customer\u0020credentials", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Customer.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024hashcode", + "name": "hashcode", + "summary": "The\u0020user\u0020hashcode,\u0020this\u0020is\u0020link\u0020with\u0020the\u0020customer\u0020and\u0020the\u0020brand\u0020it\u0020is\u0020related\u0020to\nIt\u0020is\u0020used\u0020to\u0020identify\u0020the\u0020customer\u0020itself.", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_hashcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024email", + "name": "email", + "summary": "An\u0020RFC\u0020Valid\u0020Email", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_email" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024password", + "name": "password", + "summary": "The\u0020user\u0020password\nThis\u0020is\u0020set\u0020only\u0020when\u0020creating\u0020a\u0020user\nOtherwise\u0020it\u0020has\u0020to\u0020be\u0020set\u0020to\u0020null", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_password" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024firstname", + "name": "firstname", + "summary": "First\u0020name", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_firstname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024lastname", + "name": "lastname", + "summary": "Last\u0020name", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_lastname" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024birth_date", + "name": "birth_date", + "summary": "Birth\u0020date", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_birth_date" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024phone", + "name": "phone", + "summary": "The\u0020user\u0020phone", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_phone" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024address", + "name": "address", + "summary": "The\u0020user\u0020address\u0020\u0028street\u0020number,\u0020name,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_address" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024address2", + "name": "address2", + "summary": "The\u0020user\u0020address\u00202nd\u0020part\u0020\u0028street\u0020number,\u0020name,\u0020more,\u0020etc\u0029", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_address2" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024city", + "name": "city", + "summary": "The\u0020user\u0020address\u0020city", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_city" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024postcode", + "name": "postcode", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_postcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024country", + "name": "country", + "summary": "The\u0020user\u0020address\u0020postcode", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_country" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024opt_in", + "name": "opt_in", + "summary": "The\u0020user\u0020optin\u0020choice", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_opt_in" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024status", + "name": "status", + "summary": "Is\u0020the\u0020account\u0020activated\u0020\u003F", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_status" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024last_connection", + "name": "last_connection", + "summary": "The\u0020last\u0020time\u0020the\u0020account\u0020was\u0020connected", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_last_connection" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024invisibleFields", + "name": "invisibleFields", + "summary": "The\u0020crm\u0020customer\u0020fields\nthe\u0020should\u0020not\u0020be\u0020visible", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_invisibleFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Customer\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Customer.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question", + "name": "Question", + "summary": "This\u0020class\u0020represents\u0020a\u0020question\nIt\u0020has\u0020some\u0020static\u0020methods\u0020to\u0020retrieve\u0020questions\u0020and\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Question", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "General\u0020accessor", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Set\u0020prop\u0020on\u0020the\u0020model.", + "url": "classes/LDC-LDCCRM-Models-Question.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Afill\u0028\u0029", + "name": "fill", + "summary": "Fill\u0020values\u0020into\u0020model\u0020using\u0020validation\u0020rules.", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_fill" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AvalidateAllValues\u0028\u0029", + "name": "validateAllValues", + "summary": "Validate\u0020all\u0020model\u0020properties", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_validateAllValues" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003Aall\u0028\u0029", + "name": "all", + "summary": "Get\u0020all\u0020questions\u0020only", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_all" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AallWithCustomerAnswers\u0028\u0029", + "name": "allWithCustomerAnswers", + "summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020customer\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_allWithCustomerAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AunansweredBy\u0028\u0029", + "name": "unansweredBy", + "summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_unansweredBy" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-Models-Question.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024id", + "name": "id", + "summary": "The\u0020question\u0020id", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_id" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024question", + "name": "question", + "summary": "The\u0020actual\u0020question\u0020as\u0020a\u0020string", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_question" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024type", + "name": "type", + "summary": "The\u0020question\u0020type", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_type" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024answers", + "name": "answers", + "summary": "The\u0020question\u0020answers", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_answers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024modelFields", + "name": "modelFields", + "summary": "The\u0020crm\u0020customer\u0020fields", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_modelFields" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Question\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Question.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin", + "name": "SingleOptin", + "summary": "This\u0020class\u0020allows\u0020to\u0020handle\u0020single\u0020opt\u0020in", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin\u003A\u003AsetStatus\u0028\u0029", + "name": "setStatus", + "summary": "Set\u0020the\u0020single\u0020opt\u0020in\u0020status\u0020for\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html#method_setStatus" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\SingleOptin\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-SingleOptin.html#property_validation" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request", + "name": "Request", + "summary": "The\u0020LDC\u0020CRM\u0020request\nContains\u0020the\u0020http\u0020method,\u0020the\u0020requested\u0020url\u0020and\u0020data\u0020to\u0020pass", + "url": "classes/LDC-LDCCRM-Transport-Request.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AmakeRequest\u0028\u0029", + "name": "makeRequest", + "summary": "make\u0020the\u0020guzzle\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_makeRequest" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AsetEndpoint\u0028\u0029", + "name": "setEndpoint", + "summary": "Set\u0020the\u0020api\u0020endpoint\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_setEndpoint" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003Acall\u0028\u0029", + "name": "call", + "summary": "Make\u0020the\u0020Http\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_call" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AaddHeaders\u0028\u0029", + "name": "addHeaders", + "summary": "Add\u0020headers\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_addHeaders" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003AaddData\u0028\u0029", + "name": "addData", + "summary": "Add\u0020data\u0020to\u0020the\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#method_addData" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024client", + "name": "client", + "summary": "GuzzleHttp\u0020client", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_client" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024method", + "name": "method", + "summary": "The\u0020http\u0020method", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_method" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024uri", + "name": "uri", + "summary": "The\u0020http\u0020url", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_uri" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024headers", + "name": "headers", + "summary": "Data\u0020to\u0020pass\u0020to\u0020the\u0020http\u0020headers", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_headers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024data", + "name": "data", + "summary": "Data\u0020to\u0020pass\u0020to\u0020the\u0020http\u0020body", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_data" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024request", + "name": "request", + "summary": "Guzzle\u0020request", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_request" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Request\u003A\u003A\u0024endpoint", + "name": "endpoint", + "summary": "The\u0020Api\u0020endpoint", + "url": "classes/LDC-LDCCRM-Transport-Request.html#property_endpoint" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response", + "name": "Response", + "summary": "", + "url": "classes/LDC-LDCCRM-Transport-Response.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Response", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003AtryDecodeJson\u0028\u0029", + "name": "tryDecodeJson", + "summary": "Try\u0020to\u0020decode\u0020json\u0020and\u0020return\u0020false\u0020if\u0020it\u0020is\nnot\u0020a\u0020valid\u0020json", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method_tryDecodeJson" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003AcheckVersion\u0028\u0029", + "name": "checkVersion", + "summary": "This\u0020checks\u0020if\u0020the\u0020crm\u0020version\u0020is\u0020way\u0020far\u0020beyond\u0020the\u0020client\u0020version.", + "url": "classes/LDC-LDCCRM-Transport-Response.html#method_checkVersion" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024status", + "name": "status", + "summary": "The\u0020response\u0020status", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_status" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024apiError", + "name": "apiError", + "summary": "The\u0020api\u0020error", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_apiError" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024httpCode", + "name": "httpCode", + "summary": "The\u0020response\u0020http\u0020code", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_httpCode" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024headers", + "name": "headers", + "summary": "The\u0020response\u0020headers", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_headers" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024body", + "name": "body", + "summary": "The\u0020response\u0020body", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_body" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024message", + "name": "message", + "summary": "The\u0020interface\u0020message", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_message" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport\\Response\u003A\u003A\u0024response", + "name": "response", + "summary": "PSR\u0020response", + "url": "classes/LDC-LDCCRM-Transport-Response.html#property_response" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils", + "name": "Utils", + "summary": "This\u0020is\u0020the\u0020LDCCRM\u0020utility\u0020class", + "url": "classes/LDC-LDCCRM-Utils.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AmakeValidator\u0028\u0029", + "name": "makeValidator", + "summary": "Create\u0020a\u0020new\u0020Validator\u0020instance.", + "url": "classes/LDC-LDCCRM-Utils.html#method_makeValidator" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AmakeValidatorFromRule\u0028\u0029", + "name": "makeValidatorFromRule", + "summary": "Generate\u0020a\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_makeValidatorFromRule" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationRequired\u0028\u0029", + "name": "validationRequired", + "summary": "Make\u0020Required\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationRequired" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationNullable\u0028\u0029", + "name": "validationNullable", + "summary": "Make\u0020Nullable\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationNullable" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationSometimes\u0028\u0029", + "name": "validationSometimes", + "summary": "Make\u0020Sometimes\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationSometimes" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationInt\u0028\u0029", + "name": "validationInt", + "summary": "Make\u0020Int\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationInt" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationString\u0028\u0029", + "name": "validationString", + "summary": "Make\u0020String\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationString" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationBool\u0028\u0029", + "name": "validationBool", + "summary": "Make\u0020Bool\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationBool" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMin\u0028\u0029", + "name": "validationMin", + "summary": "Make\u0020Min\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMin" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMax\u0028\u0029", + "name": "validationMax", + "summary": "Make\u0020Max\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMax" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationUuid\u0028\u0029", + "name": "validationUuid", + "summary": "Make\u0020Uuid\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationUuid" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationMixedCase\u0028\u0029", + "name": "validationMixedCase", + "summary": "Make\u0020MixedCase\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationMixedCase" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationContainDigit\u0028\u0029", + "name": "validationContainDigit", + "summary": "Make\u0020ContainDigit\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationContainDigit" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationContainSymbol\u0028\u0029", + "name": "validationContainSymbol", + "summary": "Make\u0020ContainSymbol\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationContainSymbol" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationDate\u0028\u0029", + "name": "validationDate", + "summary": "Make\u0020Date\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationDate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationDateFormat\u0028\u0029", + "name": "validationDateFormat", + "summary": "Make\u0020DateFormat\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationDateFormat" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationEmail\u0028\u0029", + "name": "validationEmail", + "summary": "Make\u0020Email\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationArray\u0028\u0029", + "name": "validationArray", + "summary": "Make\u0020Array\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationArray" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AvalidationClosure\u0028\u0029", + "name": "validationClosure", + "summary": "Make\u0020Closure\u0020validator", + "url": "classes/LDC-LDCCRM-Utils.html#method_validationClosure" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetConfig\u0028\u0029", + "name": "getConfig", + "summary": "This\u0020is\u0020only\u0020used\u0020for\u0020unit\u0020tests.", + "url": "classes/LDC-LDCCRM-Utils.html#method_getConfig" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetResquest\u0028\u0029", + "name": "getResquest", + "summary": "Generate\u0020a\u0020Request\u0020from\u0020the\u0020route\u0020name", + "url": "classes/LDC-LDCCRM-Utils.html#method_getResquest" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetPackageInfo\u0028\u0029", + "name": "getPackageInfo", + "summary": "Get\u0020composer.json\u0020infos", + "url": "classes/LDC-LDCCRM-Utils.html#method_getPackageInfo" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Atranslate\u0028\u0029", + "name": "translate", + "summary": "Translation\u0020a\u0020string\u0020using\u0020php\u0020file\u0020lang", + "url": "classes/LDC-LDCCRM-Utils.html#method_translate" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003Alog\u0028\u0029", + "name": "log", + "summary": "Write\u0020log\u0020using\u0020syslog\nIt\u0020also\u0020write\u0020log\u0020using\u0020\\Illuminate\\Support\\Facades\\Log\nif\u0020it\u0020is\u0020present", + "url": "classes/LDC-LDCCRM-Utils.html#method_log" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AsetRawProperty\u0028\u0029", + "name": "setRawProperty", + "summary": "Set\u0020a\u0020property\u0020without\u0020any\u0020validation.", + "url": "classes/LDC-LDCCRM-Utils.html#method_setRawProperty" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003AgetRawProperty\u0028\u0029", + "name": "getRawProperty", + "summary": "Get\u0020a\u0020property\u0020of\u0020an\u0020object.", + "url": "classes/LDC-LDCCRM-Utils.html#method_getRawProperty" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024packageInfos", + "name": "packageInfos", + "summary": "Package\u0020infos", + "url": "classes/LDC-LDCCRM-Utils.html#property_packageInfos" + }, { + "fqsen": "\\LDC\\LDCCRM\\Utils\u003A\u003A\u0024translations", + "name": "translations", + "summary": "Loaded\u0020translations", + "url": "classes/LDC-LDCCRM-Utils.html#property_translations" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm", + "name": "WPCrm", + "summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUser\u0028\u0029", + "name": "getUser", + "summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020null\u0020if\u0020the\u0020user\u0020is\u0020not\u0020logged\u0020in", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AforceLogin\u0028\u0029", + "name": "forceLogin", + "summary": "Manually\u0020login\u0020a\u0020user\nIf\u0020self\u003A\u003A\u0024user\u0020is\u0020already\u0020set.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_forceLogin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromApi\u0028\u0029", + "name": "getUserFromApi", + "summary": "Get\u0020the\u0020current\u0020user\nreturn\u0020api\u0020response\u0020code\u0020if\u0020an\u0020error\u0020occurs", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogin\u0028\u0029", + "name": "login", + "summary": "Try\u0020to\u0020login\u0020with\u0020CRM\u0020API\nA\u0020session\u0020will\u0020be\u0020started\u0020if\u0020credentials\u0020are\u0020valid.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_login" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Alogout\u0028\u0029", + "name": "logout", + "summary": "Destroy\u0020the\u0020customer\u0020from\u0020session\nand\u0020therefore\u0020logout", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_logout" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Acheck\u0028\u0029", + "name": "check", + "summary": "Check\u0020if\u0020the\u0020user\u0020is\u0020logged\u0020in.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_check" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveUser\u0028\u0029", + "name": "saveUser", + "summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUser\u0028\u0029", + "name": "deleteUser", + "summary": "Delete\u0020current\u0020customer\u0020from\nthe\u0020local\u0020database\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AtoggleUserOptin\u0028\u0029", + "name": "toggleUserOptin", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_toggleUserOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetSingleOptin\u0028\u0029", + "name": "setSingleOptin", + "summary": "Set\u0020the\u0020single\u0020optin\u0020status\u0020for\u0020an\u0020email\non\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setSingleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AactivateUser\u0028\u0029", + "name": "activateUser", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_activateUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetNewUser\u0028\u0029", + "name": "getNewUser", + "summary": "Generate\u0020a\u0020new\u0020user", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getNewUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AunsetActiveUser\u0028\u0029", + "name": "unsetActiveUser", + "summary": "Remove\u0020active\u0020user\nto\u0020prevent\u0020WPCrm\u003A\u003Acheck\u0020to\u0020return\u0020true", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_unsetActiveUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AloginUserWithApi\u0028\u0029", + "name": "loginUserWithApi", + "summary": "Check\u0020customer\u0020credentials\u0020using\u0020the\u0020CRM.", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_loginUserWithApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetCustomer\u0028\u0029", + "name": "getCustomer", + "summary": "Get\u0020all\u0020customer\u0020infos", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getCustomer" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsetUser\u0028\u0029", + "name": "setUser", + "summary": "Create\u0020a\u0020user\nstores\u0020it\u0020to\u0020the\u0020session\nand\u0020finally\u0020saves\u0020it\u0020to\u0020the\u0020database\u0020if\u0020it\u0020does\u0020not\u0020exists", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_setUser" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AinitLdcApi\u0028\u0029", + "name": "initLdcApi", + "summary": "Get\u0020the\u0020initialized\u0020API\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_initLdcApi" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AmakeApiV2Call\u0028\u0029", + "name": "makeApiV2Call", + "summary": "Make\u0020a\u0020call\u0020using\u0020apiV2", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_makeApiV2Call" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AbootSessionIfNeeded\u0028\u0029", + "name": "bootSessionIfNeeded", + "summary": "Boot\u0020the\u0020php\u0020session\u0020if\u0020needed", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_bootSessionIfNeeded" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTable\u0028\u0029", + "name": "getUserFromTable", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByEmail\u0028\u0029", + "name": "getUserFromTableByEmail", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByEmail" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetUserFromTableByUuid\u0028\u0029", + "name": "getUserFromTableByUuid", + "summary": "Get\u0020a\u0020customer\u0020from\u0020table\u0020by\u0020an\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getUserFromTableByUuid" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AsaveOrUpdateUserToTable\u0028\u0029", + "name": "saveOrUpdateUserToTable", + "summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_saveOrUpdateUserToTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AdeleteUserFromTable\u0028\u0029", + "name": "deleteUserFromTable", + "summary": "Save\u0020or\u0020update\u0020the\u0020user\u0020to\u0020the\u0020table", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_deleteUserFromTable" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003Aquery\u0028\u0029", + "name": "query", + "summary": "Query\u0020in\u0020DB", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_query" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003AgetWpDb\u0028\u0029", + "name": "getWpDb", + "summary": "Get\u0020WP\u0020\u0027pdo\u0020instance\u0027", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#method_getWpDb" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionKey", + "name": "sessionKey", + "summary": "The\u0020session\u0020key\u0020name", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionKey" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024sessionDestroyed", + "name": "sessionDestroyed", + "summary": "The\u0020session\u0020live\u0020status", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_sessionDestroyed" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024api", + "name": "api", + "summary": "The\u0020user\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_api" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrm\u003A\u003A\u0024user", + "name": "user", + "summary": "The\u0020user\u0020object", + "url": "classes/LDC-LDCCRM-WordPress-WPCrm.html#property_user" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer", + "name": "WPCrmAnswer", + "summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmAnswer\u003A\u003AsetQuestionAnswers\u0028\u0029", + "name": "setQuestionAnswers", + "summary": "Set\u0020answers\u0020to\u0020a\u0020question\u0020for\u0020a\u0020specific\u0020user", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmAnswer.html#method_setQuestionAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion", + "name": "WPCrmQuestion", + "summary": "Class\u0020de\u0020gestion\u0020de\u0020la\u0020segmentation\u0020question\u0020avec\u0020Wordpress", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AgetAll\u0028\u0029", + "name": "getAll", + "summary": "Get\u0020all\u0020questions\u0020only", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_getAll" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AallWithCustomerAnswers\u0028\u0029", + "name": "allWithCustomerAnswers", + "summary": "Get\u0020all\u0020the\u0020questions\u0020with\u0020user\u0020answers", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_allWithCustomerAnswers" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmQuestion\u003A\u003AunansweredBy\u0028\u0029", + "name": "unansweredBy", + "summary": "Get\u0020unanswered\u0020question\u0020for\u0020a\u0020specific\u0020customer", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmQuestion.html#method_unansweredBy" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser", + "name": "WPCrmUser", + "summary": "Class\u0020de\u0020gestion\u0020des\u0020users\u0020en\u0020session\u0020avec\u0020Wordpress", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "WPCrmUser\u0020construct", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__get\u0028\u0029", + "name": "__get", + "summary": "Generic\u0020accessor", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___get" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A__set\u0028\u0029", + "name": "__set", + "summary": "Generic\u0020mutator", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method___set" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AsetInfo\u0028\u0029", + "name": "setInfo", + "summary": "Set\u0020the\u0020customer\u0020info\nwith\u0020api\u0020response", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_setInfo" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AparseFromJson\u0028\u0029", + "name": "parseFromJson", + "summary": "Generate\u0020a\u0020user\u0020from\u0020session\u0020data", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_parseFromJson" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serialize\u0020this\u0020object\u0020to\u0020an\u0020array", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_jsonSerialize" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Asave\u0028\u0029", + "name": "save", + "summary": "Save\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_save" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Adelete\u0028\u0029", + "name": "delete", + "summary": "Delete\u0020current\u0020customer\u0020to\nthe\u0020local\u0020database\u0020and\u0020on\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_delete" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003AtoggleOptin\u0028\u0029", + "name": "toggleOptin", + "summary": "Toggle\u0020the\u0020current\u0020user\u0020optin\u0020value\non\u0020the\u0020current\u0020user\u0020and\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_toggleOptin" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003Aactivate\u0028\u0029", + "name": "activate", + "summary": "Activate\u0020the\u0020account\u0020in\u0020the\u0020crm", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#method_activate" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024phashcode", + "name": "phashcode", + "summary": "The\u0020CRM\u0020hashcode\u0020\u0028UUID\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_phashcode" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024pemail", + "name": "pemail", + "summary": "The\u0020CRM\u0020customer\u0020email", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_pemail" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024info", + "name": "info", + "summary": "The\u0020CRM\u0020customer\u0020info\u0020\u0028the\u0020api\u0020response\u0029", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_info" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress\\WPCrmUser\u003A\u003A\u0024uuidToken", + "name": "uuidToken", + "summary": "The\u0020CRM\u0020customer\u0020temp\u0020uuidToken\u0020to\u0020validate\u0020transactions", + "url": "classes/LDC-LDCCRM-WordPress-WPCrmUser.html#property_uuidToken" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\AccessError", + "name": "AccessError", + "summary": "This\u0020is\u0020thrown\u0020when\u0020trying\u0020to\u0020set\u0020a\u0020value\u0020on\u0020an\u0020object\u0020property\u0020that\u0020does\u0020not\u0020exist.", + "url": "classes/LDC-LDCCRM-Exceptions-AccessError.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\AccessError\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "AccessError", + "url": "classes/LDC-LDCCRM-Exceptions-AccessError.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\SkipValidationException", + "name": "SkipValidationException", + "summary": "Used\u0020only\u0020for\u0020internal\u0020validator", + "url": "classes/LDC-LDCCRM-Exceptions-SkipValidationException.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo", + "name": "WpCrmInvalidJsonUserInfo", + "summary": "This\u0020is\u0020thrown\u0020when\u0020trying\u0020to\u0020read\u0020WP\u0020customer\u0020from\u0020DB\u0020json\u0020data.", + "url": "classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "WpCrmInvalidJsonUserInfo", + "url": "classes/LDC-LDCCRM-Exceptions-WpCrmInvalidJsonUserInfo.html#method___construct" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats", + "name": "Stats", + "summary": "This\u0020class\u0020is\u0020used\u0020to\u0020get\u0020stats\u0020from\u0020CRM", + "url": "classes/LDC-LDCCRM-Models-Stats.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003AgetBrandStats\u0028\u0029", + "name": "getBrandStats", + "summary": "Get\u0020brand\u0020stats\u0020ordered\u0020by\u0020ascendent\u0020days", + "url": "classes/LDC-LDCCRM-Models-Stats.html#method_getBrandStats" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003AgetQuestionStats\u0028\u0029", + "name": "getQuestionStats", + "summary": "Get\u0020brand\u0020stats\u0020ordered\u0020by\u0020ascendent\u0020days", + "url": "classes/LDC-LDCCRM-Models-Stats.html#method_getQuestionStats" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models\\Stats\u003A\u003A\u0024validation", + "name": "validation", + "summary": "Validation\u0020rules", + "url": "classes/LDC-LDCCRM-Models-Stats.html#property_validation" + }, { + "fqsen": "\\", + "name": "\\", + "summary": "", + "url": "namespaces/default.html" + }, { + "fqsen": "\\LDC\\LDCCRM", + "name": "LDCCRM", + "summary": "", + "url": "namespaces/ldc-ldccrm.html" + }, { + "fqsen": "\\LDC", + "name": "LDC", + "summary": "", + "url": "namespaces/ldc.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Enums", + "name": "Enums", + "summary": "", + "url": "namespaces/ldc-ldccrm-enums.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Exceptions", + "name": "Exceptions", + "summary": "", + "url": "namespaces/ldc-ldccrm-exceptions.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Models", + "name": "Models", + "summary": "", + "url": "namespaces/ldc-ldccrm-models.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\Transport", + "name": "Transport", + "summary": "", + "url": "namespaces/ldc-ldccrm-transport.html" + }, { + "fqsen": "\\LDC\\LDCCRM\\WordPress", + "name": "WordPress", + "summary": "", + "url": "namespaces/ldc-ldccrm-wordpress.html" + } ] +); diff --git a/crm-client-3.0.6/documentation/namespaces/default.html b/crm-client-3.0.6/documentation/namespaces/default.html new file mode 100644 index 0000000..2bf9621 --- /dev/null +++ b/crm-client-3.0.6/documentation/namespaces/default.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  API Documentation

                                                                                                                                                                                                                                                                                                  + + +

                                                                                                                                                                                                                                                                                                  + Namespaces + +

                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  LDC
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  + + + + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-enums.html b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-enums.html new file mode 100644 index 0000000..9d2d5a8 --- /dev/null +++ b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-enums.html @@ -0,0 +1,157 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-exceptions.html b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-exceptions.html new file mode 100644 index 0000000..aa3a198 --- /dev/null +++ b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-exceptions.html @@ -0,0 +1,158 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Exceptions

                                                                                                                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      ApiErrorException
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      CrmException
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This is a critical error.
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      ValidationException
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This would be thrown if a data could not be validated +on any models
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      AccessError
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      SkipValidationException
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      Used only for internal validator
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      WpCrmInvalidJsonUserInfo
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      This is thrown when trying to read WP customer from DB json data.
                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-models.html b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-models.html new file mode 100644 index 0000000..6bd80e0 --- /dev/null +++ b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-models.html @@ -0,0 +1,163 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                        Models

                                                                                                                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        Answer
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents an answer +It has a method to submit answers
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        ArcadiaMailDefault
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        ArcadiaMailGame
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        Customer
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        Question
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        SingleOptin
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class allows to handle single opt in
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        Stats
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        This class is used to get stats from CRM
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-transport.html b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-transport.html new file mode 100644 index 0000000..ffd9cb5 --- /dev/null +++ b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-transport.html @@ -0,0 +1,148 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Transport

                                                                                                                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          Request
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          Response
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-wordpress.html b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-wordpress.html new file mode 100644 index 0000000..a73db3c --- /dev/null +++ b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm-wordpress.html @@ -0,0 +1,151 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            WordPress

                                                                                                                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            WPCrm
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            WPCrmAnswer
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            WPCrmQuestion
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            WPCrmUser
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm.html b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm.html new file mode 100644 index 0000000..eeab387 --- /dev/null +++ b/crm-client-3.0.6/documentation/namespaces/ldc-ldccrm.html @@ -0,0 +1,158 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              LDCCRM

                                                                                                                                                                                                                                                                                                              + + +

                                                                                                                                                                                                                                                                                                              + Namespaces + +

                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Enums
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Exceptions
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Models
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Transport
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              WordPress
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                              + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              CrmApiV2
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              This is the main class to interact with the CRM
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              Utils
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              This is the LDCCRM utility class
                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/namespaces/ldc.html b/crm-client-3.0.6/documentation/namespaces/ldc.html new file mode 100644 index 0000000..c8f2e29 --- /dev/null +++ b/crm-client-3.0.6/documentation/namespaces/ldc.html @@ -0,0 +1,140 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                LDC

                                                                                                                                                                                                                                                                                                                + + +

                                                                                                                                                                                                                                                                                                                + Namespaces + +

                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                LDCCRM
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/packages/LDCCrmClient-Wordpress.html b/crm-client-3.0.6/documentation/packages/LDCCrmClient-Wordpress.html new file mode 100644 index 0000000..bb3bbc5 --- /dev/null +++ b/crm-client-3.0.6/documentation/packages/LDCCrmClient-Wordpress.html @@ -0,0 +1,150 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Wordpress

                                                                                                                                                                                                                                                                                                                  + + + +

                                                                                                                                                                                                                                                                                                                  + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  WPCrm
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  WPCrmAnswer
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  WPCrmQuestion
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  Class de gestion de la segmentation question avec Wordpress
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  WPCrmUser
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  Class de gestion des users en session avec Wordpress
                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/packages/LDCCrmClient-enums.html b/crm-client-3.0.6/documentation/packages/LDCCrmClient-enums.html new file mode 100644 index 0000000..e9eef39 --- /dev/null +++ b/crm-client-3.0.6/documentation/packages/LDCCrmClient-enums.html @@ -0,0 +1,156 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/packages/LDCCrmClient-exceptions.html b/crm-client-3.0.6/documentation/packages/LDCCrmClient-exceptions.html new file mode 100644 index 0000000..bfa13ff --- /dev/null +++ b/crm-client-3.0.6/documentation/packages/LDCCrmClient-exceptions.html @@ -0,0 +1,157 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      exceptions

                                                                                                                                                                                                                                                                                                                      + + + +

                                                                                                                                                                                                                                                                                                                      + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      ApiErrorException
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This would be thrown if any of the case +referenced in \LDC\LDCCRM\Enums\ApiError would +occur within the crm
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      CrmException
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This is a critical error.
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      ValidationException
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This would be thrown if a data could not be validated +on any models
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      AccessError
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This is thrown when trying to set a value on an object property that does not exist.
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      SkipValidationException
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      Used only for internal validator
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      WpCrmInvalidJsonUserInfo
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      This is thrown when trying to read WP customer from DB json data.
                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/packages/LDCCrmClient-models.html b/crm-client-3.0.6/documentation/packages/LDCCrmClient-models.html new file mode 100644 index 0000000..69e64b0 --- /dev/null +++ b/crm-client-3.0.6/documentation/packages/LDCCrmClient-models.html @@ -0,0 +1,162 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                        models

                                                                                                                                                                                                                                                                                                                        + + + +

                                                                                                                                                                                                                                                                                                                        + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        Answer
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents an answer +It has a method to submit answers
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        ArcadiaMailDefault
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        ArcadiaMailGame
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        Customer
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents the customer info with +the account validation status. You can use it as +a standalone class but beware of catching exceptions
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        Question
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class represents a question +It has some static methods to retrieve questions and answers
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        SingleOptin
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class allows to handle single opt in
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        Stats
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        This class is used to get stats from CRM
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/documentation/packages/LDCCrmClient-transport.html b/crm-client-3.0.6/documentation/packages/LDCCrmClient-transport.html new file mode 100644 index 0000000..29218c0 --- /dev/null +++ b/crm-client-3.0.6/documentation/packages/LDCCrmClient-transport.html @@ -0,0 +1,147 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          CRM V2

                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          transport

                                                                                                                                                                                                                                                                                                                          + + + +

                                                                                                                                                                                                                                                                                                                          + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          Request
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          The LDC CRM request +Contains the http method, the requested url and data to pass
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          Response
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Search results

                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                            + + + + + + + + diff --git a/crm-client-3.0.6/documentation/packages/LDCCrmClient-utilities.html b/crm-client-3.0.6/documentation/packages/LDCCrmClient-utilities.html new file mode 100644 index 0000000..36df7b4 --- /dev/null +++ b/crm-client-3.0.6/documentation/packages/LDCCrmClient-utilities.html @@ -0,0 +1,144 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            CRM V2

                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            utilities

                                                                                                                                                                                                                                                                                                                            + + + +

                                                                                                                                                                                                                                                                                                                            + Interfaces, Classes and Traits + +

                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            Utils
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            This is the LDCCRM utility class
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            Search results

                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                              + + + + + + + + diff --git a/crm-client-3.0.6/documentation/packages/LDCCrmClient.html b/crm-client-3.0.6/documentation/packages/LDCCrmClient.html new file mode 100644 index 0000000..3f93f42 --- /dev/null +++ b/crm-client-3.0.6/documentation/packages/LDCCrmClient.html @@ -0,0 +1,156 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              CRM V2

                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Search results

                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                + + + + + + + + diff --git a/crm-client-3.0.6/documentation/packages/None.html b/crm-client-3.0.6/documentation/packages/None.html new file mode 100644 index 0000000..cbcdc70 --- /dev/null +++ b/crm-client-3.0.6/documentation/packages/None.html @@ -0,0 +1,132 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                CRM V2

                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                None

                                                                                                                                                                                                                                                                                                                                + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                Search results

                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                  + + + + + + + + diff --git a/crm-client-3.0.6/documentation/packages/default.html b/crm-client-3.0.6/documentation/packages/default.html new file mode 100644 index 0000000..e64a362 --- /dev/null +++ b/crm-client-3.0.6/documentation/packages/default.html @@ -0,0 +1,141 @@ + + + + + CRM V2 + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  CRM V2

                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  API Documentation

                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                  + Packages + +

                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  LDCCrmClient
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  None
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Search results

                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    + + + + + + + + diff --git a/crm-client-3.0.6/documentation/reports/deprecated.html b/crm-client-3.0.6/documentation/reports/deprecated.html new file mode 100644 index 0000000..cc64b57 --- /dev/null +++ b/crm-client-3.0.6/documentation/reports/deprecated.html @@ -0,0 +1,130 @@ + + + + + CRM V2 » Deprecated elements + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                    CRM V2

                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                    Deprecated

                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    + No deprecated elements have been found in this project. +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                    Search results

                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                      + + + + + + + + diff --git a/crm-client-3.0.6/documentation/reports/errors.html b/crm-client-3.0.6/documentation/reports/errors.html new file mode 100644 index 0000000..9e5e6ad --- /dev/null +++ b/crm-client-3.0.6/documentation/reports/errors.html @@ -0,0 +1,129 @@ + + + + + CRM V2 » Compilation errors + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      CRM V2

                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Errors

                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                      No errors have been found in this project.
                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Search results

                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                        + + + + + + + + diff --git a/crm-client-3.0.6/documentation/reports/markers.html b/crm-client-3.0.6/documentation/reports/markers.html new file mode 100644 index 0000000..9955eeb --- /dev/null +++ b/crm-client-3.0.6/documentation/reports/markers.html @@ -0,0 +1,768 @@ + + + + + CRM V2 » Markers + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                        CRM V2

                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                        Markers

                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Table of Contents

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        examples/CustomerExample.php1
                                                                                                                                                                                                                                                                                                                                        src/Enums/ApiError.php2
                                                                                                                                                                                                                                                                                                                                        src/Enums/Country.php1
                                                                                                                                                                                                                                                                                                                                        src/Exceptions/ApiErrorException.php2
                                                                                                                                                                                                                                                                                                                                        src/Exceptions/CrmException.php1
                                                                                                                                                                                                                                                                                                                                        src/Models/Answer.php1
                                                                                                                                                                                                                                                                                                                                        src/Models/ArcadiaMailDefault.php3
                                                                                                                                                                                                                                                                                                                                        src/Models/ArcadiaMailGame.php2
                                                                                                                                                                                                                                                                                                                                        src/Models/CrmClientModel.php5
                                                                                                                                                                                                                                                                                                                                        src/Models/Customer.php5
                                                                                                                                                                                                                                                                                                                                        src/Models/Question.php3
                                                                                                                                                                                                                                                                                                                                        src/Transport/ApiInterface.php6
                                                                                                                                                                                                                                                                                                                                        src/Transport/Request.php1
                                                                                                                                                                                                                                                                                                                                        src/Transport/Response.php4
                                                                                                                                                                                                                                                                                                                                        src/Utils.php8
                                                                                                                                                                                                                                                                                                                                        src/WordPress/WPCrm.php8
                                                                                                                                                                                                                                                                                                                                        src/WordPress/WPCrmAnswer.php2
                                                                                                                                                                                                                                                                                                                                        src/WordPress/WPCrmQuestion.php6
                                                                                                                                                                                                                                                                                                                                        src/WordPress/WPCrmUser.php2
                                                                                                                                                                                                                                                                                                                                        + + +

                                                                                                                                                                                                                                                                                                                                        CustomerExample.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        53phpcs:ignore Squiz.PHP.DiscouragedFunctions.Found
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ApiError.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        53supportweb.ldc.fr
                                                                                                                                                                                                                                                                                                                                        59supportweb.ldc.fr
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Country.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        9datahub.io/core/country-list Data Hub country list
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ApiErrorException.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        100@codeCoverageIgnoreStart
                                                                                                                                                                                                                                                                                                                                        102@codeCoverageIgnoreEnd
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        CrmException.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        11supportweb.ldc.fr
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Answer.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        80* PUBLIC METHODS
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ArcadiaMailDefault.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        325* Cast anyway
                                                                                                                                                                                                                                                                                                                                        349Use this to throw validation error.
                                                                                                                                                                                                                                                                                                                                        357* PUBLIC METHODS
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ArcadiaMailGame.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        294* Cast anyway
                                                                                                                                                                                                                                                                                                                                        301* PUBLIC METHODS
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        CrmClientModel.php

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

                                                                                                                                                                                                                                                                                                                                        Customer.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        349* Cast anyway
                                                                                                                                                                                                                                                                                                                                        370Use 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

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        158* Cast anyway
                                                                                                                                                                                                                                                                                                                                        179Use this to throw validation error.
                                                                                                                                                                                                                                                                                                                                        187* PUBLIC METHODS
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        ApiInterface.php

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

                                                                                                                                                                                                                                                                                                                                        Request.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        169! Do not throw HTTP Exceptions.
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        Response.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        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

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

                                                                                                                                                                                                                                                                                                                                        WPCrm.php

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

                                                                                                                                                                                                                                                                                                                                        WPCrmAnswer.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        9opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        24opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        WPCrmQuestion.php

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        9opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        25opensource.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

                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        TypeLineDescription
                                                                                                                                                                                                                                                                                                                                        9opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        66opensource.org/licenses/MIT
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                        Search results

                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                          + + + + + + + + diff --git a/crm-client-3.0.6/examples/CustomerExample.php b/crm-client-3.0.6/examples/CustomerExample.php new file mode 100644 index 0000000..8154437 --- /dev/null +++ b/crm-client-3.0.6/examples/CustomerExample.php @@ -0,0 +1,55 @@ +getCustomerOrNew('123e4567-e89b-12d3-a456-426614174000'); + +echo $customer->firstname; + +$customer->firstname = 'new firstname'; + +try { + if ($customer->save()) { + echo 'Customer was updated'; + } +} catch (ApiErrorException $e) { + if ($e->getApiError()->equals(ApiError::modelNotFound())) { + echo 'This customer does not exists in crm therefore we cannot update it'; + echo $e->getMessage(); + } + if ($e->getApiError()->equals(ApiError::validationFailed())) { + echo 'Some of the provided fields were not ok'; + echo $e->getMessage(); + } +} + +$customer = new Customer(); + +$customer->firstname = 'toto'; +$customer->lastname = 'delarogerie'; +$customer->email = 'toto.delarogerie@gmail.com'; +$customer->password = 'Complic4tEd!P4assW0rd'; +$customer->birth_date = '1992-03-08'; +$customer->phone = '0673891160'; +$customer->address = 'rue des totos'; +$customer->city = 'Toto ville'; +$customer->postcode = '72160'; +$customer->country = Country::france(); + +try { + if ($customer->save()) { + echo 'Customer is saved in crm'; + } else { + echo 'Customer was not saved in crm'; + } +} catch (ApiErrorException $e) { + echo 'Something went wrong'; + echo $e->getMessage(); + // phpcs:ignore Squiz.PHP.DiscouragedFunctions.Found + print_r($e->getApiError()); +} diff --git a/crm-client-3.0.6/license.md b/crm-client-3.0.6/license.md new file mode 100644 index 0000000..8ee145e --- /dev/null +++ b/crm-client-3.0.6/license.md @@ -0,0 +1,21 @@ +MIT License (!! includes CC BY-NC 3.0 parts please read Readme.md) + +Copyright (c) 2021 Jérémy Munsch + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/crm-client-3.0.6/phpcs.xml b/crm-client-3.0.6/phpcs.xml new file mode 100644 index 0000000..f971c7f --- /dev/null +++ b/crm-client-3.0.6/phpcs.xml @@ -0,0 +1,125 @@ + + + Created with the PHP Coding Standard Generator. http://edorian.github.com/php-coding-standard-generator/ + + + src/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */database/migrations/* + + + diff --git a/crm-client-3.0.6/phpdoc.dist.xml b/crm-client-3.0.6/phpdoc.dist.xml new file mode 100644 index 0000000..06786b0 --- /dev/null +++ b/crm-client-3.0.6/phpdoc.dist.xml @@ -0,0 +1,21 @@ + + + CRM V2 + + documentation + + + + + examples + src + + LDCCrmClient + + + diff --git a/crm-client-3.0.6/readme.md b/crm-client-3.0.6/readme.md new file mode 100644 index 0000000..9ed217b --- /dev/null +++ b/crm-client-3.0.6/readme.md @@ -0,0 +1,143 @@ +# LDC CRM api + +Api client for CRM V2 + +**Client version must match CRM version !!** + + +- [LDC CRM api](#ldc-crm-api) + - [**Installation**](#installation) + - [**Usage**](#usage) + - [**Using Laravel**](#using-laravel) + - [**Using any other project**](#using-any-other-project) + - [**Using Wordpress**](#using-wordpress) + - [**Using custom implementation and calling directly CRM**](#using-custom-implementation-and-calling-directly-crm) + - [**More information**](#more-information) + - [**Customer Informations**](#customer-informations) + - [**Change log**](#change-log) + - [**Testing**](#testing) + - [**Credits**](#credits) + - [**License**](#license) + +## **Installation** + +Multiple ways are possible. You may include the client directly into your project using composer. You will need to have access to this repos. If you read this it may already be the case. So using ``composer update`` or ``composer require ldc/ldccrmv2client`` should be enough. + +*This has few dependencies it may not interfer with your project.* + + "ext-curl": "^7.3", + "php": "^7.3", + "kwaadpepper/enum": "^2.1", + "guzzlehttp/guzzle": "^7.4", + "respect/validation": "^2.2" + +## **Usage** + +As for initialisation multiple ways are possible. +If you are in a laravel project you can map a singleton of the crm api. + +### **Using Laravel** + + 1. Setup ``config/crm.php`` + + 'https://ldc-crm.ldc.fr', + 'token' => 'YOUR_API_TOKEN', + 'password' => 'YOUR_API_PASSWORD' + ]; + + 2. Make a crm singleton if needed *(optional)* + + // In AppServiceProvider.php + App::singleton('CrmApiV2', function () { + return new CrmApiV2(); + }); + + // You then like this. + /** @var \LDC\LDCCRM\CrmApiV2 $crmApi */ + $crmApi = app('CrmApiV2); + + // Or directly use static methods. + /** @var \LDC\LDCCRM\Models\Customer|null $customer */ + $customer = Customer::find('UUID'); + +### **Using any other project** + +Setup once the main class *(it is already a singleton, no need to manage it)*. + +Informations will be kept in memory as static meaning all instance of CrmApiV2 or any class (Customer, ..) will share the same informations as credentials. + + $crmToken = 'YOUR_API_TOKEN'; + $crmPassword = 'YOUR_API_PASSWORD'; + + // This has to hapen once. It will be kept in memory; + new CrmApiV2('https://ldc-crm.ldc.fr', $crmToken, $crmPassword); + +### **Using Wordpress** + +We created as experimental some wordpress classes. It will handle locale storage (in sql database) and sessions using start session. Some security is provided with a settion time out of 15 minutes. A fingerprint is set using the user agent and remote_ip. These cannot be trusted and it wont prevent a replay attack though. +Usefull to point out that you make not use this without ssl (https) connection. + +The usage is that same as for *setting up for any other project*, bu instead you can make usage of class in the ``LDC\LDCCRM\WordPress`` namespace. + +**Note: using methods from classes in this namespace will call php session_start if it has not started yet** + + // If true from here; user session is set and will be remembered until timeout or WPCRM::logout. + $status = WPCRM::login('customer@email.com', 'password'); + +### **Using custom implementation and calling directly CRM** + +You may implement your own call to fit your needs. If you wish to go this way please read [these instructions](docs/usages/custom.md). + +### **More information** + +- Using [WordPress client](docs/usages/wordpress-client.md) +- Using [normal client](docs/usages/client.md) +- Writing [your own implementation](docs/usages/custom.md) + +## **Customer Informations** + +The CRM will store multiple informations about your customer. Of course you can contact us if there is a **RGPD** demand to access or suppress information. Also we store the following informations as for now : + + - last connection + - password + - email + - first name + - last name + - birth date + - address + - phone + - country + - city + - postcode + - opt in status and history + - question answers + +**Password is stored as hashed using strong algorithm and a secret key, no logs are done while authenticating your customer other than the connection date if auth is successful** + +***You may also note that every customer has a HASHCODE, this is the ID of your customer and has to be stored on your side. But even if you don't you can always identify your customers using it's email.*** + +Minimal informations you may keep are : + +- hashcode +- email + + +## **Change log** + +Please see the [changelog](changelog.md) for more information on what has changed recently. + +## **Testing** + +All unit test are included in the crm source code, meaning you do not have access to them. If you wish you can override any source code, write your own test, but data will still be validated on crm side. + + +## **Credits** + +- [Jérémy Munsch](https://jeremydev.ovh) + +## **License** + +MIT. Please see the [license file](license.md) for more information. diff --git a/crm-client-3.0.6/resources/lang/fr.php b/crm-client-3.0.6/resources/lang/fr.php new file mode 100644 index 0000000..beaefd6 --- /dev/null +++ b/crm-client-3.0.6/resources/lang/fr.php @@ -0,0 +1,31 @@ + [ + 'support_code' => 'code support', + 'label_type_support' => 'label type de support', + 'order_date' => 'date de commande', + 'order_num' => 'numéro de commande', + 'state_order' => 'état commande', + 'package_unit_weight' => 'poids unitaire du paquet', + 'code_unique' => 'code unique', + 'code_on_pack' => 'code du paquet', + 'answer' => 'réponse', + 'email' => 'e-mail', + 'firstname' => 'prénom', + 'lastname' => 'nom de famille', + 'lastname' => 'nom de famille', + 'password' => 'mot de passe', + 'birth_date' => 'date de naissance', + 'phone' => 'téléphone', + 'address' => 'adresse', + 'address2' => 'adresse complémentaire', + 'city' => 'ville', + 'postcode' => 'code postal', + 'country' => 'pays', + 'opt_in' => 'newsletter', + 'status' => 'état', + 'last_connection' => 'denière connexion', + 'answers' => 'réponses' + ] +]; diff --git a/crm-client-3.0.6/src/CrmApiV2.php b/crm-client-3.0.6/src/CrmApiV2.php new file mode 100644 index 0000000..bd33ddc --- /dev/null +++ b/crm-client-3.0.6/src/CrmApiV2.php @@ -0,0 +1,141 @@ +call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * + * Get a customer from its hashcode or email + * If it does not exists a new instance + * will be returned. You would have + * to call its save method later on. + * + * @param string $identification The customer hashcode or email. + * @return \LDC\LDCCRM\Models\Customer A client Customer model. + * + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionComment.EmptyThrows + */ + public function getCustomerOrNew(string $identification): Customer + { + return $this->getCustomer($identification) ?? new Customer(); + } + + /** + * Get a customer from its hashcode or email + * If it does not exists a new instance + * will be returned. You would have + * to call its save method later on. + * + * @param string $identification The customer hashcode or email. + * @return \LDC\LDCCRM\Models\Customer|null Return null if the customer was not found + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function getCustomer(string $identification): ?Customer + { + return Customer::find($identification); + } + + /** + * Set the single optin status for an email + * + * @param string $email + * @param boolean $opt_in + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field email could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - singleOptinCustomerExists, If a customer exists with this email. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function setStatus(string $email, bool $opt_in): bool + { + return SingleOptin::setStatus($email, $opt_in); + } + + /** + * Set the single optin status for an email + * + * @param string $hashcode + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If a single optin does not exists. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function unsetStatusWithHashcode(string $hashcode): bool + { + return SingleOptin::unsetStatusWithHashcode($hashcode); + } + + /** + * Test a customer credentials to see if it can login + * + * @param string $email + * @param string $password + * @return boolean + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - authFailed, If credentials are not valid. + * - customerNotActivated, If the account is not activated. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function login(string $email, string $password): bool + { + return Customer::login($email, $password); + } +} diff --git a/crm-client-3.0.6/src/Enums/ApiError.php b/crm-client-3.0.6/src/Enums/ApiError.php new file mode 100644 index 0000000..1c5c764 --- /dev/null +++ b/crm-client-3.0.6/src/Enums/ApiError.php @@ -0,0 +1,114 @@ + 101, + 'validationFailed' => 102, + 'customerExists' => 103, + 'customerAlreadyActive' => 110, + 'customerNotActivated' => 116, + 'authFailed' => 117, + 'apiAuthFailed' => 119, + 'singleOptinCustomerExists' => 120, + 'methodNotAllowed' => 150, + 'wrongTimeStamp' => 151, + 'missingParameter' => 400, + 'authorizationException' => 403, + 'throttleRequestsException' => 429 + ]; + } + + /** + * Libellés des possibilités de cet énumération (label) + * + * @return array + */ + public static function labels(): array + { + return [ + 'modelNotFound' => '%s introuvable.', + 'validationFailed' => 'Impossible de valider les données', + 'customerExists' => 'L\'utilisateur est déjà enregistré sur ce site', + 'customerNotActivated' => 'Le compte n\'est pas activé', + 'customerAlreadyActive' => 'Le compte est déjà activé', + 'singleOptinCustomerExists' => 'Le single optin ne peut être ajouté car un compte existe.', + 'authFailed' => 'Echec de l\'authentification du compte', + 'apiAuthFailed' => 'Echec de l\'authentification client à l\'Api LDC-CRM pour ce service', + 'methodNotAllowed' => 'This method is not allowed for this request', + 'wrongTimeStamp' => 'Your request is malformed, please check timestamp header and parameter', + 'missingParameter' => 'The request is missing some parameters', + 'authorizationException' => 'You are not autorized to access this', + 'throttleRequestsException' => 'Throttle: too many request have been attempted, please retry later' + ]; + } +} diff --git a/crm-client-3.0.6/src/Enums/ApiStatus.php b/crm-client-3.0.6/src/Enums/ApiStatus.php new file mode 100644 index 0000000..a48908d --- /dev/null +++ b/crm-client-3.0.6/src/Enums/ApiStatus.php @@ -0,0 +1,16 @@ + 1, + 'game' => 2 + ]; + } +} diff --git a/crm-client-3.0.6/src/Enums/ArcadiaOrderType.php b/crm-client-3.0.6/src/Enums/ArcadiaOrderType.php new file mode 100644 index 0000000..4da2a8a --- /dev/null +++ b/crm-client-3.0.6/src/Enums/ArcadiaOrderType.php @@ -0,0 +1,28 @@ + 0, + 'check' => 1 + ]; + } +} diff --git a/crm-client-3.0.6/src/Enums/Country.php b/crm-client-3.0.6/src/Enums/Country.php new file mode 100644 index 0000000..f741898 --- /dev/null +++ b/crm-client-3.0.6/src/Enums/Country.php @@ -0,0 +1,869 @@ + 1, + 'alandIslands' => 2, + 'albania' => 3, + 'algeria' => 4, + 'americanSamoa' => 5, + 'andorra' => 6, + 'angola' => 7, + 'anguilla' => 8, + 'antarctica' => 9, + 'antiguaAndBarbuda' => 10, + 'argentina' => 11, + 'armenia' => 12, + 'aruba' => 13, + 'australia' => 14, + 'austria' => 15, + 'azerbaijan' => 16, + 'bahrain' => 17, + 'bahamas' => 18, + 'bangladesh' => 19, + 'barbados' => 20, + 'belarus' => 21, + 'belgium' => 22, + 'belize' => 23, + 'benin' => 24, + 'bermuda' => 25, + 'bhutan' => 26, + 'boliviaPlurinationalStateOf' => 27, + 'bonaireSintEustatiusAndSaba' => 28, + 'bosniaAndHerzegovina' => 29, + 'botswana' => 30, + 'bouvetIsland' => 31, + 'brazil' => 32, + 'britishIndianOceanTerritory' => 33, + 'bruneiDarussalam' => 34, + 'bulgaria' => 35, + 'burkinaFaso' => 36, + 'burundi' => 37, + 'cambodia' => 38, + 'cameroon' => 39, + 'canada' => 40, + 'capeVerde' => 41, + 'caymanIslands' => 42, + 'centralAfricanRepublic' => 43, + 'chad' => 44, + 'chile' => 45, + 'china' => 46, + 'christmasIsland' => 47, + 'cocosKeelingIslands' => 48, + 'colombia' => 49, + 'comoros' => 50, + 'congo' => 51, + 'congoTheDemocraticRepublicOfThe' => 52, + 'cookIslands' => 53, + 'costaRica' => 54, + 'coteDivoire' => 55, + 'croatia' => 56, + 'cuba' => 57, + 'curacao' => 58, + 'cyprus' => 59, + 'czechRepublic' => 60, + 'denmark' => 61, + 'djibouti' => 62, + 'dominica' => 63, + 'dominicanRepublic' => 64, + 'ecuador' => 65, + 'egypt' => 66, + 'elSalvador' => 67, + 'equatorialGuinea' => 68, + 'eritrea' => 69, + 'estonia' => 70, + 'ethiopia' => 71, + 'falklandIslandsMalvinas' => 72, + 'faroeIslands' => 73, + 'fiji' => 74, + 'finland' => 75, + 'france' => 76, + 'frenchGuiana' => 77, + 'frenchPolynesia' => 78, + 'frenchSouthernTerritories' => 79, + 'gabon' => 80, + 'gambia' => 81, + 'georgia' => 82, + 'germany' => 83, + 'ghana' => 84, + 'gibraltar' => 85, + 'greece' => 86, + 'greenland' => 87, + 'grenada' => 88, + 'guadeloupe' => 89, + 'guam' => 90, + 'guatemala' => 91, + 'guernsey' => 92, + 'guinea' => 93, + 'guineaBissau' => 94, + 'guyana' => 95, + 'haiti' => 96, + 'heardIslandAndMcdonaldIslands' => 97, + 'holySeeVaticanCityState' => 98, + 'honduras' => 99, + 'hongKong' => 100, + 'hungary' => 101, + 'iceland' => 102, + 'india' => 103, + 'indonesia' => 104, + 'iranIslamicRepublicOf' => 105, + 'iraq' => 106, + 'ireland' => 107, + 'isleOfMan' => 108, + 'israel' => 109, + 'italy' => 110, + 'jamaica' => 111, + 'japan' => 112, + 'jersey' => 113, + 'jordan' => 114, + 'kazakhstan' => 115, + 'kenya' => 116, + 'kiribati' => 117, + 'koreaDemocraticPeoplesRepublicOf' => 118, + 'koreaRepublicOf' => 119, + 'kuwait' => 120, + 'kyrgyzstan' => 121, + 'laoPeoplesDemocraticRepublic' => 122, + 'latvia' => 123, + 'lebanon' => 124, + 'lesotho' => 125, + 'liberia' => 126, + 'libya' => 127, + 'liechtenstein' => 128, + 'lithuania' => 129, + 'luxembourg' => 130, + 'macao' => 131, + 'macedoniaTheFormerYugoslavRepublicOf' => 132, + 'madagascar' => 133, + 'malawi' => 134, + 'malaysia' => 135, + 'maldives' => 136, + 'mali' => 137, + 'malta' => 138, + 'marshallIslands' => 139, + 'martinique' => 140, + 'mauritania' => 141, + 'mauritius' => 142, + 'mayotte' => 143, + 'mexico' => 144, + 'micronesiaFederatedStatesOf' => 145, + 'moldovaRepublicOf' => 146, + 'monaco' => 147, + 'mongolia' => 148, + 'montenegro' => 149, + 'montserrat' => 150, + 'morocco' => 151, + 'mozambique' => 152, + 'myanmar' => 153, + 'namibia' => 154, + 'nauru' => 155, + 'nepal' => 156, + 'netherlands' => 157, + 'newCaledonia' => 158, + 'newZealand' => 159, + 'nicaragua' => 160, + 'niger' => 161, + 'nigeria' => 162, + 'niue' => 163, + 'norfolkIsland' => 164, + 'northernMarianaIslands' => 165, + 'norway' => 166, + 'oman' => 167, + 'pakistan' => 168, + 'palau' => 169, + 'palestineStateOf' => 170, + 'panama' => 171, + 'papuaNewGuinea' => 172, + 'paraguay' => 173, + 'peru' => 174, + 'philippines' => 175, + 'pitcairn' => 176, + 'poland' => 177, + 'portugal' => 178, + 'puertoRico' => 179, + 'qatar' => 180, + 'reunion' => 181, + 'romania' => 182, + 'russianFederation' => 183, + 'rwanda' => 184, + 'saintBarthelemy' => 185, + 'saintHelenaAscensionAndTristanDaCunha' => 186, + 'saintKittsAndNevis' => 187, + 'saintLucia' => 188, + 'saintMartinFrenchPart' => 189, + 'saintPierreAndMiquelon' => 190, + 'saintVincentAndTheGrenadines' => 191, + 'samoa' => 192, + 'sanMarino' => 193, + 'saoTomeAndPrincipe' => 194, + 'saudiArabia' => 195, + 'senegal' => 196, + 'serbia' => 197, + 'seychelles' => 198, + 'sierraLeone' => 199, + 'singapore' => 200, + 'sintMaartenDutchPart' => 201, + 'slovakia' => 202, + 'slovenia' => 203, + 'solomonIslands' => 204, + 'somalia' => 205, + 'southAfrica' => 206, + 'southGeorgiaAndTheSouthSandwichIslands' => 207, + 'southSudan' => 208, + 'spain' => 209, + 'sriLanka' => 210, + 'sudan' => 211, + 'suriname' => 212, + 'svalbardAndJanMayen' => 213, + 'swaziland' => 214, + 'sweden' => 215, + 'switzerland' => 216, + 'syrianArabRepublic' => 217, + 'taiwanProvinceOfChina' => 218, + 'tajikistan' => 219, + 'tanzaniaUnitedRepublicOf' => 220, + 'thailand' => 221, + 'timorLeste' => 222, + 'togo' => 223, + 'tokelau' => 224, + 'tonga' => 225, + 'trinidadAndTobago' => 226, + 'tunisia' => 227, + 'turkey' => 228, + 'turkmenistan' => 229, + 'turksAndCaicosIslands' => 230, + 'tuvalu' => 231, + 'uganda' => 232, + 'ukraine' => 233, + 'unitedArabEmirates' => 234, + 'unitedKingdom' => 235, + 'unitedStates' => 236, + 'unitedStatesMinorOutlyingIslands' => 237, + 'uruguay' => 238, + 'uzbekistan' => 239, + 'vanuatu' => 240, + 'venezuelaBolivarianRepublicOf' => 241, + 'vietNam' => 242, + 'virginIslandsBritish' => 243, + 'virginIslandsUs' => 244, + 'wallisAndFutuna' => 245, + 'westernSahara' => 246, + 'yemen' => 247, + 'zambia' => 248, + 'zimbabwe' => 249 + ]; + } + + /** + * Libellés des possibilités de cet énumération (label) + * + * @return array + */ + public static function labels(): array + { + return [ + 'afghanistan' => 'Afghanistan', + 'alandIslands' => 'Åland Islands', + 'albania' => 'Albania', + 'algeria' => 'Algeria', + 'americanSamoa' => 'American Samoa', + 'andorra' => 'Andorra', + 'angola' => 'Angola', + 'anguilla' => 'Anguilla', + 'antarctica' => 'Antarctica', + 'antiguaAndBarbuda' => 'Antigua and Barbuda', + 'argentina' => 'Argentina', + 'armenia' => 'Armenia', + 'aruba' => 'Aruba', + 'australia' => 'Australia', + 'austria' => 'Austria', + 'azerbaijan' => 'Azerbaijan', + 'bahrain' => 'Bahrain', + 'bahamas' => 'Bahamas', + 'bangladesh' => 'Bangladesh', + 'barbados' => 'Barbados', + 'belarus' => 'Belarus', + 'belgium' => 'Belgium', + 'belize' => 'Belize', + 'benin' => 'Benin', + 'bermuda' => 'Bermuda', + 'bhutan' => 'Bhutan', + 'boliviaPlurinationalStateOf' => 'Bolivia, Plurinational State of', + 'bonaireSintEustatiusAndSaba' => 'Bonaire, Sint Eustatius and Saba', + 'bosniaAndHerzegovina' => 'Bosnia and Herzegovina', + 'botswana' => 'Botswana', + 'bouvetIsland' => 'Bouvet Island', + 'brazil' => 'Brazil', + 'britishIndianOceanTerritory' => 'British Indian Ocean Territory', + 'bruneiDarussalam' => 'Brunei Darussalam', + 'bulgaria' => 'Bulgaria', + 'burkinaFaso' => 'Burkina Faso', + 'burundi' => 'Burundi', + 'cambodia' => 'Cambodia', + 'cameroon' => 'Cameroon', + 'canada' => 'Canada', + 'capeVerde' => 'Cape Verde', + 'caymanIslands' => 'Cayman Islands', + 'centralAfricanRepublic' => 'Central African Republic', + 'chad' => 'Chad', + 'chile' => 'Chile', + 'china' => 'China', + 'christmasIsland' => 'Christmas Island', + 'cocosKeelingIslands' => 'Cocos (Keeling) Islands', + 'colombia' => 'Colombia', + 'comoros' => 'Comoros', + 'congo' => 'Congo', + 'congoTheDemocraticRepublicOfThe' => 'Congo, the Democratic Republic of the', + 'cookIslands' => 'Cook Islands', + 'costaRica' => 'Costa Rica', + 'coteDivoire' => 'Côte d\'Ivoire', + 'croatia' => 'Croatia', + 'cuba' => 'Cuba', + 'curacao' => 'Curaçao', + 'cyprus' => 'Cyprus', + 'czechRepublic' => 'Czech Republic', + 'denmark' => 'Denmark', + 'djibouti' => 'Djibouti', + 'dominica' => 'Dominica', + 'dominicanRepublic' => 'Dominican Republic', + 'ecuador' => 'Ecuador', + 'egypt' => 'Egypt', + 'elSalvador' => 'El Salvador', + 'equatorialGuinea' => 'Equatorial Guinea', + 'eritrea' => 'Eritrea', + 'estonia' => 'Estonia', + 'ethiopia' => 'Ethiopia', + 'falklandIslandsMalvinas' => 'Falkland Islands (Malvinas)', + 'faroeIslands' => 'Faroe Islands', + 'fiji' => 'Fiji', + 'finland' => 'Finland', + 'france' => 'France', + 'frenchGuiana' => 'French Guiana', + 'frenchPolynesia' => 'French Polynesia', + 'frenchSouthernTerritories' => 'French Southern Territories', + 'gabon' => 'Gabon', + 'gambia' => 'Gambia', + 'georgia' => 'Georgia', + 'germany' => 'Germany', + 'ghana' => 'Ghana', + 'gibraltar' => 'Gibraltar', + 'greece' => 'Greece', + 'greenland' => 'Greenland', + 'grenada' => 'Grenada', + 'guadeloupe' => 'Guadeloupe', + 'guam' => 'Guam', + 'guatemala' => 'Guatemala', + 'guernsey' => 'Guernsey', + 'guinea' => 'Guinea', + 'guineaBissau' => 'GuineaBissau', + 'guyana' => 'Guyana', + 'haiti' => 'Haiti', + 'heardIslandAndMcdonaldIslands' => 'Heard Island and McDonald Islands', + 'holySeeVaticanCityState' => 'Holy See (Vatican City State)', + 'honduras' => 'Honduras', + 'hongKong' => 'Hong Kong', + 'hungary' => 'Hungary', + 'iceland' => 'Iceland', + 'india' => 'India', + 'indonesia' => 'Indonesia', + 'iranIslamicRepublicOf' => 'Iran, Islamic Republic of', + 'iraq' => 'Iraq', + 'ireland' => 'Ireland', + 'isleOfMan' => 'Isle of Man', + 'israel' => 'Israel', + 'italy' => 'Italy', + 'jamaica' => 'Jamaica', + 'japan' => 'Japan', + 'jersey' => 'Jersey', + 'jordan' => 'Jordan', + 'kazakhstan' => 'Kazakhstan', + 'kenya' => 'Kenya', + 'kiribati' => 'Kiribati', + 'koreaDemocraticPeoplesRepublicOf' => 'Korea, Democratic People\'s Republic of', + 'koreaRepublicOf' => 'Korea, Republic of', + 'kuwait' => 'Kuwait', + 'kyrgyzstan' => 'Kyrgyzstan', + 'laoPeoplesDemocraticRepublic' => 'Lao People\'s Democratic Republic', + 'latvia' => 'Latvia', + 'lebanon' => 'Lebanon', + 'lesotho' => 'Lesotho', + 'liberia' => 'Liberia', + 'libya' => 'Libya', + 'liechtenstein' => 'Liechtenstein', + 'lithuania' => 'Lithuania', + 'luxembourg' => 'Luxembourg', + 'macao' => 'Macao', + 'macedoniaTheFormerYugoslavRepublicOf' => 'Macedonia, the Former Yugoslav Republic of', + 'madagascar' => 'Madagascar', + 'malawi' => 'Malawi', + 'malaysia' => 'Malaysia', + 'maldives' => 'Maldives', + 'mali' => 'Mali', + 'malta' => 'Malta', + 'marshallIslands' => 'Marshall Islands', + 'martinique' => 'Martinique', + 'mauritania' => 'Mauritania', + 'mauritius' => 'Mauritius', + 'mayotte' => 'Mayotte', + 'mexico' => 'Mexico', + 'micronesiaFederatedStatesOf' => 'Micronesia, Federated States of', + 'moldovaRepublicOf' => 'Moldova, Republic of', + 'monaco' => 'Monaco', + 'mongolia' => 'Mongolia', + 'montenegro' => 'Montenegro', + 'montserrat' => 'Montserrat', + 'morocco' => 'Morocco', + 'mozambique' => 'Mozambique', + 'myanmar' => 'Myanmar', + 'namibia' => 'Namibia', + 'nauru' => 'Nauru', + 'nepal' => 'Nepal', + 'netherlands' => 'Netherlands', + 'newCaledonia' => 'New Caledonia', + 'newZealand' => 'New Zealand', + 'nicaragua' => 'Nicaragua', + 'niger' => 'Niger', + 'nigeria' => 'Nigeria', + 'niue' => 'Niue', + 'norfolkIsland' => 'Norfolk Island', + 'northernMarianaIslands' => 'Northern Mariana Islands', + 'norway' => 'Norway', + 'oman' => 'Oman', + 'pakistan' => 'Pakistan', + 'palau' => 'Palau', + 'palestineStateOf' => 'Palestine, State of', + 'panama' => 'Panama', + 'papuaNewGuinea' => 'Papua New Guinea', + 'paraguay' => 'Paraguay', + 'peru' => 'Peru', + 'philippines' => 'Philippines', + 'pitcairn' => 'Pitcairn', + 'poland' => 'Poland', + 'portugal' => 'Portugal', + 'puertoRico' => 'Puerto Rico', + 'qatar' => 'Qatar', + 'reunion' => 'Réunion', + 'romania' => 'Romania', + 'russianFederation' => 'Russian Federation', + 'rwanda' => 'Rwanda', + 'saintBarthelemy' => 'Saint Barthélemy', + 'saintHelenaAscensionAndTristanDaCunha' => 'Saint Helena, Ascension and Tristan da Cunha', + 'saintKittsAndNevis' => 'Saint Kitts and Nevis', + 'saintLucia' => 'Saint Lucia', + 'saintMartinFrenchPart' => 'Saint Martin (French part)', + 'saintPierreAndMiquelon' => 'Saint Pierre and Miquelon', + 'saintVincentAndTheGrenadines' => 'Saint Vincent and the Grenadines', + 'samoa' => 'Samoa', + 'sanMarino' => 'San Marino', + 'saoTomeAndPrincipe' => 'Sao Tome and Principe', + 'saudiArabia' => 'Saudi Arabia', + 'senegal' => 'Senegal', + 'serbia' => 'Serbia', + 'seychelles' => 'Seychelles', + 'sierraLeone' => 'Sierra Leone', + 'singapore' => 'Singapore', + 'sintMaartenDutchPart' => 'Sint Maarten (Dutch part)', + 'slovakia' => 'Slovakia', + 'slovenia' => 'Slovenia', + 'solomonIslands' => 'Solomon Islands', + 'somalia' => 'Somalia', + 'southAfrica' => 'South Africa', + 'southGeorgiaAndTheSouthSandwichIslands' => 'South Georgia and the South Sandwich Islands', + 'southSudan' => 'South Sudan', + 'spain' => 'Spain', + 'sriLanka' => 'Sri Lanka', + 'sudan' => 'Sudan', + 'suriname' => 'Suriname', + 'svalbardAndJanMayen' => 'Svalbard and Jan Mayen', + 'swaziland' => 'Swaziland', + 'sweden' => 'Sweden', + 'switzerland' => 'Switzerland', + 'syrianArabRepublic' => 'Syrian Arab Republic', + 'taiwanProvinceOfChina' => 'Taiwan, Province of China', + 'tajikistan' => 'Tajikistan', + 'tanzaniaUnitedRepublicOf' => 'Tanzania, United Republic of', + 'thailand' => 'Thailand', + 'timorLeste' => 'TimorLeste', + 'togo' => 'Togo', + 'tokelau' => 'Tokelau', + 'tonga' => 'Tonga', + 'trinidadAndTobago' => 'Trinidad and Tobago', + 'tunisia' => 'Tunisia', + 'turkey' => 'Turkey', + 'turkmenistan' => 'Turkmenistan', + 'turksAndCaicosIslands' => 'Turks and Caicos Islands', + 'tuvalu' => 'Tuvalu', + 'uganda' => 'Uganda', + 'ukraine' => 'Ukraine', + 'unitedArabEmirates' => 'United Arab Emirates', + 'unitedKingdom' => 'United Kingdom', + 'unitedStates' => 'United States', + 'unitedStatesMinorOutlyingIslands' => 'United States Minor Outlying Islands', + 'uruguay' => 'Uruguay', + 'uzbekistan' => 'Uzbekistan', + 'vanuatu' => 'Vanuatu', + 'venezuelaBolivarianRepublicOf' => 'Venezuela, Bolivarian Republic of', + 'vietNam' => 'Viet Nam', + 'virginIslandsBritish' => 'Virgin Islands, British', + 'virginIslandsUs' => 'Virgin Islands, U.S.', + 'wallisAndFutuna' => 'Wallis and Futuna', + 'westernSahara' => 'Western Sahara', + 'yemen' => 'Yemen', + 'zambia' => 'Zambia', + 'zimbabwe' => 'Zimbabwe' + ]; + } + + /** + * Get valid countries label + * + * @return array + */ + public static function getValidCountriesLabel(): array + { + return collect(self::getValidCountries())->map(function (self $country) { + return $country->label; + })->all(); + } + + /** + * Get Alpha 2 ISO code of valid countries + * + * @return array + */ + public static function getValidIsoAplha2Codes(): array + { + return \array_values(self::isoCodes()); + } + + /** + * Get valid countries + * + * @return array + */ + public static function getValidCountries(): array + { + return [ + Country::belgium(), + Country::luxembourg(), + Country::france(), + // * DROM COM. + Country::guadeloupe(), + Country::martinique(), + Country::frenchGuiana(), + Country::reunion(), + Country::saintPierreAndMiquelon(), + Country::mayotte(), + Country::saintBarthelemy(), + Country::saintMartinFrenchPart(), + Country::wallisAndFutuna(), + Country::frenchPolynesia(), + Country::newCaledonia() + ]; + } + + /** + * Enum classes + * + * @return array + */ + protected static function isoCodes(): array + { + return [ + 'france' => 'FR', + 'belgium' => 'BE', + 'luxembourg' => 'LU', + 'guadeloupe' => 'GP', + 'martinique' => 'MQ', + 'frenchGuiana' => 'GF', + 'reunion' => 'RE', + 'saintPierreAndMiquelon' => 'PM', + 'mayotte' => 'YT', + 'saintBarthelemy' => 'BL', + 'saintMartinFrenchPart' => 'MF', + 'wallisAndFutuna' => 'WF', + 'frenchPolynesia' => 'PF', + 'newCaledonia' => 'NC', + ]; + } + + /** + * @param string $attribute + * @return integer|string + */ + public function __get(string $attribute) + { + if ($attribute === 'iso') { + return $this->isoCodes()[$this->getDefinition()] ?? null; + } + return parent::__get($attribute); + } +} diff --git a/crm-client-3.0.6/src/Enums/HttpMethods.php b/crm-client-3.0.6/src/Enums/HttpMethods.php new file mode 100644 index 0000000..c85e231 --- /dev/null +++ b/crm-client-3.0.6/src/Enums/HttpMethods.php @@ -0,0 +1,16 @@ + 'LOG_EMERG', + 'ALERT' => 'LOG_ALERT', + 'CRIT' => 'LOG_CRIT', + 'ERR' => 'LOG_ERR', + 'WARNING' => 'LOG_WARNING', + 'NOTICE' => 'LOG_NOTICE', + 'INFO' => 'LOG_INFO', + 'DEBUG' => 'LOG_DEBUG', + ]; + } +} diff --git a/crm-client-3.0.6/src/Enums/QuestionType.php b/crm-client-3.0.6/src/Enums/QuestionType.php new file mode 100644 index 0000000..7179181 --- /dev/null +++ b/crm-client-3.0.6/src/Enums/QuestionType.php @@ -0,0 +1,30 @@ + 1, + 'radio' => 2, + 'checkbox' => 3 + ]; + } +} diff --git a/crm-client-3.0.6/src/Exceptions/AccessError.php b/crm-client-3.0.6/src/Exceptions/AccessError.php new file mode 100644 index 0000000..dde3e25 --- /dev/null +++ b/crm-client-3.0.6/src/Exceptions/AccessError.php @@ -0,0 +1,25 @@ +$propertyName, it does not exists."); + } +} diff --git a/crm-client-3.0.6/src/Exceptions/ApiErrorException.php b/crm-client-3.0.6/src/Exceptions/ApiErrorException.php new file mode 100644 index 0000000..07c74ce --- /dev/null +++ b/crm-client-3.0.6/src/Exceptions/ApiErrorException.php @@ -0,0 +1,104 @@ +error = $error; + $this->message = $message; + $this->httpCode = $httpCode; + parent::__construct( + strlen($this->message) ? $this->message : $error->label, + $error->value, + $previous + ); + } + + /** + * Get the Api Error + * + * @return ApiError + */ + public function getApiError(): ApiError + { + return $this->error; + } + + /** + * Get the http code + * + * @return integer + */ + public function getStatusCode(): int + { + return $this->httpCode; + } + + /** + * This is used by laravel only. + * It uses Log class to print the error. + * + * @return void + */ + public function report() + { + // @codeCoverageIgnoreStart + Log::debug(sprintf('CRM API: %s', $this->getMessage())); + // @codeCoverageIgnoreEnd + } +} diff --git a/crm-client-3.0.6/src/Exceptions/CrmException.php b/crm-client-3.0.6/src/Exceptions/CrmException.php new file mode 100644 index 0000000..b6e9ed7 --- /dev/null +++ b/crm-client-3.0.6/src/Exceptions/CrmException.php @@ -0,0 +1,29 @@ +getMessage())); + } +} diff --git a/crm-client-3.0.6/src/Exceptions/SkipValidationException.php b/crm-client-3.0.6/src/Exceptions/SkipValidationException.php new file mode 100644 index 0000000..705b547 --- /dev/null +++ b/crm-client-3.0.6/src/Exceptions/SkipValidationException.php @@ -0,0 +1,15 @@ +getMessage())); + } +} diff --git a/crm-client-3.0.6/src/Exceptions/WpCrmInvalidJsonUserInfo.php b/crm-client-3.0.6/src/Exceptions/WpCrmInvalidJsonUserInfo.php new file mode 100644 index 0000000..21fca7a --- /dev/null +++ b/crm-client-3.0.6/src/Exceptions/WpCrmInvalidJsonUserInfo.php @@ -0,0 +1,27 @@ + + */ +class Answer extends CrmClientModel +{ + /** + * The question id + * + * Required + * Field Type bigInt + * + * @var integer + */ + private $id; + + /** + * The actual answer as a string + * + * Required + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $answer = null; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'id', 'answer' + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'id' => 'required|int', + 'answer' => 'required|string|max:255' + ]; + + /** + * Answer + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + // * PUBLIC METHODS + + /** + * Set unanswered question for a specific customer + * + * @param string $hashcode The customer hashcode. + * @param integer $questionId The question id. + * @param array $answersId An array with answers id. + * @return boolean true if succeeded + * + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a hashcode is not a valid UUID. + * @throws LDC\LDCCRM\Exceptions\ValidationException If any of the provided ids are invalid. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If given ids are wrong(CRM side). + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + */ + public static function setQuestionAnswers(string $hashcode, int $questionId, array $answersId): bool + { + self::assertValidHascode($hashcode); + self::assertValidPrimaryKey($questionId); + if (!count($answersId)) { + return true; + } + foreach ($answersId as $answerId) { + self::assertValidPrimaryKey($answerId); + } + static::setUpApiInterface(); + $request = Utils::getResquest( + 'apiV2.customers.answers.store', + [ + 'serviceCustomer' => $hashcode + ], + [ + 'question' => $questionId, + 'answers' => $answersId + ] + ); + + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'id' => $this->id, + 'answer' => $this->answer + ]; + } +} diff --git a/crm-client-3.0.6/src/Models/ArcadiaMailDefault.php b/crm-client-3.0.6/src/Models/ArcadiaMailDefault.php new file mode 100644 index 0000000..b127516 --- /dev/null +++ b/crm-client-3.0.6/src/Models/ArcadiaMailDefault.php @@ -0,0 +1,408 @@ + + */ +class ArcadiaMailDefault extends CrmClientModel +{ + /** + * An RFC Valid Email + * + * Validate: rfc,dns,spoof,filter + * + * Required + * Min length N/A + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $email = null; + + /** + * First name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $firstname = null; + + /** + * Last name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $lastname = null; + + /** + * The user phone + * + * Validate: sometimes,string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $phone = null; + + /** + * The user address (street number, name, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address = null; + + /** + * The user address 2nd part (street number, name, more, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address2 = null; + + /** + * The user address city + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $city = null; + + /** + * The user address postcode + * + * Validate: string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $postcode = null; + + /** + * The arcadia operation code + * + * Validate: int + * + * Required + * + * @var integer + */ + private $operation = null; + + /** + * The arcadia support code + * + * Validate: int + * + * Required + * + * @var integer + */ + private $support_code = null; + + /** + * The arcadia type support label + * + * Validate: string + * + * Required + * + * @var string + */ + private $label_type_support = null; + + /** + * The arcadia order date + * + * Validate: date + * + * Required + * + * @var string + */ + private $order_date = null; + + /** + * The arcadia order number + * + * Validate: numeric,digits:9 + * + * Required + * + * @var integer + */ + private $order_num = null; + + /** + * The arcadia state order + * + * Validate: in ArcadiaOrderType::toValues() + * + * Required + * + * @var integer + */ + private $state_order = null; + + /** + * The arcadia package unit weight + * + * Validate: integer + * + * Required + * + * @var integer + */ + private $package_unit_weight = null; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'email', 'firstname', + 'lastname', 'phone', 'address', + 'address2', 'city', 'postcode', + 'operation', 'support_code', 'label_type_support', + 'order_date', 'order_num', 'state_order', + 'package_unit_weight', + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'email' => 'required|email', + 'firstname' => 'required|string|min:2|max:255', + 'lastname' => 'required|string|min:2|max:255', + 'phone' => 'sometimes|string|min:10|max:255', + 'address' => 'sometimes|string|max:255', + 'address2' => 'sometimes|string|max:255', + 'city' => 'sometimes|string|max:255', + 'postcode' => 'sometimes|string|max:255', + 'operation' => 'required|int', + 'support_code' => 'required|int', + 'label_type_support' => 'required|string|min:2|max:255', + 'order_date' => 'required|date_format:Y/m/d H:i:s', + 'order_num' => 'required|int', + 'state_order' => ['required'], + 'package_unit_weight' => 'required|int' + ]; + + /** + * ArcadiaMailDefault + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed + */ + public function __get(string $field) + { + $props = \array_diff( + $this->modelFields, + $this->invisibleFields + ); + if (in_array($field, $props)) { + if ($field === 'state_order' and !\is_object($this->{$field})) { + return ArcadiaOrderType::make($this->{$field}); + } + } + return parent::__get($field); + } + + /** + * Set prop + * + * @param string $field + * @param mixed $value + * @return void + * @throws \TypeError If the field has an incorrect value. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + if ($field === 'state_order') { + $value = (\is_object($value) and + get_class($value) === ArcadiaOrderType::class) ? $value->value : $value; + } + parent::__set($field, $value); + } + + /** + * Fill data into this model + * using validation rules + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (isset($properties['state_order'])) { + try { + $properties['state_order'] = (\is_object($properties['state_order']) and + get_class($properties['state_order']) === ArcadiaOrderType::class) ? + $properties['state_order']->value : (ctype_digit($properties['state_order']) ? + (int)$properties['state_order'] : $properties['state_order']); + } catch (TypeError | \BadMethodCallException $e) { + // * Cast anyway + $properties['state_order'] = (int)$properties['state_order']; + } + } + parent::fill($properties); + } + + /** + * Validate all model properties + * + * @param array $ignore + * @return array the validated values + * @throws ValidationException If a field could not be validated. + */ + protected function validateAllValues(array $ignore = []): array + { + $out = []; + if (!\in_array('state_order', $ignore)) { + try { + $this->validateValue( + 'state_order', + ArcadiaOrderType::make(Utils::getRawProperty($this, 'state_order')) + ); + } catch (TypeError | \BadMethodCallException $e) { + // Use this to throw validation error. + $this->validateValue('state_order', Utils::getRawProperty($this, 'state_order')); + } + $out['state_order'] = Utils::getRawProperty($this, 'state_order'); + } + return array_merge($out, parent::validateAllValues(array_merge(['state_order'], $ignore))); + } + + // * PUBLIC METHODS + + /** + * Send The actual mail + * + * @return boolean true if succeeded + * @throws ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + */ + public function send(): bool + { + $this->validateAllValues(); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.arcadia.outgoingMailDefault', [], $this->jsonSerialize()); + $response = static::$apiInterface->call($request); + if ($status = $response->status->equals(ApiStatus::OK())) { + $this->updatedValues = []; + } + $this->isNew = !$status; + return $status; + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'deliver' => [ + 'email' => $this->email, + 'firstname' => $this->firstname, + 'lastname' => $this->lastname, + 'phone' => $this->phone, + 'address' => $this->address, + 'address2' => $this->address2, + 'city' => $this->city, + 'postcode' => $this->postcode, + ], + 'operation' => $this->operation, + 'support_code' => $this->support_code, + 'label_type_support' => $this->label_type_support, + 'order_date' => $this->order_date, + 'order_num' => $this->order_num, + 'state_order' => $this->state_order, + 'package_unit_weight' => $this->package_unit_weight + ]; + } +} diff --git a/crm-client-3.0.6/src/Models/ArcadiaMailGame.php b/crm-client-3.0.6/src/Models/ArcadiaMailGame.php new file mode 100644 index 0000000..7c84eca --- /dev/null +++ b/crm-client-3.0.6/src/Models/ArcadiaMailGame.php @@ -0,0 +1,350 @@ + + */ +class ArcadiaMailGame extends CrmClientModel +{ + /** + * An RFC Valid Email + * + * Validate: rfc,dns,spoof,filter + * + * Required + * Min length N/A + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $email = null; + + /** + * First name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $firstname = null; + + /** + * Last name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $lastname = null; + + /** + * The user phone + * + * Validate: sometimes,string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $phone = null; + + /** + * The user address (street number, name, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address = null; + + /** + * The user address 2nd part (street number, name, more, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address2 = null; + + /** + * The user address city + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $city = null; + + /** + * The user address postcode + * + * Validate: string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $postcode = null; + + /** + * The arcadia operation code + * + * Validate: int + * + * Required + * + * @var integer + */ + private $operation = null; + + /** + * The arcadia support code + * + * Validate: int + * + * Required + * + * @var integer + */ + private $support_code = null; + + /** + * The arcadia type support label + * + * Validate: string + * + * Required + * + * @var string + */ + private $label_type_support = null; + + /** + * The arcadia order date + * + * Validate: date + * + * Required + * + * @var string + */ + private $order_date = null; + + /** + * The arcadia code unique + * + * Validate: string + * + * Required + * + * @var string + */ + private $code_unique = null; + + /** + * The arcadia code on pack + * + * Validate: sometimes + * + * Required + * + * @var string + */ + private $code_on_pack = null; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'email', 'firstname', + 'lastname', 'phone', 'address', + 'address2', 'city', 'postcode', + 'operation', 'support_code', 'label_type_support', + 'order_date', 'code_unique', 'code_on_pack' + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'email' => 'required|email', + 'firstname' => 'required|string|min:2|max:255', + 'lastname' => 'required|string|min:2|max:255', + 'phone' => 'sometimes|string|min:10|max:255', + 'address' => 'sometimes|string|max:255', + 'address2' => 'sometimes|string|max:255', + 'city' => 'sometimes|string|max:255', + 'postcode' => 'sometimes|string|max:255', + 'operation' => 'required|int', + 'support_code' => 'required|int', + 'label_type_support' => 'required|string|min:2|max:255', + 'order_date' => 'required|date_format:Y/m/d H:i:s', + 'code_unique' => 'required|string', + 'code_on_pack' => 'sometimes|string' + ]; + + /** + * ArcadiaMailGame + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + /** + * Set prop + * + * @param string $field + * @param mixed $value + * @return void + * @throws \TypeError If the field has an incorrect value. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + if ($field === 'state_order') { + $value = (\is_object($value) and + get_class($value) === ArcadiaOrderType::class) ? $value->value : $value; + } + parent::__set($field, $value); + } + + /** + * Fill data into this model + * using validation rules + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (isset($properties['state_order'])) { + try { + $properties['state_order'] = (\is_object($properties['state_order']) and + get_class($properties['state_order']) === ArcadiaOrderType::class) ? + $properties['state_order']->value : (ctype_digit($properties['state_order']) ? + (int)$properties['state_order'] : $properties['state_order']); + } catch (TypeError | \BadMethodCallException $e) { + // * Cast anyway + $properties['state_order'] = (int)$properties['state_order']; + } + } + parent::fill($properties); + } + + // * PUBLIC METHODS + + /** + * Send The actual mail + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + */ + public function send(): bool + { + $this->validateAllValues(); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.arcadia.outgoingMailGame', [], $this->jsonSerialize()); + $response = static::$apiInterface->call($request); + if ($status = $response->status->equals(ApiStatus::OK())) { + $this->updatedValues = []; + } + $this->isNew = !$status; + return $status; + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'deliver' => [ + 'email' => $this->email, + 'firstname' => $this->firstname, + 'lastname' => $this->lastname, + 'phone' => $this->phone, + 'address' => $this->address, + 'address2' => $this->address2, + 'city' => $this->city, + 'postcode' => $this->postcode, + ], + 'operation' => $this->operation, + 'support_code' => $this->support_code, + 'label_type_support' => $this->label_type_support, + 'order_date' => $this->order_date, + 'code_unique' => $this->code_unique, + 'code_on_pack' => $this->code_on_pack + ]; + } +} diff --git a/crm-client-3.0.6/src/Models/CrmClientModel.php b/crm-client-3.0.6/src/Models/CrmClientModel.php new file mode 100644 index 0000000..866cb82 --- /dev/null +++ b/crm-client-3.0.6/src/Models/CrmClientModel.php @@ -0,0 +1,350 @@ + + */ +abstract class CrmClientModel implements JsonSerializable +{ + /** + * Is true if this model was not filled from crm + * + * @var boolean + */ + protected $isNew = true; + + /** + * The Api object that will handle requests and responses + * + * @var \LDC\LDCCRM\Transport\ApiInterface + */ + protected static $apiInterface; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = []; + + /** + * Model fields + * + * @var array + */ + protected $modelFields = []; + + /** + * The crm fields + * that should not be visible + * + * @var array + */ + protected $invisibleFields = []; + + /** + * Model updated values + * + * @var array + */ + protected $updatedValues = []; + + /** + * CrmClientModel + */ + public function __construct() + { + self::setUpApiInterface(); + return $this; + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed|null Returns null if the property was not found any way. + */ + public function __get(string $field) + { + $props = \array_diff( + $this->modelFields, + $this->invisibleFields + ); + if (in_array($field, $props)) { + return Utils::getRawProperty($this, $field); + } + return null; + } + + /** + * Set prop on the model. + * + * @param string $field + * @param mixed $value + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + try { + if (in_array($field, $this->modelFields)) { + $type = $this->getPropType($field); + if (!is_null($value) and !$this->checkFieldType($type, $value)) { + throw new ValidationException("Wrong type for $field"); + } + $this->validateValue($field, $value); + $this->updatedValues[$field] = $value; + Utils::setRawProperty($this, $field, $value); + return; + } + // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedCatch + } catch (\ReflectionException $e) { + // Do nothing. + } + throw new AccessError(\get_class($this), $field); + } + + /** + * Create the Api interface + * + * @return void + */ + protected static function setUpApiInterface() + { + self::$apiInterface = self::$apiInterface ?: new ApiInterface(); + } + + /** + * Fill values into model using validation rules. + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (count($properties)) { + foreach ($properties as $field => $value) { + try { + $type = $this->getPropType($field); + // * Force boolean + if ($type === 'bool') { + $value = (\is_int($value) and ($value === 1 or $value === 0)) ? (bool)$value : $value; + } + if (!is_null($value) and !$this->checkFieldType($type, $value)) { + throw new ValidationException("Wrong type for $field"); + } + $this->validateValue($field, $value); + $this->updatedValues[$field] = $value; + Utils::setRawProperty($this, $field, $value); + } catch (AccessError | \ReflectionException $e) { + Utils::log(\sprintf( + '%s::fill : unknown property access for %s, it does not exist on object.', + \get_class($this), + $field + ), LogLevel::DEBUG()); + continue; + } + } //end foreach + }//end if + } + + /** + * Set all properties to without any validation + * + * @param array $properties + * @return void + */ + protected function fillRaw(array $properties) + { + if (count($properties)) { + foreach ($properties as $field => $value) { + try { + Utils::setRawProperty($this, $field, $value); + } catch (AccessError $e) { + Utils::log(\sprintf( + '%s::fillRaw : unknown property access for %s, it does not exist on object.', + \get_class($this), + $field + ), LogLevel::DEBUG()); + continue; + } + } + } + } + + /** + * Validate all model properties + * + * * All properties are nullable + * + * @param array $ignore + * @return array the validated values + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + protected function validateAllValues(array $ignore = []): array + { + $out = []; + foreach (static::$validation as $field => $validationRules) { + if (\in_array($field, $ignore) or \is_null(Utils::getRawProperty($this, $field))) { + continue; + } + $this->validateValue($field, Utils::getRawProperty($this, $field)); + $out[$field] = Utils::getRawProperty($this, $field); + } + return $out; + } + + /** + * Validate a value against its rules + * + * @param string $field + * @param mixed $value + * @return boolean + * @throws \ErrorException If a field has no validation rule. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + protected static function validateValue(string $field, $value): bool + { + if (!isset(static::$validation[$field])) { + throw new \ErrorException("$field has no validation rule"); + } + $validator = Utils::makeValidator( + [$field => $value], + [$field => static::$validation[$field]] + ); + /** @throws \LDC\LDCCRM\Exceptions\ValidationException */ + $validator(); + return true; + } + + /** + * Check a value against its field type + * + * @param string $type + * @param mixed $value + * @return boolean Return true if $type matches $value type. + * @throws \ErrorException If type is not handled, + * handled types are boolean, string, integer, \LDC\LDCCRM\Enums\Country, \LDC\LDCCRM\Enums\ArcadiaOrderType . + * @phpcs:ignore Generic.Files.LineLength.TooLong + */ + protected function checkFieldType(string $type, $value): bool + { + /** + * Checks if the value is valid for a specific enum class + * @param string $className + * @param mixed $value + * @return boolean + */ + $checkValueIsEnum = function (string $className, $value) { + try { + $value = \is_int($value) ? $className::make($value) : $value; + } finally { + return \is_object($value) and (get_class($value) === $className or + \in_array($className, \class_parents($value))); + } + }; + + switch ($type) { + case '\\' . Country::class: + case '\\' . QuestionType::class: + case '\\' . ArcadiaOrderType::class: + return $checkValueIsEnum(\ltrim($type, '\\'), $value); + case 'boolean': + return \is_bool(\is_int($value) ? (bool)$value : $value); + case 'array': + return \is_array($value); + case 'string': + return \is_string($value); + case 'integer': + return \is_int($value); + } + throw new \ErrorException(\sprintf("Unhandled $type for %s", \json_encode($value))); + } + + /** + * Get the type of any of this class property + * from doc comment + * + * @param string $property + * @return string|null the type or null if not defined + * @throws \ErrorException If the property has no comment to read. + * @throws \ErrorException If a type for a property could ne be recognized. + * @throws \ReflectionException If the class or property does not exist. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + protected function getPropType(string $property) + { + $matches = []; + $propReflection = new \ReflectionProperty(static::class, $property); + $docComment = $propReflection->getDocComment(); + if (!$docComment) { + throw new \ErrorException(\sprintf("%s $property has not comment to parse.", \get_class($this))); + } + preg_match_all('/@var ([\w_\x5c]+)/', $docComment, $matches); + if ( + isset($matches[1][0]) and \in_array($matches[1][0], [ + 'string', 'integer', 'boolean', 'array', '\\' . Country::class, '\\' . ArcadiaOrderType::class, + '\\' . QuestionType::class + ], true) + ) { + return $matches[1][0]; + } + throw new \ErrorException("Unknown type for property $property"); + } + + /** + * Assert primaryKey is valid. + * + * @param mixed $primaryKey + * @return void + * @throws LDC\LDCCRM\Exceptions\ValidationException If a primary key is not a valid integer. + */ + protected static function assertValidPrimaryKey($primaryKey): void + { + $validator = Utils::makeValidator( + ['id' => $primaryKey], + ['id' => 'required|int'] + ); + if ($validator()) { + throw new ValidationException(implode(' ', $validator->errors()->get('id'))); + } + } + + /** + * Assert hashcode is valid. + * + * @param mixed $hashcode + * @return void + * @throws LDC\LDCCRM\Exceptions\ValidationException If a hashcode is not a valid UUID. + */ + protected static function assertValidHascode($hashcode): void + { + $validator = Utils::makeValidator( + ['hashcode' => $hashcode], + ['hashcode' => 'required|uuid'] + ); + if ($validator()) { + throw new ValidationException(implode(' ', $validator->errors()->get('hashcode'))); + } + } +} diff --git a/crm-client-3.0.6/src/Models/Customer.php b/crm-client-3.0.6/src/Models/Customer.php new file mode 100644 index 0000000..3d715f4 --- /dev/null +++ b/crm-client-3.0.6/src/Models/Customer.php @@ -0,0 +1,624 @@ + + */ +class Customer extends CrmClientModel +{ + /** + * The user hashcode, this is link with the customer and the brand it is related to + * It is used to identify the customer itself. + * + * Validate: UUID, in customer_infos + * + * Required + * Min length 36 + * Max length 36 + * Field Type varchar + * + * @var string + */ + private $hashcode; + + /** + * An RFC Valid Email + * + * Validate: rfc,dns,spoof,filter + * + * Required + * Min length N/A + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $email = null; + + /** + * The user password + * This is set only when creating a user + * Otherwise it has to be set to null + * + * Validate: case_diff,numbers,letters,symbols,min:8 + * + * Min length 8 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $password = null; + + /** + * First name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $firstname = null; + + /** + * Last name + * + * Required + * Min length 2 + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $lastname = null; + + /** + * Birth date + * + * Validate: date_format:Y-m-d + * + * Required + * Field Type Date + * @var string + */ + private $birth_date = null; + + /** + * The user phone + * + * Validate: sometimes,string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $phone = null; + + /** + * The user address (street number, name, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address = null; + + /** + * The user address 2nd part (street number, name, more, etc) + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $address2 = null; + + /** + * The user address city + * + * Validate: sometimes,string + * + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $city = null; + + /** + * The user address postcode + * + * Validate: string + * + * Required + * Min length NA + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $postcode = null; + + /** + * The user address postcode + * + * Validate: sometimes, in Country::toValues() + * + * Required + * Field Type tinyInt + * + * @var \LDC\LDCCRM\Enums\Country + */ + private $country = null; + + /** + * The user optin choice + * + * Validate: boolean + * + * Required + * Field Type TinyInt + * + * @var boolean + */ + private $opt_in = false; + + /** + * Is the account activated ? + * + * This field is read only + * + * @var boolean + */ + private $status = false; + + /** + * The last time the account was connected + * + * This field is read only + * + * @var string + */ + private $last_connection = null; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'hashcode', 'email', 'firstname', 'password', + 'lastname', 'birth_date', 'phone', 'address', + 'address2', 'city', 'postcode', 'country', + 'opt_in', 'status', 'last_connection' + ]; + + /** + * The crm customer fields + * the should not be visible + * + * @var array + */ + protected $invisibleFields = [ + 'password' + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'hashcode' => 'required|uuid', + 'email' => 'required|email', + 'firstname' => 'required|string|min:1|max:255', + 'lastname' => 'required|string|min:1|max:255', + 'password' => 'required|min:8|max:255|mixedCase|containDigit|containSymbol', + 'birth_date' => 'required|date_format:Y-m-d', + 'phone' => 'sometimes|nullable|string|max:255', + 'address' => 'sometimes|string|max:255', + 'address2' => 'sometimes|string|max:255', + 'city' => 'sometimes|string|min:2|max:255', + 'postcode' => 'sometimes|string|max:255', + 'country' => ['sometimes'], + 'opt_in' => 'required|bool', + 'status' => 'required|bool', + 'last_connection' => 'sometimes|date' + ]; + + /** + * Customer + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed|null Returns null if the property was not found any way. + */ + public function __get(string $field) + { + $props = \array_diff( + $this->modelFields, + $this->invisibleFields + ); + if (in_array($field, $props)) { + if ($field === 'country' and !\is_object($this->{$field})) { + return Country::make($this->{$field}); + } + } + return parent::__get($field); + } + + /** + * Set prop on the model. + * + * @param string $field + * @param mixed $value + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + if ($field === 'country') { + $value = (\is_object($value) and + get_class($value) === Country::class) ? $value->value : $value; + } + parent::__set($field, $value); + } + + /** + * Fill values into model using validation rules. + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (isset($properties['country'])) { + try { + $properties['country'] = (\is_object($properties['country']) and + get_class($properties['country']) === Country::class) ? + $properties['country']->value : (ctype_digit($properties['country']) ? + (int)$properties['country'] : $properties['country']); + } catch (TypeError | \BadMethodCallException $e) { + // * Cast anyway + $properties['country'] = (int)$properties['country']; + } + } + parent::fill($properties); + } + + /** + * Validate all model properties + * + * @param array $ignore + * @return array the validated values + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + protected function validateAllValues(array $ignore = []): array + { + $out = []; + if (!\in_array('country', $ignore)) { + try { + $this->validateValue('country', Country::make(Utils::getRawProperty($this, 'country'))); + } catch (\TypeError | \BadMethodCallException $e) { + // Use this to throw validation error. + $this->validateValue('country', Utils::getRawProperty($this, 'country')); + } + $out['country'] = Utils::getRawProperty($this, 'country'); + } + return array_merge($out, parent::validateAllValues(array_merge(['country'], $ignore))); + } + + // * PUBLIC METHODS + + /** + * Find a customer using its hashcode in the crm + * + * @param string $hashcode + * @return self|null Return null if the customer was not found + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function find(string $hashcode): ?self + { + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.show', [ + 'serviceCustomer' => $hashcode + ]); + $customer = null; + try { + $response = static::$apiInterface->call($request); + $customer = new self(); + // ! Use fillRaw here because we cant validate comming + // ! from CRM since it has crappy data comming from the old crm (jellix). + $customer->fillRaw($response->data); + Utils::setRawProperty($customer, 'isNew', false); + } catch (ApiErrorException $e) { + if (!$e->getApiError()->equals(ApiError::modelNotFound())) { + throw $e; + } + } + return $customer; + } + + /** + * Find a customer using its email in the crm + * This is an alias of Customer::find() + * + * @param string $email + * @return self|null + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function findWithEmail(string $email): ?self + { + return static::find($email); + } + + /** + * Save the customer on CRM. + * + * @return boolean True if save was successfull. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * - modelNotFound, If this customer hashcode could not be found (new customers only). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function save(): bool + { + $saved = false; + if ($this->isNew) { + $saved = $this->store(); + $this->isNew = !$saved; + $this->updatedValues = []; + if ($saved) { + Utils::setRawProperty($this, 'password', null); + } + return $saved; + } else { + if (empty($this->updatedValues)) { + return true; + } + if ($saved = $this->update()) { + $this->updatedValues = []; + Utils::setRawProperty($this, 'password', null); + } + } + return $saved; + } + + /** + * Calls api store customer method + * + * @return boolean True if save was successfull. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + private function store(): bool + { + $data = $this->validateAllValues(['hashcode', 'last_connection', 'status']); + $data['password'] = $this->password; + + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.store', [], $data); + + $response = static::$apiInterface->call($request); + if ($status = $response->status->equals(ApiStatus::OK())) { + $this->updatedValues = []; + $this->fill($response->data); + } + return $status; + } + + /** + * Calls api update customer method + * + * @return boolean True if save was successfull. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + private function update(): bool + { + $this->validateValue('hashcode', $this->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.update', [ + 'serviceCustomer' => $this->hashcode + ], $this->updatedValues); + + $response = static::$apiInterface->call($request); + if ($status = $response->status->equals(ApiStatus::OK())) { + $this->updatedValues = []; + $this->fill($response->data); + } + return $status; + } + + /** + * Removes the customer from CRM. + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function delete(): bool + { + $this->validateValue('hashcode', $this->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.destroy', [ + 'serviceCustomer' => $this->hashcode + ]); + + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Active the customer on CRM. + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * - customerAlreadyActive, It the customer is already activated. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function activate(): bool + { + $this->validateValue('hashcode', $this->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.activate', [ + 'serviceCustomer' => $this->hashcode + ]); + + $response = static::$apiInterface->call($request); + $this->__set('status', true); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Toggle the account optin value in the crm + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function toggleOptin(): bool + { + $this->__set('opt_in', !$this->opt_in); + return $this->update(); + } + + /** + * Test customer credentials + * + * @param string $email + * @param string $password + * @return boolean + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's email could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - authFailed, If credentials are not valid. + * - customerNotActivated, If the account is not activated. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function login(string $email, string $password): bool + { + self::validateValue('email', $email); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.customers.authenticate', [], [ + 'email' => $email, + 'password' => $password + ]); + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'hashcode' => $this->hashcode, + 'email' => $this->email, + 'firstname' => $this->firstname, + 'lastname' => $this->lastname, + 'birth_date' => $this->birth_date, + 'phone' => $this->phone, + 'address' => $this->address, + 'address2' => $this->address2, + 'city' => $this->city, + 'postcode' => $this->postcode, + 'country' => $this->country, + 'opt_in' => $this->opt_in, + 'status' => $this->status, + 'last_connection' => $this->last_connection + ]; + } +} diff --git a/crm-client-3.0.6/src/Models/Question.php b/crm-client-3.0.6/src/Models/Question.php new file mode 100644 index 0000000..1f491ee --- /dev/null +++ b/crm-client-3.0.6/src/Models/Question.php @@ -0,0 +1,308 @@ + + */ +class Question extends CrmClientModel +{ + /** + * The question id + * + * Required + * Field Type bigInt + * + * @var integer + */ + private $id; + + /** + * The actual question as a string + * + * Required + * Max length 255 + * Field Type varchar + * + * @var string + */ + private $question = null; + + /** + * The question type + * + * Validate: in QuestionType::toValues() + * + * Required + * Field Type tinyInteger + * + * @var \LDC\LDCCRM\Enums\QuestionType + */ + private $type = null; + + /** + * The question answers + * + * \LDC\LDCCRM\Models\Answer + * + * @var array + */ + private $answers = []; + + /** + * The crm customer fields + * + * @var array + */ + protected $modelFields = [ + 'id', 'question', 'type', 'answers' + ]; + + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'id' => 'required|int', + 'question' => 'required|string|max:255', + 'type' => ['required'], + 'answers' => 'required|array' + ]; + + /** + * Question + * + * @param array $properties + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function __construct(array $properties = []) + { + parent::__construct(); + $this->fill($properties); + return $this; + } + + /** + * General accessor + * + * @param string $field + * @return mixed + */ + public function __get(string $field) + { + $props = \array_diff( + $this->modelFields, + $this->invisibleFields + ); + if (in_array($field, $props)) { + if ($field === 'type' and !\is_object($this->{$field})) { + return QuestionType::make($this->{$field}); + } + } + return parent::__get($field); + } + + /** + * Set prop on the model. + * + * @param string $field + * @param mixed $value + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + * @throws \LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public function __set(string $field, $value): void + { + if ($field === 'type') { + $value = (\is_object($value) and + get_class($value) === QuestionType::class) ? $value->value : $value; + } + parent::__set($field, $value); + } + + /** + * Fill values into model using validation rules. + * + * @param array $properties + * @return void + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + public function fill(array $properties) + { + if (isset($properties['type'])) { + try { + $properties['type'] = (\is_object($properties['type']) and + get_class($properties['type']) === QuestionType::class) ? + $properties['type']->value : (ctype_digit($properties['type']) ? + (int)$properties['type'] : $properties['type']); + } catch (TypeError | \BadMethodCallException $e) { + // * Cast anyway + $properties['type'] = (int)$properties['type']; + } + } + parent::fill($properties); + } + + /** + * Validate all model properties + * + * @param array $ignore + * @return array the validated values + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field could not be validated. + */ + protected function validateAllValues(array $ignore = []): array + { + $out = []; + if (!\in_array('type', $ignore)) { + try { + $this->validateValue('type', QuestionType::make(Utils::getRawProperty($this, 'type'))); + } catch (TypeError | \BadMethodCallException $e) { + // Use this to throw validation error. + $this->validateValue('type', Utils::getRawProperty($this, 'type')); + } + $out['type'] = Utils::getRawProperty($this, 'type'); + } + return array_merge($out, parent::validateAllValues(array_merge(['type'], $ignore))); + } + + // * PUBLIC METHODS + + /** + * Get all questions only + * + * @return array of \LDC\LDCCRM\Models\Question + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function all(): array + { + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.questions.index'); + + $response = static::$apiInterface->call($request); + $out = []; + foreach ($response->data as $question) { + $answers = \array_map(function ($answer) { + return new Answer($answer); + }, $question['answers']); + $question['answers'] = $answers; + $out[] = new self($question); + } + return $out; + } + + /** + * Get all the questions with customer answers + * + * @param \LDC\LDCCRM\Models\Customer $customer + * @return array + * + * [ + * 0 => [ + * 'question' => \LDC\LDCCRM\Models\Question, + * 'customerAnswers' => \LDC\LDCCRM\Models\Answer[] + * ] + * ] + * + * with \LDC\LDCCRM\Models\Question[] + * and the customer \LDC\LDCCRM\Models\Answer[] + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If the customer could not be found(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function allWithCustomerAnswers(Customer $customer): array + { + self::assertValidHascode($customer->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.questions.indexWithResponse', [ + 'serviceCustomer' => $customer->hashcode + ]); + + $response = static::$apiInterface->call($request); + $out = []; + foreach ($response->data as $question) { + $answers = \array_map(function ($answer) { + return new Answer($answer); + }, $question['answers']); + $customerAnswers = \array_map(function ($answer) { + return new Answer($answer); + }, $question['customerAnswers']); + unset($question['customerAnswers']); + $question['answers'] = $answers; + $out[] = [ + 'question' => new self($question), + 'customerAnswers' => $customerAnswers, + ]; + } + return $out; + } + + /** + * Get unanswered question for a specific customer + * + * @param \LDC\LDCCRM\Models\Customer $customer + * @return array of \LDC\LDCCRM\Models\Question + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If the customer could not be found(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function unansweredBy(Customer $customer): array + { + self::assertValidHascode($customer->hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest( + 'apiV2.questions.unAnsweredBy', + ['serviceCustomer' => $customer->hashcode] + ); + + $response = static::$apiInterface->call($request); + $out = []; + foreach ($response->data as $question) { + $answers = \array_map(function ($answer) { + return new Answer($answer); + }, $question['answers']); + $question['answers'] = $answers; + $out[] = new self($question); + } + return $out; + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'id' => $this->id, + 'question' => $this->question, + 'type' => $this->type, + 'answers' => $this->answers + ]; + } +} diff --git a/crm-client-3.0.6/src/Models/SingleOptin.php b/crm-client-3.0.6/src/Models/SingleOptin.php new file mode 100644 index 0000000..02c3fdc --- /dev/null +++ b/crm-client-3.0.6/src/Models/SingleOptin.php @@ -0,0 +1,74 @@ + + */ +abstract class SingleOptin extends CrmClientModel +{ + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'email' => 'required|email', + 'hashcode' => 'required|string|size:36', + 'opt_in' => 'required|bool', + ]; + + /** + * Set the single opt in status for an email + * + * @param string $email + * @param boolean $opt_in + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field email could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - singleOptinCustomerExists, If a customer exists with this email. + */ + public static function setStatus(string $email, bool $opt_in): bool + { + self::validateValue('email', $email); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.optin', [], [ + 'email' => $email, + 'opt_in' => $opt_in + ]); + + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } + + /** + * Unset the single opt in for a hashcode (unsubscribe) + * + * @param string $hashcode + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - singleOptinCustomerExists, If a customer exists with this email. + */ + public static function unsetStatusWithHashcode(string $hashcode): bool + { + self::validateValue('hashcode', $hashcode); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.optout-hashcode', [], [ + 'hashcode' => $hashcode + ]); + + $response = static::$apiInterface->call($request); + return $response->status->equals(ApiStatus::OK()); + } +} diff --git a/crm-client-3.0.6/src/Models/Stats.php b/crm-client-3.0.6/src/Models/Stats.php new file mode 100644 index 0000000..4bc27e1 --- /dev/null +++ b/crm-client-3.0.6/src/Models/Stats.php @@ -0,0 +1,87 @@ + + */ +abstract class Stats extends CrmClientModel +{ + /** + * Validation rules + * + * @var array + */ + protected static $validation = [ + 'question.id' => 'required|int|min:1', + 'start' => 'required|date_format:Y-m-d', + 'end' => 'required|date_format:Y-m-d' + ]; + + /** + * Get brand stats ordered by ascendent days + * + * @param string $start Une date valide au format Y-m-d . + * @param string $end Une date valide au format Y-m-d . + * @return array The stats array by day + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field start could not be validated. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field end could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function getBrandStats(string $start, string $end): array + { + self::validateValue('start', $start); + self::validateValue('end', $end); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.stats.brandStats', [], [ + 'start' => $start, + 'end' => $end + ]); + $response = static::$apiInterface->call($request); + return $response->data['stats']; + } + + /** + * Get brand stats ordered by ascendent days + * + * @param \LDC\LDCCRM\Models\Question $question Une question CRM possèdant un id réel. + * @param string $start Une date valide au format Y-m-d . + * @param string $end Une date valide au format Y-m-d . + * @return array The stats array by day + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a question's id could not be validated. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field start could not be validated. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field end could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function getQuestionStats(Question $question, string $start, string $end): array + { + self::validateValue('question.id', $question->id); + self::validateValue('start', $start); + self::validateValue('end', $end); + static::setUpApiInterface(); + $request = Utils::getResquest('apiV2.stats.questionStats', [ + 'serviceQuestion' => $question->id, + ], [ + 'start' => $start, + 'end' => $end + ]); + $response = static::$apiInterface->call($request); + return $response->data; + } +} diff --git a/crm-client-3.0.6/src/Transport/ApiInterface.php b/crm-client-3.0.6/src/Transport/ApiInterface.php new file mode 100644 index 0000000..4041da9 --- /dev/null +++ b/crm-client-3.0.6/src/Transport/ApiInterface.php @@ -0,0 +1,239 @@ +processRequest($request); + + // * Handle response Status. + if ($response->status->equals(ApiStatus::KO())) { + if (\is_int($response->apiError)) { + throw new CrmException($response->message, $response->apiError); + } else { + throw new ApiErrorException($response->apiError, $response->httpCode, $response->message); + } + } + return $response; + } + + /** + * Process request + * + * @param Request $request + * @return \LDC\LDCCRM\Transport\Response + */ + private function processRequest(Request $request): Response + { + $this->setCredentials($request); + $this->setHeaders($request); + $this->setTimestamp($request); + $request->setEndpoint(self::$endpoint); + $request->addData([ + 'signature' => $this->calulateSignature($request) + ]); + + /** @var \Psr\Http\Message\ResponseInterface $response */ + $response = $request->call(); + $status = in_array($response->getStatusCode(), [200, 201]) ? + ApiStatus::OK() : ApiStatus::KO(); + + return new Response($status, $response); + } + + /** + * Add spécific headers to he request + * + * @param \LDC\LDCCRM\Transport\Request $request + * @return void + */ + private function setHeaders(Request &$request): void + { + $headers = [ + 'User-Agent' => sprintf('LDC CRM client version %s', Utils::getPackageInfo()['version']), + 'Accept' => 'application/json', + 'Content-Type' => 'application/json' + ]; + $request->addHeaders($headers); + } + + /** + * Inject bearer credentials into the request + * + * @param \LDC\LDCCRM\Transport\Request $request + * @return void + */ + protected function setCredentials(Request $request) + { + if (self::$authentification) { + $request->addHeaders([ + 'Authorization' => implode(',', [ + sprintf('Basic %s', self::$authentification) + ]) + ]); + } + $request->addData(['bearer_token' => self::$bearerToken]); + } + + /** + * Add a timestamp (UTC) to the request + * + * @param Request $request + * @return void + */ + protected function setTimestamp(Request $request): void + { + $request->addData([ + // ! UTC date time. + 'timestamp' => \gmdate('Y-m-d H:i:s') + ]); + } + + /** + * Calculates request signature + * + * @param Request $request + * @return string + * @throws \LDC\LDCCRM\Exceptions\CrmException In case of failure. + */ + protected function calulateSignature(Request $request): string + { + $uri = \parse_url(sprintf('%s/%s', self::$endpoint, $request->uri)); + $method = \strtolower($request->method->value); + $parameters = $request->data; + + $signature = [ + 'uri' => sprintf( + '%s://%s%s', + // Assume https if non provided, security first. + $uri['scheme'] ?? 'https', + $uri['host'], + $uri['path'] ?? '', + ), + 'method' => $method + ]; + + $flattenRequestArray = function (array $array) use (&$flattenRequestArray) { + $out = []; + foreach ($array as $key => $value) { + if (is_array($value)) { + $subArray = $flattenRequestArray($value); + foreach ($subArray as $subKey => $subValue) { + $out["$key.$subKey"] = $subValue; + } + continue; + } + $out[$key] = $value; + } + return $out; + }; + + $parameters = $flattenRequestArray($parameters); + + // ! Natural sort by keys. + if (!uksort($parameters, "strnatcmp")) { + throw new CrmException('Natural sorting the request parameters failed.'); + } + + $parameters = \array_map(function ($key, $value) { + return sprintf('%s=%s', \rawurlencode($key), \rawurlencode($value)); + }, \array_keys($parameters), $parameters); + + $signature[] = \implode('&', $parameters); + + return base64_encode(hash_hmac( + 'sha256', + \implode('\n', $signature), + self::$bearerPwd, + true + )); + } +} diff --git a/crm-client-3.0.6/src/Transport/Request.php b/crm-client-3.0.6/src/Transport/Request.php new file mode 100644 index 0000000..f89869d --- /dev/null +++ b/crm-client-3.0.6/src/Transport/Request.php @@ -0,0 +1,210 @@ +hidden = function () { + return []; + }; + $this->method = $method; + $this->uri = $uri; + $this->data = $data; + $this->headers = $headers; + $this->client = new Client([ + RequestOptions::HEADERS => [ + 'User-Agent' => sprintf( + 'LDC CRM Client v%s', + Utils::getPackageInfo()['version'] + ) + ] + ]); + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed|null + */ + public function __get(string $field) + { + if (\in_array($field, ['method', 'uri', 'data'])) { + return $this->{$field}; + } + return null; + } + + /** + * make the guzzle request + * + * @return void + */ + private function makeRequest(): void + { + $this->request = function () { + $uri = $this->uri; + // * If query merge query and data, set data to empty. + if ($this->method->equals(HttpMethods::get())) { + // * Merge query in url with Data + $q = \parse_url($uri, \PHP_URL_QUERY) ?? ''; + $q = \strpos($q, '&') !== false ? explode('&', $q) : []; + $query = []; + foreach ($q as $qParam) { + $qParam = explode('=', $qParam, 2); + + $query[$qParam[0]] = $qParam[1]; + } + // * Remove query part. + $uri = strtok($uri, '?'); + // * Append build query + $uri = sprintf("%s?%s", $uri, http_build_query(array_merge($query, $this->data))); + + $this->data = []; + } + $request = new Psr7Request( + \strtoupper($this->method), + sprintf('%s/%s', $this->endpoint, $uri), + $this->headers + ); + $request = Psr7Utils::modifyRequest($request, [ + 'body' => GuzzleHttpUtils::jsonEncode($this->data) + ]); + return $request; + }; + } + + /** + * Set the api endpoint to the request + * + * @param string $endpoint + * @return void + */ + public function setEndpoint(string $endpoint): void + { + $this->endpoint = $endpoint; + } + + /** + * Make the Http request + * + * @return ResponseInterface + */ + public function call(): ResponseInterface + { + $this->makeRequest(); + /** @var \GuzzleHttp\Psr7\Request */ + $request = ($this->request)(); + return $this->client->send($request, [ + // ! Do not throw HTTP Exceptions. + 'http_errors' => false, + 'allow_redirects' => false + ]); + } + + /** + * Add headers to the request + * + * @param array $headers + * @return void + */ + public function addHeaders(array $headers) + { + $this->headers = \array_merge($this->headers, $headers); + } + + /** + * Add data to the request + * + * @param array $data + * @return void + */ + public function addData(array $data) + { + $this->data = \array_merge($this->data, $data); + } +} diff --git a/crm-client-3.0.6/src/Transport/Response.php b/crm-client-3.0.6/src/Transport/Response.php new file mode 100644 index 0000000..613b6dd --- /dev/null +++ b/crm-client-3.0.6/src/Transport/Response.php @@ -0,0 +1,201 @@ +response = $response; + $this->status = $status; + $this->httpCode = $response->getStatusCode(); + $this->headers = $response->getHeaders(); + /** @var \GuzzleHttp\Psr7\Stream */ + $this->body = $response->getBody(); + + if (!in_array($response->getStatusCode(), [200, 201])) { + $this->message = $response->getReasonPhrase(); + } + + // * Body should be json data. + if (($decodedJson = $this->tryDecodeJson($this->body->getContents())) === false) { + if (Utils::getConfig('app.env') === 'testing') { + dump((string)$this->body); + } + throw new CrmException('The Api should have returned JSON data'); + } + $this->body = $decodedJson; + + // * If Api Error. + if ($this->status->equals(ApiStatus::KO())) { + // * If CRM Exception or Any Exception. + if ($this->httpCode === 500) { + $this->apiError = $this->body['data']['code']; + } else { + // * From here it should be an ApiErrorException. + $this->apiError = ApiError::make($this->body['data']['code']); + $this->message = $this->body['data']['message']; + if ($this->apiError->equals(ApiError::validationFailed())) { + $errors = new RecursiveIteratorIterator( + new RecursiveArrayIterator($this->body['data']['errors']) + ); + foreach ($errors as $error) { + $this->message = "$this->message $error"; + } + } + } + } + + $this->checkVersion($this->body['version']); + + return $this; + } + + /** + * Generic accessor + * + * @param string $field + * @return mixed|null + */ + public function __get(string $field) + { + if ( + \in_array($field, [ + 'status', 'httpCode', 'headers', + 'body', 'message', 'response', 'apiError' + ]) + ) { + return $this->{$field}; + } + if ($field === 'data' and isset($this->body[$field])) { + return $this->body[$field]; + } + return null; + } + + /** + * Try to decode json and return false if it is + * not a valid json + * + * @param string $string + * @return array|false Returns an associative data array or false if failed to parse. + */ + private function tryDecodeJson(string $string) + { + /** @var array|null */ + $data = json_decode($string, true); + return (json_last_error() == JSON_ERROR_NONE) ? $data : false; + } + + /** + * This checks if the crm version is way far beyond the client version. + * If a minor version mismatch is detected we will log this as a warning. + * If a major version mismatch is detected we will throw a CrmException as + * there shall be an incompatibility with the response. + * + * The goal here is to force clients to be up to date. + * A major version change means breaking change. + * + * @param string $version + * @return void + * @throws \LDC\LDCCRM\Exceptions\CrmException If a major version mismatch is detected. + */ + private function checkVersion(string $version) + { + $packageInfo = Utils::getPackageInfo(); + $ApackageInfo = explode('.', $packageInfo['version']); + $Aversion = \explode('.', $version); + if ($ApackageInfo[0] != $Aversion[0]) { + throw new CrmException(sprintf( + 'Incompatible major versions between CRM server %s and client %s', + $version, + $packageInfo['version'] + )); + } + if ($ApackageInfo[1] != $Aversion[1]) { + $message = sprintf( + 'Minor version mismatch between CRM server %s and client %s, this could lead to errors', + $version, + $packageInfo['version'] + ); + Utils::log($message, LogLevel::WARNING()); + } + } +} diff --git a/crm-client-3.0.6/src/Utils.php b/crm-client-3.0.6/src/Utils.php new file mode 100644 index 0000000..23b85e5 --- /dev/null +++ b/crm-client-3.0.6/src/Utils.php @@ -0,0 +1,721 @@ + $attrRules) { + $validators = []; + if (\is_string($attrRules)) { + $attrRules = \explode('|', $attrRules); + } + foreach ($attrRules as $rule) { + $validators[] = self::makeValidatorFromRule($rule, $data, $attribute); + } //end foreach + } //end foreach + return function () use ($validators) { + foreach ($validators as $validator) { + try { + if (!$validator['validate']()) { + throw new ValidationException($validator['error']); + } + } catch (SkipValidationException $e) { + break; + } + } + }; + } + + /** + * Generate a validator + * + * @param mixed $rule + * @param array $data + * @param string $attribute + * @return array + * @throws \ErrorException If a rule is unknown. + */ + private static function makeValidatorFromRule( + $rule, + array $data, + string $attribute + ): array { + $rParams = []; + $closure = null; + if (\is_callable($rule) and !is_string($rule)) { + /** @var \Closure $closure */ + $closure = $rule; + $rule = '#closure#'; + } elseif (\strpos($rule, ':') !== false) { + $rParams = \explode(':', $rule, 2); + $rule = \array_shift($rParams); + } + switch (true) { + case in_array($rule, [ + 'nullable', 'sometimes', + 'int', 'bool', 'uuid', 'string', + 'date', 'email', 'array', + 'mixedCase', 'containDigit', 'containSymbol', + ]): + return self::{sprintf('validation%s', \ucfirst($rule))}( + $attribute, + $data[$attribute] ?? null + ); + case in_array($rule, ['size', 'min', 'max']): + return self::{sprintf('validation%s', \ucfirst($rule))}( + $attribute, + $data[$attribute], + $rParams + ); + case in_array($rule, ['required', 'sometimes']): + return self::{sprintf('validation%s', \ucfirst($rule))}( + $attribute, + $data, + ); + case $rule === 'date_format': + return self::validationDateFormat($attribute, $data[$attribute], $rParams); + case $rule === '#closure#': + /** @var \Closure $rule */ + return self::validationClosure($attribute, $data[$attribute], $closure); + default: + throw new \ErrorException("Unknown validation rule $rule " . implode(': ', $rParams)); + } //end switch + } + + // * VALIDATION RULES + + /** + * Make Required validator + * + * @param string $attribute + * @param array $data + * @return array + */ + private static function validationRequired(string $attribute, array $data): array + { + return [ + 'type' => 'required', + 'error' => sprintf( + '%s est obligatoire', + self::translate($attribute) + ), + 'validate' => function () use ($attribute, $data) { + return isset($data[$attribute]); + } + ]; + } + + /** + * Make Nullable validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationNullable(string $attribute, $value): array + { + return [ + 'type' => 'nullable', + 'error' => sprintf( + '%s peut être égale à nul', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + if (is_null($value)) { + throw new SkipValidationException(); + } + return true; + } + ]; + } + + /** + * Make Sometimes validator + * + * @param string $attribute + * @param mixed $data + * @return array + */ + private static function validationSometimes(string $attribute, $data): array + { + return [ + 'type' => 'sometimes', + 'error' => sprintf( + '%s est falcutatif', + self::translate($attribute) + ), + 'validate' => function () use ($data) { + if (empty($data)) { + throw new SkipValidationException(); + } + return true; + } + ]; + } + + /** + * Make Int validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationInt(string $attribute, $value): array + { + return [ + 'type' => 'int', + 'error' => sprintf( + '%s doit être un entier', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \is_int($value); + } + ]; + } + + /** + * Make String validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationString(string $attribute, $value): array + { + return [ + 'type' => 'string', + 'error' => sprintf( + '%s doit être une chaine de charactères', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \is_string($value); + } + ]; + } + + /** + * Make Bool validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationBool(string $attribute, $value): array + { + return [ + 'type' => 'bool', + 'error' => sprintf( + '%s doit être un booléen', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \is_bool($value) or $value === 1 or $value === 0; + } + ]; + } + + /** + * Make Size validator + * + * @param string $attribute + * @param mixed $value + * @param array $params + * @return array + */ + private static function validationSize(string $attribute, $value, array $params): array + { + return [ + 'type' => 'min', + 'error' => sprintf( + '%s doit avoir %s caratères', + self::translate($attribute), + $params[0], + $params[0] + ), + 'validate' => function () use ($value, $params) { + if (\is_string($value)) { + return \strlen($value) === (int)$params[0]; + } + return false; + } + ]; + } + + /** + * Make Min validator + * + * @param string $attribute + * @param mixed $value + * @param array $params + * @return array + */ + private static function validationMin(string $attribute, $value, array $params): array + { + return [ + 'type' => 'min', + 'error' => sprintf( + '%s doit avoir au moins %s caratères, ou être plus grand que %s si c\'est un nombre', + self::translate($attribute), + $params[0], + $params[0] + ), + 'validate' => function () use ($value, $params) { + if (\is_string($value)) { + return \strlen($value) >= (int)$params[0]; + } + if (\is_int($value)) { + return $value >= (int)$params[0]; + } + return false; + } + ]; + } + + /** + * Make Max validator + * + * @param string $attribute + * @param mixed $value + * @param array $params + * @return array + */ + private static function validationMax(string $attribute, $value, array $params): array + { + return [ + 'type' => 'max', + 'error' => sprintf( + '%s doit avoir au moins %s caratères, ou être plus grand que %s si c\'est un nombre', + self::translate($attribute), + $params[0], + $params[0] + ), + 'validate' => function () use ($value, $params) { + if (\is_string($value)) { + return \strlen($value) <= (int)$params[0]; + } + if (\is_int($value)) { + return $value <= (int)$params[0]; + } + return false; + } + ]; + } + + /** + * Make Uuid validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationUuid(string $attribute, $value): array + { + return [ + 'type' => 'uuid', + 'error' => sprintf( + '%s doit être un uuid valide', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return Validator::uuid()->validate($value); + } + ]; + } + + /** + * Make MixedCase validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationMixedCase(string $attribute, $value): array + { + return [ + 'type' => 'mixedCase', + 'error' => sprintf( + '%s doit contenir des lettre minuscules et majuscules', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \preg_match('/[a-z]/', $value) and \preg_match('/[A-Z]/', $value); + } + ]; + } + + /** + * Make ContainDigit validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationContainDigit(string $attribute, $value): array + { + return [ + 'type' => 'containDigit', + 'error' => sprintf( + '%s doit contenir au moins un chiffre', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \preg_match('/[0-9]/', $value); + } + ]; + } + + /** + * Make ContainSymbol validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationContainSymbol(string $attribute, $value): array + { + return [ + 'type' => 'containSymbol', + 'error' => sprintf( + '%s doit contenir au moins un caractère spécial comme une virgule par exemple', + self::translate($attribute) + ), + 'validate' => function () use ($value) { + return \preg_match('/[^a-zA-Z0-9]/', $value); + } + ]; + } + + /** + * Make Date validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationDate(string $attribute, $value): array + { + return [ + 'type' => 'date', + 'error' => sprintf('%s doit être une date valide', self::translate($attribute)), + 'validate' => function () use ($value) { + return Validator::dateTime()->validate($value); + } + ]; + } + + /** + * Make DateFormat validator + * + * @param string $attribute + * @param mixed $value + * @param array $params + * @return array + */ + private static function validationDateFormat(string $attribute, $value, array $params): array + { + return [ + 'type' => 'date_format', + 'error' => sprintf('%s doit être une date au format %s', self::translate($attribute), $params[0]), + 'validate' => function () use ($value, $params) { + return Validator::dateTime($params[0])->validate($value); + } + ]; + } + + /** + * Make Email validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationEmail(string $attribute, $value): array + { + return [ + 'type' => 'email', + 'error' => sprintf('%s doit être un email valide', self::translate($attribute)), + 'validate' => function () use ($value) { + return Validator::email()->validate($value); + } + ]; + } + + /** + * Make Array validator + * + * @param string $attribute + * @param mixed $value + * @return array + */ + private static function validationArray(string $attribute, $value): array + { + return [ + 'type' => 'array', + 'error' => sprintf('%s doit être un tableau valide', self::translate($attribute)), + 'validate' => function () use ($value) { + return Validator::arrayType()->validate($value); + } + ]; + } + + /** + * Make Closure validator + * + * @param string $attribute + * @param mixed $value + * @param \Closure $closure + * @return array + */ + private static function validationClosure(string $attribute, $value, \Closure $closure): array + { + return [ + 'type' => 'closure', + 'error' => sprintf('%s doit être validé', self::translate($attribute)), + 'validate' => function () use ($attribute, $value, $closure) { + $closure($attribute, $value, function ($message) { + throw new ValidationException($message); + }); + return true; + } + ]; + } + + // * END VALIDATION RULES + + /** + * This is only used for unit tests. + * Get config + * + * @param string $key + * @param string $default + * @return string|null + */ + public static function getConfig(string $key, string $default = null): ?string + { + $value = null; + if (function_exists('config')) { + $value = \config($key, $default); + } + + return $value; + } + + /** + * Generate a Request from the route name + * + * @param string $routeName + * @param array $query Params to pass on to the route. + * @param array $data Http body params. + * @return \LDC\LDCCRM\Transport\Request + * @throws \ErrorException If the requested route is unknown. + * @throws \ErrorException If a required parameter is missing. + */ + public static function getResquest(string $routeName, array $query = [], array $data = []): Request + { + // Convert bool to integer. + $query = \array_map(function ($v) { + return is_bool($v) ? (int)$v : $v; + }, $query); + $data = \array_map(function ($v) { + return is_bool($v) ? (int)$v : $v; + }, $data); + + $routes = \json_decode(\file_get_contents(__DIR__ . '/routes.json'), true); + if (!isset($routes[$routeName])) { + throw new \ErrorException("Unknown route $routeName from the crm"); + } + $route = $routes[$routeName]; + $matches = []; + $matchedIndex = []; + \preg_match_all('/{([\w-]*)}/', $route['uri'], $matches); + if (\count($matches[0])) { + foreach ($matches[0] as $k => $match) { + if (!isset($query[$matches[1][$k]])) { + throw new \ErrorException(sprintf('Missing required parameter %s', $matches[1][$k])); + } + $route['uri'] = str_replace($match, $query[$matches[1][$k]], $route['uri']); + $matchedIndex[$matches[1][$k]] = $query[$matches[1][$k]]; + } + } + foreach ($matchedIndex as $key => $value) { + unset($query[$key]); + } + if (count($query)) { + $route['uri'] = sprintf('%s?%s', $route['uri'], \http_build_query($query)); + } + return new Request(HttpMethods::make($route['methods'][0]), $route['uri'], [], $data); + } + + /** + * Get composer.json infos + * + * @return array + */ + public static function getPackageInfo(): array + { + if (!static::$packageInfos) { + static::$packageInfos = \json_decode(\file_get_contents(__DIR__ . '/../composer.json'), true); + } + return static::$packageInfos; + } + + /** + * Translation a string using php file lang + * + * @param string $key + * @param string $lang + * @return string + */ + public static function translate(string $key, string $lang = 'fr'): string + { + try { + if (!array_key_exists($lang, self::$translations)) { + self::$translations = require __DIR__ . "/../resources/lang/$lang.php"; + } + } finally { + if (!isset(self::$translations['validation'][$key])) { + return $key; + } else { + return self::$translations['validation'][$key]; + } + } + } + + /** + * Write log using syslog + * It also write log using \Illuminate\Support\Facades\Log + * if it is present + * + * @param string $message The message is prefixed with "LDC CRM:" . + * @param \LDC\LDCCRM\Enums\LogLevel $level The log level to apply. + * @return void + */ + public static function log(string $message, LogLevel $level) + { + $message = "LDC CRM: $message"; + if (\class_exists('\Illuminate\Support\Facades\Log')) { + switch ($level) { + case LogLevel::EMERG(): + \Illuminate\Support\Facades\Log::emergency($message); + break; + case LogLevel::ALERT(): + \Illuminate\Support\Facades\Log::alert($message); + break; + case LogLevel::CRIT(): + \Illuminate\Support\Facades\Log::critical($message); + break; + case LogLevel::ERR(): + \Illuminate\Support\Facades\Log::error($message); + break; + case LogLevel::WARNING(): + \Illuminate\Support\Facades\Log::warning($message); + break; + case LogLevel::NOTICE(): + \Illuminate\Support\Facades\Log::notice($message); + break; + case LogLevel::INFO(): + \Illuminate\Support\Facades\Log::info($message); + break; + case LogLevel::DEBUG(): + \Illuminate\Support\Facades\Log::debug($message); + break; + }//end switch + \Illuminate\Support\Facades\Log::warning($message); + }//end if + \syslog(\constant($level), $message); + } + + /** + * Set a property without any validation. + * + * ! Warning : this can change any property of the object, use with caution. + * + * @param object $object The object to inspect. + * @param string $property The object property to assign to. + * @param mixed $value The value to insert. + * @return void + * @throws LDC\LDCCRM\Exceptions\AccessError If trying to set a value on a unknown property. + */ + public static function setRawProperty(object $object, string $property, $value): void + { + if (is_object($value) and in_array(BaseEnum::class, class_parents($value))) { + $value = $value->value; + } + $objectName = \get_class($object); + $refClass = new \ReflectionClass($objectName); + try { + $refProp = $refClass->getProperty($property); + } catch (\ReflectionException $e) { + throw new AccessError($objectName, $property); + } + $refProp->setAccessible(true); + $refProp->setValue($object, $value); + } + + /** + * Get a property of an object. + * + * ! Warning : this will return any property of the object, use with caution. + * + * @param object $object The object to inspect. + * @param string $property The object property to inspect. + * @return mixed|null Returns null if the property was not found any way. + */ + public static function getRawProperty(object $object, string $property) + { + $refClass = new \ReflectionClass(\get_class($object)); + try { + $refProp = $refClass->getProperty($property); + } catch (\ReflectionException $e) { + return null; + } + $refProp->setAccessible(true); + return $refProp->getValue($object); + } +} diff --git a/crm-client-3.0.6/src/WordPress/WPCrm.php b/crm-client-3.0.6/src/WordPress/WPCrm.php new file mode 100644 index 0000000..3ab522d --- /dev/null +++ b/crm-client-3.0.6/src/WordPress/WPCrm.php @@ -0,0 +1,625 @@ + + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ + +namespace LDC\LDCCRM\WordPress; + +use LDC\LDCCRM\CrmApiV2; +use LDC\LDCCRM\Enums\ApiError; +use LDC\LDCCRM\Enums\LogLevel; +use LDC\LDCCRM\Exceptions\ApiErrorException; +use LDC\LDCCRM\Exceptions\CrmException; +use LDC\LDCCRM\Models\Customer; +use LDC\LDCCRM\Models\SingleOptin; +use LDC\LDCCRM\Utils; + +/* phpcs:ignore Squiz.PHP.CommentedOutCode.Found + TABLE LDC CUSTOMERS + CREATE TABLE `ldc_wp_customers` ( + `hashcode` VARCHAR(36) NOT NULL DEFAULT '' COMMENT 'Le hashcode (UUID)', + `email` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Le customer email', + `uuid` VARCHAR(50) NOT NULL DEFAULT '' COMMENT 'Code unique (inscripton, validation, etc)', + PRIMARY KEY (`hashcode`) + ) + COMMENT='Les customers sur un WP liées à la CRM' + COLLATE='utf8mb4_unicode_ci'; +*/ + +/** + * Class de gestion des users en session avec Wordpress + * + * @category API + * @package LDCCrmClient + * @subpackage Wordpress + * @author Jérémy Munsch + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ +class WPCrm +{ + /** + * The session key name + * + * @var string + */ + private static $sessionKey = null; + + /** + * The session live status + * + * @var boolean + */ + private static $sessionDestroyed = false; + + /** + * The user object + * + * @var \LDC\LDCCRM\CrmApiV2 + */ + protected static $api = null; + + /** + * The user object + * + * @var \LDC\LDCCRM\WordPress\WPCrmUser + */ + protected static $user = null; + + /** + * Get the current user + * return null if the user is not logged in + * + * @return \LDC\LDCCRM\WordPress\WPCrmUser|null + */ + public static function getUser() + { + self::bootSessionIfNeeded(); + return self::$user; + } + + /** + * Manually login a user + * If self::$user is already set. + * + * @return \LDCCRM\WPCrmUser|null + */ + public static function forceLogin() + { + self::bootSessionIfNeeded(); + if ($user = self::getUser()) { + $_SESSION['wpcrm'][self::$sessionKey] = json_encode($user); + } + return $user; + } + + /** + * Get the current user + * return api response code if an error occurs + * + * @param string $identification The customer hashcode or email. + * + * @return \LDC\LDCCRM\Wordpress\WPCrmUser|false + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function getUserFromApi(string $identification) + { + self::initLdcApi(); + try { + if (!($response = self::makeApiV2Call(self::$api, 'getCustomer', [$identification]))) { + return false; + } + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::modelNotFound(): + return false; + default: + throw $e; + } + } + /** @var \LDC\LDCCRM\Models\Customer */ + $customer = $response; + self::setUser($customer); + return self::$user; + } + + /** + * Try to login with CRM API + * A session will be started if credentials are valid. + * + * @param string $email The customer email. + * @param string $password The customer password. + * + * @return boolean + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - authFailed, If credentials are not valid. + * - customerNotActivated, If the account is not activated. + */ + public static function login(string $email, string $password) + { + self::bootSessionIfNeeded(); + $validCredentials = self::loginUserWithApi($email, $password); + + if ($validCredentials and ($user = self::getUserFromApi($email))) { + self::saveOrUpdateUserToTable(); + $_SESSION['wpcrm'][self::$sessionKey] = json_encode($user); + } + + return $validCredentials; + } + + /** + * Destroy the customer from session + * and therefore logout + * + * @return void + */ + public static function logout() + { + self::bootSessionIfNeeded(); + $_SESSION['wpcrm'] = []; + session_destroy(); + self::$sessionDestroyed = true; + } + + /** + * Check if the user is logged in. + * This means he has an active valid session. + * + * @return boolean + */ + public static function check() + { + self::bootSessionIfNeeded(); + return (bool)self::getUser(); + } + + /** + * Save current customer to + * the local database and on crm + * + * @return boolean true if the operation succeeded false otherwise + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function saveUser(): bool + { + if (!self::getUser() or !($customer = self::getCustomer())) { + return false; + } + try { + if (!self::makeApiV2Call($customer, 'save')) { + return false; + } + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::modelNotFound(): + return false; + default: + throw $e; + } + } + self::saveOrUpdateUserToTable(); + return true; + } + + /** + * Delete current customer from + * the local database and the crm + * + * @return boolean true if the operation succeeded + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function deleteUser(): bool + { + if (!self::getUser() or !($customer = self::getCustomer())) { + return false; + } + try { + if (!self::makeApiV2Call($customer, 'delete')) { + return false; + } + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::authorizationException(): + case ApiError::modelNotFound(): + return false; + default: + throw $e; + } + } + self::deleteUserFromTable(); + return true; + } + + /** + * Toggle the current user optin value + * on the current user and the crm + * + * @return boolean true if the operation succeeded + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function toggleUserOptin(): bool + { + if (!self::getUser() or !($customer = self::getCustomer())) { + return false; + } + try { + if (!self::makeApiV2Call($customer, 'save')) { + return false; + } + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::authorizationException(): + case ApiError::modelNotFound(): + return false; + default: + throw $e; + } + } + $customer->opt_in = !$customer->opt_in; + return true; + } + + /** + * Set the single optin status for an email + * on the crm + * + * @param string $email + * @param boolean $opt_in + * + * @return boolean true if the operation succeeded false otherwise + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a field email could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - singleOptinCustomerExists, If a customer exists with this email. + */ + public static function setSingleOptin(string $email, bool $opt_in): bool + { + return self::makeApiV2Call(SingleOptin::class, 'setStatus', [ + $email, $opt_in + ]); + } + + /** + * Toggle the current user optin value + * on the current user and the crm + * + * @return boolean True if the operation succeeded. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * - customerAlreadyActive, It the customer is already activated. + */ + public static function activateUser(): bool + { + if (!self::getUser() or !($customer = self::getCustomer())) { + return false; + } + if ($customer->status) { + return true; + } + if (!self::makeApiV2Call($customer, 'activate')) { + return false; + } + $customer->opt_in = !$customer->opt_in; + return true; + } + + /** + * Generate a new user + * + * @return WPCrmUser + */ + public static function getNewUser(): WPCrmUser + { + self::$user = new WPCrmUser(); + return self::$user; + } + + /** + * Remove active user + * to prevent WPCrm::check to return true + * + * @return void + */ + public static function unsetActiveUser(): void + { + self::$user = null; + } + + // * --- PRIVATE --- METHODS + + /** + * Check customer credentials using the CRM. + * + * @param string $email The customer email. + * @param string $password The customer password. + * + * @return boolean + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - authFailed, If credentials are not valid. + * - customerNotActivated, If the account is not activated. + */ + private static function loginUserWithApi(string $email, string $password): bool + { + self::initLdcApi(); + + /** @var boolean $response */ + $response = self::makeApiV2Call(self::$api, 'login', [$email, $password]); + return $response; + } + + /** + * Get all customer infos + * + * @return \LDC\LDCCRM\Models\Customer|null + */ + private static function getCustomer(): ?Customer + { + if (!self::getUser()) { + return null; + } + if (!Utils::getRawProperty(self::$user, 'info')) { + self::getUserFromApi(self::$user->hashcode); + } + /** @var \LDC\LDCCRM\Models\Customer */ + $customer = Utils::getRawProperty(self::$user, 'info'); + return $customer; + } + + /** + * Create a user + * stores it to the session + * and finally saves it to the database if it does not exists + * + * @param \LDC\LDCCRM\Models\Customer $customer + * + * @return void + */ + private static function setUser(Customer $customer): void + { + self::bootSessionIfNeeded(); + if (!self::$user) { + self::$user = new WPCrmUser($customer->hashcode, $customer->email); + } + self::$user->setInfo($customer); + } + + /** + * Get the initialized API object + * + * @return \LDC\LDCCRM\CrmApiV2 + * @throws \ErrorException If php does not have extension curl. + */ + private static function initLdcApi(): CrmApiV2 + { + if (!self::$api) { + if (!extension_loaded('curl')) { + throw new \ErrorException( + 'WPCrm requires php extension curl' + ); + } + self::$api = new CrmApiV2(); + } + return self::$api; + } + + /** + * Make a call using apiV2 + * + * @param object|string $obj An object or a class name. + * @param string $method The method to call. + * @param array $arguments Arguments to pass. + * @return mixed|false + * @throws LDC\LDCCRM\Exceptions\ApiErrorException If any of this exception is thrown. + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + */ + private static function makeApiV2Call($obj, string $method, array $arguments = []) + { + try { + return \forward_static_call_array([$obj, $method], $arguments); + } catch (ApiErrorException $e) { + switch ($e->getApiError()) { + case ApiError::apiAuthFailed(): + Utils::log($e->getMessage(), LogLevel::CRIT()); + throw $e; + default: + Utils::log($e->getMessage(), LogLevel::DEBUG()); + throw $e; + } + } catch (CrmException $e) { + Utils::log($e->getMessage(), LogLevel::CRIT()); + throw $e; + } + } + + /** + * Boot the php session if needed + * + * @return void + */ + private static function bootSessionIfNeeded(): void + { + self::$sessionKey = ($_SERVER['HTTP_USER_AGENT'] ?? '') . ($_SERVER['REMOTE_ADDR'] ?? ''); + /** @var string self::$sessionKey */ + self::$sessionKey = \strlen(self::$sessionKey) ? self::$sessionKey : (date('d') ? date('d') : ''); + if (!session_id() && !self::$sessionDestroyed) { + session_start(); + } + if (!isset($_SESSION['wpcrm'])) { + $_SESSION['wpcrm'] = []; + } + if ( + // If session identity is violated. + count($_SESSION['wpcrm']) > 1 or + // If session timed out. + (isset($_SESSION['wpcrm'][self::$sessionKey]) and + isset($_SESSION['lastActivity']) and + // * 15 minutes session. + ($_SESSION['lastActivity'] + (15 * 60)) < time()) + ) { + // Destroy session. + self::$sessionDestroyed = true; + $_SESSION['wpcrm'] = []; + } else { + $_SESSION['lastActivity'] = time(); + } + if (!self::$user and isset($_SESSION['wpcrm'][self::$sessionKey])) { + self::$user = WPCrmUser::parseFromJson( + $_SESSION['wpcrm'][self::$sessionKey] + ); + } + } + + /** + * Get a customer from table + * + * @param string $hashcode The customer hashcode. + * + * @return array|null Database query result in format specified by $output or null on failure. + */ + public static function getUserFromTable(string $hashcode): ?array + { + return self::getWpDb()->get_row( + self::getWpDb()->prepare( + 'SELECT * FROM `ldc_wp_customers` WHERE `hashcode` = %s', + [ + 'hashcode' => $hashcode + ] + ), + 'ARRAY_A' + ); + } + + /** + * Get a customer from table by an email + * + * @param string $email The customer email. + * + * @return array|null Database query result in format specified by $output or null on failure. + */ + public static function getUserFromTableByEmail(string $email): ?array + { + return self::getWpDb()->get_row( + self::getWpDb()->prepare( + 'SELECT * FROM `ldc_wp_customers` WHERE `email` = %s', + [ + 'email' => $email + ] + ), + 'ARRAY_A' + ); + } + + /** + * Get a customer from table by an email + * + * @param string $uuid The customer transaction uuid. + * + * @return array|null Database query result in format specified by $output or null on failure. + */ + public static function getUserFromTableByUuid(string $uuid): ?array + { + return self::getWpDb()->get_row( + self::getWpDb()->prepare( + 'SELECT * FROM `ldc_wp_customers` WHERE `uuid` = %s', + [ + 'uuid' => $uuid + ] + ), + 'ARRAY_A' + ); + } + + /** + * Save or update the user to the table + * + * @return integer The number of row affected on the table. + */ + private static function saveOrUpdateUserToTable(): int + { + if (is_string(self::$user->hashcode) and self::getUserFromTable(self::$user->hashcode)) { + return self::query( + 'UPDATE `ldc_wp_customers` SET `email` = %s, `uuid` = %s WHERE `hashcode` = %s', + [ + 'email' => self::$user->email, + 'uuid' => self::$user->uuidToken, + 'hashcode' => self::$user->hashcode + ] + ); + } + return self::query( + 'INSERT INTO `ldc_wp_customers`(hashcode, email, uuid) VALUES (%s, %s, %s)', + [ + 'hashcode' => self::$user->hashcode, + 'email' => self::$user->email, + 'uuid' => self::$user->uuidToken + ] + ); + } + + /** + * Save or update the user to the table + * + * @return integer The number of row removed from the table. + */ + private static function deleteUserFromTable(): int + { + return self::query( + 'DELETE FROM `ldc_wp_customers` WHERE `hashcode` = %s;', + [ + 'hashcode' => self::$user->hashcode + ] + ); + } + + /** + * Query in DB + * + * @param string $query La request avec les variables en points d'interrogation. + * @param array $params Les paramètres des la requète. + * + * @return integer|boolean Boolean true for CREATE, ALTER, TRUNCATE and DROP queries. + * Number of rows affected/selected for all other queries. Boolean false on error. + */ + private static function query(string $query, array $params = []) + { + return self::getWpDb()->query( + self::getWpDb()->prepare($query, $params) + ); + } + + /** + * Get WP 'pdo instance' + * + * @return object The $wpdb variable + */ + private static function getWpDb(): object + { + // phpcs:ignore Squiz.PHP.GlobalKeyword.NotAllowed + global $wpdb; + return $wpdb; + } +} diff --git a/crm-client-3.0.6/src/WordPress/WPCrmAnswer.php b/crm-client-3.0.6/src/WordPress/WPCrmAnswer.php new file mode 100644 index 0000000..edfa651 --- /dev/null +++ b/crm-client-3.0.6/src/WordPress/WPCrmAnswer.php @@ -0,0 +1,48 @@ + + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ + +namespace LDC\LDCCRM\WordPress; + +use LDC\LDCCRM\Models\Answer; + +/** + * Class de gestion de la segmentation question avec Wordpress + * + * @category API + * @package LDCCrmClient + * @subpackage Wordpress + * @author Jérémy Munsch + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ +abstract class WPCrmAnswer +{ + /** + * Set answers to a question for a specific user + * + * @param \LDC\LDCCRM\WordPress\WPCrmUser $user + * @param integer $questionId The question id . + * @param array $answersId An array with answers id . + * @return boolean true if succeeded + * + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If $user hashcode is not a valid UUID. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If any of the provided ids are invalid. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If given ids are wrong(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public function setQuestionAnswers(WPCrmUser $user, int $questionId, array $answersId): bool + { + return Answer::setQuestionAnswers($user->hashcode, $questionId, $answersId); + } +} diff --git a/crm-client-3.0.6/src/WordPress/WPCrmQuestion.php b/crm-client-3.0.6/src/WordPress/WPCrmQuestion.php new file mode 100644 index 0000000..ac30c57 --- /dev/null +++ b/crm-client-3.0.6/src/WordPress/WPCrmQuestion.php @@ -0,0 +1,89 @@ + + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ + +namespace LDC\LDCCRM\WordPress; + +use LDC\LDCCRM\Models\Question; +use LDC\LDCCRM\Utils; + +/** + * Class de gestion de la segmentation question avec Wordpress + * + * @category API + * @package LDCCrmClient + * @subpackage Wordpress + * @author Jérémy Munsch + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ +abstract class WPCrmQuestion +{ + /** + * Get all questions only + * + * @return array Of \LDC\LDCCRM\Models\Question + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function getAll(): array + { + return Question::all(); + } + + /** + * Get all the questions with user answers + * + * @param \LDC\LDCCRM\WordPress\WPCrmUser $user + * @return array Of \LDC\LDCCRM\Models\Question and their \LDC\LDCCRM\Models\Answer. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a hashcode is not a valid UUID. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If any of the provided ids are invalid. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If the customer could not be found(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function allWithCustomerAnswers(WPCrmUser $user): array + { + // * Force loading of user info from crm + if (!Utils::getRawProperty($user, 'info')) { + WPCrm::getUserFromApi($user->hashcode); + } + // * Get the raw customer + /** @var \LDC\LDCCRM\Models\Customer */ + $customer = Utils::getRawProperty($user, 'info'); + return Question::allWithCustomerAnswers($customer); + } + + /** + * Get unanswered question for a specific customer + * + * @param \LDC\LDCCRM\WordPress\WPCrmUser $user + * @return \LDC\LDCCRM\Models\Question[] + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ValidationException If $user hashcode is not a valid UUID. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If the customer could not be found(CRM side). + * @phpcs:ignore Squiz.Commenting.FunctionCommentThrowTag.WrongNumber + */ + public static function unansweredBy(WPCrmUser $user): array + { + // * Force loading of user info from crm + if (!Utils::getRawProperty($user, 'info')) { + WPCrm::getUserFromApi($user->hashcode); + } + // * Get the raw customer + /** @var \LDC\LDCCRM\Models\Customer */ + $customer = Utils::getRawProperty($user, 'info'); + return Question::unansweredBy($customer); + } +} diff --git a/crm-client-3.0.6/src/WordPress/WPCrmUser.php b/crm-client-3.0.6/src/WordPress/WPCrmUser.php new file mode 100644 index 0000000..a65684a --- /dev/null +++ b/crm-client-3.0.6/src/WordPress/WPCrmUser.php @@ -0,0 +1,271 @@ + + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ + +namespace LDC\LDCCRM\WordPress; + +use JsonSerializable; +use LDC\LDCCRM\Exceptions\WpCrmInvalidJsonUserInfo; +use LDC\LDCCRM\Models\Customer; + +/** + * Class de gestion des users en session avec Wordpress + * + * @property string $uuidToken — A local transaction token for this user + * + * + * @property string $hashcode — The crm hashcode this is a readonly field + * + * @property string $email — Must be a rfc valid email on a valid domain name + * + * @property string $password + * Required only on create, + * must have upper and lowers chars, + * at least 1 number, + * at leat 1 upper char, + * at least 1 lower char and + * at leat 1 special char + * + * @property string $firstname — The account first name + * + * @property string $lastname — The account last name + * + * @property string $birth_date — The account birth date 'yyyy-mm-dd' + * + * @property string $phone — The account phone + * + * @property string $address + * The account address (street number, name, build, flat number) + * + * @property string $address2 — The account phone (address complement) + * + * @property string $city — The account city name + * + * @property string $postcode — The account city postcode + * + * @property \LDC\LDCCRM\Enums\Country $country — The account country residence + * + * @property bool $opt_in — true if the account is opt in + * + * @property bool $status — true if the account is activated + * + * @property string $last_connection the last time user was connected 'yyyy-mm-dd HH:ii:ss' + * + * @category API + * @package LDCCrmClient + * @subpackage Wordpress + * @author Jérémy Munsch + * @license MIT https://opensource.org/licenses/MIT + * @link / + */ +class WPCrmUser implements JsonSerializable +{ + /** + * The CRM hashcode (UUID) + * + * @var string + */ + protected $phashcode = null; + + /** + * The CRM customer email + * + * @var string + */ + protected $pemail = null; + + /** + * The CRM customer info (the api response) + * + * @var \LDC\LDCCRM\Models\Customer + */ + protected $info = null; + + /** + * The CRM customer temp uuidToken to validate transactions + * + * @var string UUID + */ + protected $uuidToken = null; + + /** + * WPCrmUser construct + * + * @param string $hashcode The customer hashcode (UUID). + * @param string $email The customer email. + */ + public function __construct(string $hashcode = null, string $email = null) + { + $this->phashcode = $hashcode; + $this->pemail = $email; + } + + /** + * Generic accessor + * + * @param string $prop The prop to get. + * + * @return boolean|string|\LDC\LDCCRM\Enums\Country|null + */ + public function __get(string $prop) + { + if ($prop === 'uuidToken') { + return $this->uuidToken; + } + if (is_null($this->info)) { + if (!is_null($this->pemail)) { + WPCrm::getUserFromApi($this->pemail); + } else { + $this->info = new Customer(); + } + } + return $this->info->{$prop}; + } + + /** + * Generic mutator + * + * @param string $prop The property to assign. + * @param mixed $value The value to set. + * + * @return void + */ + public function __set(string $prop, $value): void + { + if ($prop === 'uuidToken') { + $this->uuidToken = $value; + return; + } + if (is_null($this->info)) { + if (!is_null($this->pemail)) { + WPCrm::getUserFromApi($this->pemail); + } else { + $this->info = new Customer(); + } + } + $this->info->{$prop} = $value; + if ($prop === 'email') { + $this->pemail = $value; + } + } + + /** + * Set the customer info + * with api response + * + * @param \LDC\LDCCRM\Models\Customer $customer The Api object reponse (user). + * + * @return void + */ + public function setInfo(Customer $customer) + { + $this->info = $customer; + $this->pemail = $customer->email; + $this->phashcode = $customer->hashcode; + } + + /** + * Generate a user from session data + * + * @param string $string The json data stored in session. + * + * @return \LDC\LDCCRM\WordPress\WPCrmUser + * @throws \LDC\LDCCRM\Exceptions\WpCrmInvalidJsonUserInfo If the json string does no + * contain the needed information. + */ + public static function parseFromJson(string $string): WPCrmUser + { + $a = json_decode($string, true); + if (!isset($a['hashcode']) or !isset($a['email'])) { + throw new WpCrmInvalidJsonUserInfo(\sprintf( + '%s::%s is missing some information to parse from, uuid was %s', + __CLASS__, + __METHOD__, + $a['hashcode'] + )); + } + return new self( + $a['hashcode'], + $a['email'] + ); + } + + /** + * Serialize this object to an array + * + * @return array + */ + public function jsonSerialize() + { + return [ + 'hashcode' => $this->phashcode, + 'email' => $this->pemail + ]; + } + + /** + * Save current customer to + * the local database and on crm + * + * @return boolean true if the operation succeeded false otherwise + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - validationFailed, If provided data is wrong(CRM side). + * - modelNotFound, If this customer hashcode could not be found. + */ + public function save(): bool + { + return WPCrm::saveUser(); + } + + /** + * Delete current customer to + * the local database and on crm + * + * @return boolean true if the operation succeeded false otherwise + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + */ + public function delete(): bool + { + return WPCrm::deleteUser(); + } + + /** + * Toggle the current user optin value + * on the current user and the crm + * + * @return boolean true if the operation succeeded + * @throws LDC\LDCCRM\Exceptions\CrmException If a critical error occured. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + */ + public function toggleOptin(): bool + { + return WPCrm::toggleUserOptin(); + } + + /** + * Activate the account in the crm + * + * @return boolean true if succeeded + * @throws \LDC\LDCCRM\Exceptions\ValidationException If a customer's hashcode could not be validated. + * @throws \LDC\LDCCRM\Exceptions\CrmException If an error occurs on server side or on getting response. + * @throws \LDC\LDCCRM\Exceptions\ApiErrorException If any error or \LDC\LDCCRM\Enums\ApiError occurs. + * Possibles are : - modelNotFound, If this customer hashcode could not be found. + * - customerAlreadyActive, It the customer is already activated. + */ + public function activate(): bool + { + return WPCrm::activateUser(); + } +} diff --git a/crm-client-3.0.6/src/routes.json b/crm-client-3.0.6/src/routes.json new file mode 100644 index 0000000..7670f93 --- /dev/null +++ b/crm-client-3.0.6/src/routes.json @@ -0,0 +1,112 @@ +{ + "apiV2.ping": { + "uri": "api/v2/ping", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.optin": { + "uri": "api/v2/optin", + "methods": [ + "POST" + ] + }, + "apiV2.optout-hashcode": { + "uri": "api/v2/optout", + "methods": [ + "POST" + ] + }, + "apiV2.customers.store": { + "uri": "api/v2/customers", + "methods": [ + "POST" + ] + }, + "apiV2.customers.show": { + "uri": "api/v2/customers/{serviceCustomer}", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.customers.update": { + "uri": "api/v2/customers/{serviceCustomer}", + "methods": [ + "PUT", + "PATCH" + ] + }, + "apiV2.customers.destroy": { + "uri": "api/v2/customers/{serviceCustomer}", + "methods": [ + "DELETE" + ] + }, + "apiV2.customers.authenticate": { + "uri": "api/v2/customers/authenticate", + "methods": [ + "POST" + ] + }, + "apiV2.customers.activate": { + "uri": "api/v2/customers/{serviceCustomer}/activate", + "methods": [ + "POST" + ] + }, + "apiV2.customers.answers.store": { + "uri": "api/v2/customers/{serviceCustomer}/answers", + "methods": [ + "POST" + ] + }, + "apiV2.arcadia.outgoingMailDefault": { + "uri": "api/v2/arcadia/outgoing-mail/default", + "methods": [ + "POST" + ] + }, + "apiV2.arcadia.outgoingMailGame": { + "uri": "api/v2/arcadia/outgoing-mail/game", + "methods": [ + "POST" + ] + }, + "apiV2.questions.index": { + "uri": "api/v2/questions", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.questions.unAnsweredBy": { + "uri": "api/v2/questions/un-answered-by/{serviceCustomer}", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.questions.indexWithResponse": { + "uri": "api/v2/questions/with-answers/{serviceCustomer}", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.stats.brandStats": { + "uri": "api/v2/stats/brand", + "methods": [ + "GET", + "HEAD" + ] + }, + "apiV2.stats.questionStats": { + "uri": "api/v2/stats/question/{serviceQuestion}", + "methods": [ + "GET", + "HEAD" + ] + } +} \ No newline at end of file diff --git a/resources/br_generation/fonts/arial.ttf b/resources/br_generation/fonts/arial.ttf new file mode 100644 index 0000000..ad7d8ea Binary files /dev/null and b/resources/br_generation/fonts/arial.ttf differ diff --git a/resources/br_generation/fonts/arialbd.ttf b/resources/br_generation/fonts/arialbd.ttf new file mode 100644 index 0000000..d5fa0e6 Binary files /dev/null and b/resources/br_generation/fonts/arialbd.ttf differ diff --git a/resources/br_generation/fonts/impact.ttf b/resources/br_generation/fonts/impact.ttf new file mode 100644 index 0000000..588adcb Binary files /dev/null and b/resources/br_generation/fonts/impact.ttf differ diff --git a/resources/br_generation/images/hand.png b/resources/br_generation/images/hand.png new file mode 100644 index 0000000..57447ca Binary files /dev/null and b/resources/br_generation/images/hand.png differ diff --git a/resources/br_generation/images/mask.png b/resources/br_generation/images/mask.png new file mode 100644 index 0000000..b3d79b6 Binary files /dev/null and b/resources/br_generation/images/mask.png differ diff --git a/resources/views/api/pdf/coupons.blade.php b/resources/views/api/pdf/coupons.blade.php new file mode 100644 index 0000000..73ee9fa --- /dev/null +++ b/resources/views/api/pdf/coupons.blade.php @@ -0,0 +1,27 @@ + + + + + Coupons + + + + + + + +
                                                                                                                                                                                                                                                                                                                                          + @foreach($coupons as $k => $coupon) + +
                                                                                                                                                                                                                                                                                                                                          + @if (($k + 1) % 3 === 0 && !$loop->last) +
                                                                                                                                                                                                                                                                                                                                          + @endif + @endforeach +
                                                                                                                                                                                                                                                                                                                                          + + diff --git a/routes/api.php b/routes/api.php index b3d9bbc..2879771 100644 --- a/routes/api.php +++ b/routes/api.php @@ -1 +1,38 @@ prefix('v1') + ->group(function () { + Route::get('coupon/{publishedCoupon}', [CouponController::class, 'show']); + + Route::get('campaign/{publishedCampaign}', [CampaignController::class, 'show']); + Route::get('campaign/{publishedCampaign}/coupons', [CampaignController::class, 'showWithCoupons']); + Route::get( + 'campaign/{publishedCampaign}/coupons/{customer:hashcode}', + [CampaignController::class, 'showWithCouponsByCustomer'] + )->withoutScopedBindings(); + + Route::get('customer/{customer:hashcode}', [CustomerController::class, 'show']); + Route::post('customer', [CustomerController::class, 'store']); + Route::put('customer/{customer:hashcode}', [CustomerController::class, 'update']); + Route::delete('customer/{customer:hashcode}', [CustomerController::class, 'destroy']); + + Route::get('print', [PrintController::class, 'print']); + }); diff --git a/thunder-collection_MesBR V1.json b/thunder-collection_MesBR V1.json new file mode 100644 index 0000000..5f03e07 --- /dev/null +++ b/thunder-collection_MesBR V1.json @@ -0,0 +1,85 @@ +{ + "client": "Thunder Client", + "collectionName": "MesBR V1", + "dateExported": "2023-09-01T18:20:07.820Z", + "version": "1.1", + "folders": [ + { + "_id": "da468ea1-7f9f-44a2-8bd4-7d69a5b4aa67", + "name": "Campaign", + "containerId": "", + "created": "2023-09-01T10:05:40.543Z", + "sortNum": 10000 + }, + { + "_id": "7ec60702-4011-4c3d-af02-89e3cad70ba8", + "name": "Coupon", + "containerId": "", + "created": "2023-09-01T10:05:51.989Z", + "sortNum": 20000 + } + ], + "requests": [ + { + "_id": "e0e988a7-240e-4ba4-8d28-5334985a9c1c", + "colId": "88d32c0d-8d10-4df0-80eb-33276d49e38f", + "containerId": "da468ea1-7f9f-44a2-8bd4-7d69a5b4aa67", + "name": "getCampaign", + "url": "/campaign/1", + "method": "GET", + "sortNum": 10000, + "created": "2023-09-01T10:02:32.906Z", + "modified": "2023-09-01T10:03:41.526Z", + "headers": [], + "params": [], + "tests": [] + }, + { + "_id": "a1d9d91d-9219-4265-9464-20425d400c89", + "colId": "88d32c0d-8d10-4df0-80eb-33276d49e38f", + "containerId": "da468ea1-7f9f-44a2-8bd4-7d69a5b4aa67", + "name": "getCampaignWithCoupons", + "url": "/campaign/1/coupons", + "method": "GET", + "sortNum": 20000, + "created": "2023-09-01T10:04:32.402Z", + "modified": "2023-09-01T10:04:43.445Z", + "headers": [], + "params": [], + "tests": [] + }, + { + "_id": "ddbc154c-3e3c-42f4-9948-bc42d0e4bd42", + "colId": "88d32c0d-8d10-4df0-80eb-33276d49e38f", + "containerId": "7ec60702-4011-4c3d-af02-89e3cad70ba8", + "name": "getCoupon", + "url": "/coupon/1", + "method": "GET", + "sortNum": 30000, + "created": "2023-09-01T10:06:03.412Z", + "modified": "2023-09-01T10:06:11.481Z", + "headers": [], + "params": [], + "tests": [] + }, + { + "_id": "4ef8de39-e291-4d19-8fd2-b1c182ddc27f", + "colId": "88d32c0d-8d10-4df0-80eb-33276d49e38f", + "containerId": "da468ea1-7f9f-44a2-8bd4-7d69a5b4aa67", + "name": "getCampaignWithCouponsByCustomer", + "url": "/campaign/2/coupons/374c8681-0875-4221-8a40-41910fb3a925", + "method": "GET", + "sortNum": 40000, + "created": "2023-09-01T10:13:44.428Z", + "modified": "2023-09-01T17:38:30.220Z", + "headers": [], + "params": [], + "tests": [] + } + ], + "settings": { + "options": { + "baseUrl": "http://mesbr.s-web.test/api/v1" + } + } +} \ No newline at end of file