How to use fromArray method of Group class

Best Cucumber Common Library code snippet using Group.fromArray

transport.core.events.php

Source:transport.core.events.php Github

copy

Full Screen

...6use MODX\Revolution\modEvent;7$events = [];8/* Plugin Events */9$events['OnPluginEventBeforeSave']= $xpdo->newObject(modEvent::class);10$events['OnPluginEventBeforeSave']->fromArray([11 'name' => 'OnPluginEventBeforeSave',12 'service' => 1,13 'groupname' => 'Plugin Events',14], '', true, true);15$events['OnPluginEventSave']= $xpdo->newObject(modEvent::class);16$events['OnPluginEventSave']->fromArray([17 'name' => 'OnPluginEventSave',18 'service' => 1,19 'groupname' => 'Plugin Events',20], '', true, true);21$events['OnPluginEventBeforeRemove']= $xpdo->newObject(modEvent::class);22$events['OnPluginEventBeforeRemove']->fromArray([23 'name' => 'OnPluginEventBeforeRemove',24 'service' => 1,25 'groupname' => 'Plugin Events',26], '', true, true);27$events['OnPluginEventRemove']= $xpdo->newObject(modEvent::class);28$events['OnPluginEventRemove']->fromArray([29 'name' => 'OnPluginEventRemove',30 'service' => 1,31 'groupname' => 'Plugin Events',32], '', true, true);33/* Resource Groups */34$events['OnResourceGroupSave']= $xpdo->newObject(modEvent::class);35$events['OnResourceGroupSave']->fromArray([36 'name' => 'OnResourceGroupSave',37 'service' => 1,38 'groupname' => 'Security',39], '', true, true);40$events['OnResourceGroupBeforeSave']= $xpdo->newObject(modEvent::class);41$events['OnResourceGroupBeforeSave']->fromArray([42 'name' => 'OnResourceGroupBeforeSave',43 'service' => 1,44 'groupname' => 'Security',45], '', true, true);46$events['OnResourceGroupRemove']= $xpdo->newObject(modEvent::class);47$events['OnResourceGroupRemove']->fromArray([48 'name' => 'OnResourceGroupRemove',49 'service' => 1,50 'groupname' => 'Security',51], '', true, true);52$events['OnResourceGroupBeforeRemove']= $xpdo->newObject(modEvent::class);53$events['OnResourceGroupBeforeRemove']->fromArray([54 'name' => 'OnResourceGroupBeforeRemove',55 'service' => 1,56 'groupname' => 'Security',57], '', true, true);58/* Snippets */59$events['OnSnippetBeforeSave']= $xpdo->newObject(modEvent::class);60$events['OnSnippetBeforeSave']->fromArray([61 'name' => 'OnSnippetBeforeSave',62 'service' => 1,63 'groupname' => 'Snippets',64], '', true, true);65$events['OnSnippetSave']= $xpdo->newObject(modEvent::class);66$events['OnSnippetSave']->fromArray([67 'name' => 'OnSnippetSave',68 'service' => 1,69 'groupname' => 'Snippets',70], '', true, true);71$events['OnSnippetBeforeRemove']= $xpdo->newObject(modEvent::class);72$events['OnSnippetBeforeRemove']->fromArray([73 'name' => 'OnSnippetBeforeRemove',74 'service' => 1,75 'groupname' => 'Snippets',76], '', true, true);77$events['OnSnippetRemove']= $xpdo->newObject(modEvent::class);78$events['OnSnippetRemove']->fromArray([79 'name' => 'OnSnippetRemove',80 'service' => 1,81 'groupname' => 'Snippets',82], '', true, true);83$events['OnSnipFormPrerender']= $xpdo->newObject(modEvent::class);84$events['OnSnipFormPrerender']->fromArray([85 'name' => 'OnSnipFormPrerender',86 'service' => 1,87 'groupname' => 'Snippets',88], '', true, true);89$events['OnSnipFormRender']= $xpdo->newObject(modEvent::class);90$events['OnSnipFormRender']->fromArray([91 'name' => 'OnSnipFormRender',92 'service' => 1,93 'groupname' => 'Snippets',94], '', true, true);95$events['OnBeforeSnipFormSave']= $xpdo->newObject(modEvent::class);96$events['OnBeforeSnipFormSave']->fromArray([97 'name' => 'OnBeforeSnipFormSave',98 'service' => 1,99 'groupname' => 'Snippets',100], '', true, true);101$events['OnSnipFormSave']= $xpdo->newObject(modEvent::class);102$events['OnSnipFormSave']->fromArray([103 'name' => 'OnSnipFormSave',104 'service' => 1,105 'groupname' => 'Snippets',106], '', true, true);107$events['OnBeforeSnipFormDelete']= $xpdo->newObject(modEvent::class);108$events['OnBeforeSnipFormDelete']->fromArray([109 'name' => 'OnBeforeSnipFormDelete',110 'service' => 1,111 'groupname' => 'Snippets',112], '', true, true);113$events['OnSnipFormDelete']= $xpdo->newObject(modEvent::class);114$events['OnSnipFormDelete']->fromArray([115 'name' => 'OnSnipFormDelete',116 'service' => 1,117 'groupname' => 'Snippets',118], '', true, true);119/* Templates */120$events['OnTemplateBeforeSave']= $xpdo->newObject(modEvent::class);121$events['OnTemplateBeforeSave']->fromArray([122 'name' => 'OnTemplateBeforeSave',123 'service' => 1,124 'groupname' => 'Templates',125], '', true, true);126$events['OnTemplateSave']= $xpdo->newObject(modEvent::class);127$events['OnTemplateSave']->fromArray([128 'name' => 'OnTemplateSave',129 'service' => 1,130 'groupname' => 'Templates',131], '', true, true);132$events['OnTemplateBeforeRemove']= $xpdo->newObject(modEvent::class);133$events['OnTemplateBeforeRemove']->fromArray([134 'name' => 'OnTemplateBeforeRemove',135 'service' => 1,136 'groupname' => 'Templates',137], '', true, true);138$events['OnTemplateRemove']= $xpdo->newObject(modEvent::class);139$events['OnTemplateRemove']->fromArray([140 'name' => 'OnTemplateRemove',141 'service' => 1,142 'groupname' => 'Templates',143], '', true, true);144$events['OnTempFormPrerender']= $xpdo->newObject(modEvent::class);145$events['OnTempFormPrerender']->fromArray([146 'name' => 'OnTempFormPrerender',147 'service' => 1,148 'groupname' => 'Templates',149], '', true, true);150$events['OnTempFormRender']= $xpdo->newObject(modEvent::class);151$events['OnTempFormRender']->fromArray([152 'name' => 'OnTempFormRender',153 'service' => 1,154 'groupname' => 'Templates',155], '', true, true);156$events['OnBeforeTempFormSave']= $xpdo->newObject(modEvent::class);157$events['OnBeforeTempFormSave']->fromArray([158 'name' => 'OnBeforeTempFormSave',159 'service' => 1,160 'groupname' => 'Templates',161], '', true, true);162$events['OnTempFormSave']= $xpdo->newObject(modEvent::class);163$events['OnTempFormSave']->fromArray([164 'name' => 'OnTempFormSave',165 'service' => 1,166 'groupname' => 'Templates',167], '', true, true);168$events['OnBeforeTempFormDelete']= $xpdo->newObject(modEvent::class);169$events['OnBeforeTempFormDelete']->fromArray([170 'name' => 'OnBeforeTempFormDelete',171 'service' => 1,172 'groupname' => 'Templates',173], '', true, true);174$events['OnTempFormDelete']= $xpdo->newObject(modEvent::class);175$events['OnTempFormDelete']->fromArray([176 'name' => 'OnTempFormDelete',177 'service' => 1,178 'groupname' => 'Templates',179], '', true, true);180/* Template Variables */181$events['OnTemplateVarBeforeSave']= $xpdo->newObject(modEvent::class);182$events['OnTemplateVarBeforeSave']->fromArray([183 'name' => 'OnTemplateVarBeforeSave',184 'service' => 1,185 'groupname' => 'Template Variables',186], '', true, true);187$events['OnTemplateVarSave']= $xpdo->newObject(modEvent::class);188$events['OnTemplateVarSave']->fromArray([189 'name' => 'OnTemplateVarSave',190 'service' => 1,191 'groupname' => 'Template Variables',192], '', true, true);193$events['OnTemplateVarBeforeRemove']= $xpdo->newObject(modEvent::class);194$events['OnTemplateVarBeforeRemove']->fromArray([195 'name' => 'OnTemplateVarBeforeRemove',196 'service' => 1,197 'groupname' => 'Template Variables',198], '', true, true);199$events['OnTemplateVarRemove']= $xpdo->newObject(modEvent::class);200$events['OnTemplateVarRemove']->fromArray([201 'name' => 'OnTemplateVarRemove',202 'service' => 1,203 'groupname' => 'Template Variables',204], '', true, true);205$events['OnTVFormPrerender']= $xpdo->newObject(modEvent::class);206$events['OnTVFormPrerender']->fromArray([207 'name' => 'OnTVFormPrerender',208 'service' => 1,209 'groupname' => 'Template Variables',210], '', true, true);211$events['OnTVFormRender']= $xpdo->newObject(modEvent::class);212$events['OnTVFormRender']->fromArray([213 'name' => 'OnTVFormRender',214 'service' => 1,215 'groupname' => 'Template Variables',216], '', true, true);217$events['OnBeforeTVFormSave']= $xpdo->newObject(modEvent::class);218$events['OnBeforeTVFormSave']->fromArray([219 'name' => 'OnBeforeTVFormSave',220 'service' => 1,221 'groupname' => 'Template Variables',222], '', true, true);223$events['OnTVFormSave']= $xpdo->newObject(modEvent::class);224$events['OnTVFormSave']->fromArray([225 'name' => 'OnTVFormSave',226 'service' => 1,227 'groupname' => 'Template Variables',228], '', true, true);229$events['OnBeforeTVFormDelete']= $xpdo->newObject(modEvent::class);230$events['OnBeforeTVFormDelete']->fromArray([231 'name' => 'OnBeforeTVFormDelete',232 'service' => 1,233 'groupname' => 'Template Variables',234], '', true, true);235$events['OnTVFormDelete']= $xpdo->newObject(modEvent::class);236$events['OnTVFormDelete']->fromArray([237 'name' => 'OnTVFormDelete',238 'service' => 1,239 'groupname' => 'Template Variables',240], '', true, true);241/* TV Renders */242$events['OnTVInputRenderList']= $xpdo->newObject(modEvent::class);243$events['OnTVInputRenderList']->fromArray([244 'name' => 'OnTVInputRenderList',245 'service' => 1,246 'groupname' => 'Template Variables',247], '', true, true);248$events['OnTVInputPropertiesList']= $xpdo->newObject(modEvent::class);249$events['OnTVInputPropertiesList']->fromArray([250 'name' => 'OnTVInputPropertiesList',251 'service' => 1,252 'groupname' => 'Template Variables',253], '', true, true);254$events['OnTVOutputRenderList']= $xpdo->newObject(modEvent::class);255$events['OnTVOutputRenderList']->fromArray([256 'name' => 'OnTVOutputRenderList',257 'service' => 1,258 'groupname' => 'Template Variables',259], '', true, true);260$events['OnTVOutputRenderPropertiesList']= $xpdo->newObject(modEvent::class);261$events['OnTVOutputRenderPropertiesList']->fromArray([262 'name' => 'OnTVOutputRenderPropertiesList',263 'service' => 1,264 'groupname' => 'Template Variables',265], '', true, true);266/* User Groups */267$events['OnUserGroupBeforeSave']= $xpdo->newObject(modEvent::class);268$events['OnUserGroupBeforeSave']->fromArray([269 'name' => 'OnUserGroupBeforeSave',270 'service' => 1,271 'groupname' => 'User Groups',272], '', true, true);273$events['OnUserGroupSave']= $xpdo->newObject(modEvent::class);274$events['OnUserGroupSave']->fromArray([275 'name' => 'OnUserGroupSave',276 'service' => 1,277 'groupname' => 'User Groups',278], '', true, true);279$events['OnUserGroupBeforeRemove']= $xpdo->newObject(modEvent::class);280$events['OnUserGroupBeforeRemove']->fromArray([281 'name' => 'OnUserGroupBeforeRemove',282 'service' => 1,283 'groupname' => 'User Groups',284], '', true, true);285$events['OnUserGroupRemove']= $xpdo->newObject(modEvent::class);286$events['OnUserGroupRemove']->fromArray([287 'name' => 'OnUserGroupRemove',288 'service' => 1,289 'groupname' => 'User Groups',290], '', true, true);291$events['OnUserGroupBeforeFormSave']= $xpdo->newObject(modEvent::class);292$events['OnUserGroupBeforeFormSave']->fromArray([293 'name' => 'OnBeforeUserGroupFormSave',294 'service' => 1,295 'groupname' => 'User Groups',296], '', true, true);297$events['OnUserGroupFormSave']= $xpdo->newObject(modEvent::class);298$events['OnUserGroupFormSave']->fromArray([299 'name' => 'OnUserGroupFormSave',300 'service' => 1,301 'groupname' => 'User Groups',302], '', true, true);303$events['OnUserGroupBeforeFormRemove']= $xpdo->newObject(modEvent::class);304$events['OnUserGroupBeforeFormRemove']->fromArray([305 'name' => 'OnBeforeUserGroupFormRemove',306 'service' => 1,307 'groupname' => 'User Groups',308], '', true, true);309$events['OnUserGroupFormRemove']= $xpdo->newObject(modEvent::class);310$events['OnUserGroupFormRemove']->fromArray([311 'name' => 'OnBeforeUserGroupFormRemove',312 'service' => 1,313 'groupname' => 'User Groups',314], '', true, true);315/* User Profiles */316$events['OnUserProfileBeforeSave']= $xpdo->newObject(modEvent::class);317$events['OnUserProfileBeforeSave']->fromArray([318 'name' => 'OnUserProfileBeforeSave',319 'service' => 1,320 'groupname' => 'User Profiles',321], '', true, true);322$events['OnUserProfileSave']= $xpdo->newObject(modEvent::class);323$events['OnUserProfileSave']->fromArray([324 'name' => 'OnUserProfileSave',325 'service' => 1,326 'groupname' => 'User Profiles',327], '', true, true);328$events['OnUserProfileBeforeRemove']= $xpdo->newObject(modEvent::class);329$events['OnUserProfileBeforeRemove']->fromArray([330 'name' => 'OnUserProfileBeforeRemove',331 'service' => 1,332 'groupname' => 'User Profiles',333], '', true, true);334$events['OnUserProfileRemove']= $xpdo->newObject(modEvent::class);335$events['OnUserProfileRemove']->fromArray([336 'name' => 'OnUserProfileRemove',337 'service' => 1,338 'groupname' => 'User Profiles',339], '', true, true);340/* Resources */341$events['OnDocFormPrerender']= $xpdo->newObject(modEvent::class);342$events['OnDocFormPrerender']->fromArray([343 'name' => 'OnDocFormPrerender',344 'service' => 1,345 'groupname' => 'Resources',346], '', true, true);347$events['OnDocFormRender']= $xpdo->newObject(modEvent::class);348$events['OnDocFormRender']->fromArray([349 'name' => 'OnDocFormRender',350 'service' => 1,351 'groupname' => 'Resources',352], '', true, true);353$events['OnBeforeDocFormSave']= $xpdo->newObject(modEvent::class);354$events['OnBeforeDocFormSave']->fromArray([355 'name' => 'OnBeforeDocFormSave',356 'service' => 1,357 'groupname' => 'Resources',358], '', true, true);359$events['OnDocFormSave']= $xpdo->newObject(modEvent::class);360$events['OnDocFormSave']->fromArray([361 'name' => 'OnDocFormSave',362 'service' => 1,363 'groupname' => 'Resources',364], '', true, true);365$events['OnBeforeDocFormDelete']= $xpdo->newObject(modEvent::class);366$events['OnBeforeDocFormDelete']->fromArray([367 'name' => 'OnBeforeDocFormDelete',368 'service' => 1,369 'groupname' => 'Resources',370], '', true, true);371$events['OnDocFormDelete']= $xpdo->newObject(modEvent::class);372$events['OnDocFormDelete']->fromArray([373 'name' => 'OnDocFormDelete',374 'service' => 1,375 'groupname' => 'Resources',376], '', true, true);377$events['OnDocPublished']= $xpdo->newObject(modEvent::class);378$events['OnDocPublished']->fromArray([379 'name' => 'OnDocPublished',380 'service' => 5,381 'groupname' => 'Resources',382], '', true, true);383$events['OnDocUnPublished']= $xpdo->newObject(modEvent::class);384$events['OnDocUnPublished']->fromArray([385 'name' => 'OnDocUnPublished',386 'service' => 5,387 'groupname' => 'Resources',388], '', true, true);389$events['OnBeforeEmptyTrash']= $xpdo->newObject(modEvent::class);390$events['OnBeforeEmptyTrash']->fromArray([391 'name' => 'OnBeforeEmptyTrash',392 'service' => 1,393 'groupname' => 'Resources',394], '', true, true);395$events['OnEmptyTrash']= $xpdo->newObject(modEvent::class);396$events['OnEmptyTrash']->fromArray([397 'name' => 'OnEmptyTrash',398 'service' => 1,399 'groupname' => 'Resources',400], '', true, true);401$events['OnResourceTVFormPrerender']= $xpdo->newObject(modEvent::class);402$events['OnResourceTVFormPrerender']->fromArray([403 'name' => 'OnResourceTVFormPrerender',404 'service' => 1,405 'groupname' => 'Resources',406], '', true, true);407$events['OnResourceTVFormRender']= $xpdo->newObject(modEvent::class);408$events['OnResourceTVFormRender']->fromArray([409 'name' => 'OnResourceTVFormRender',410 'service' => 1,411 'groupname' => 'Resources',412], '', true, true);413$events['OnResourceAutoPublish']= $xpdo->newObject(modEvent::class);414$events['OnResourceAutoPublish']->fromArray([415 'name' => 'OnResourceAutoPublish',416 'service' => 1,417 'groupname' => 'Resources',418], '', true, true);419$events['OnResourceDelete']= $xpdo->newObject(modEvent::class);420$events['OnResourceDelete']->fromArray([421 'name' => 'OnResourceDelete',422 'service' => 1,423 'groupname' => 'Resources',424], '', true, true);425$events['OnResourceUndelete']= $xpdo->newObject(modEvent::class);426$events['OnResourceUndelete']->fromArray([427 'name' => 'OnResourceUndelete',428 'service' => 1,429 'groupname' => 'Resources',430], '', true, true);431$events['OnResourceBeforeSort']= $xpdo->newObject(modEvent::class);432$events['OnResourceBeforeSort']->fromArray([433 'name' => 'OnResourceBeforeSort',434 'service' => 1,435 'groupname' => 'Resources',436], '', true, true);437$events['OnResourceSort']= $xpdo->newObject(modEvent::class);438$events['OnResourceSort']->fromArray([439 'name' => 'OnResourceSort',440 'service' => 1,441 'groupname' => 'Resources',442], '', true, true);443$events['OnResourceDuplicate']= $xpdo->newObject(modEvent::class);444$events['OnResourceDuplicate']->fromArray([445 'name' => 'OnResourceDuplicate',446 'service' => 1,447 'groupname' => 'Resources',448], '', true, true);449$events['OnResourceToolbarLoad']= $xpdo->newObject(modEvent::class);450$events['OnResourceToolbarLoad']->fromArray([451 'name' => 'OnResourceToolbarLoad',452 'service' => 1,453 'groupname' => 'Resources',454], '', true, true);455$events['OnResourceRemoveFromResourceGroup']= $xpdo->newObject(modEvent::class);456$events['OnResourceRemoveFromResourceGroup']->fromArray([457 'name' => 'OnResourceRemoveFromResourceGroup',458 'service' => 1,459 'groupname' => 'Resources',460], '', true, true);461$events['OnResourceAddToResourceGroup']= $xpdo->newObject(modEvent::class);462$events['OnResourceAddToResourceGroup']->fromArray([463 'name' => 'OnResourceAddToResourceGroup',464 'service' => 1,465 'groupname' => 'Resources',466], '', true, true);467$events['OnResourceCacheUpdate']= $xpdo->newObject(modEvent::class);468$events['OnResourceCacheUpdate']->fromArray([469 'name' => 'OnResourceCacheUpdate',470 'service' => 1,471 'groupname' => 'Resources',472], '', true, true);473/* Richtext Editor */474$events['OnRichTextEditorRegister']= $xpdo->newObject(modEvent::class);475$events['OnRichTextEditorRegister']->fromArray([476 'name' => 'OnRichTextEditorRegister',477 'service' => 1,478 'groupname' => 'RichText Editor',479], '', true, true);480$events['OnRichTextEditorInit']= $xpdo->newObject(modEvent::class);481$events['OnRichTextEditorInit']->fromArray([482 'name' => 'OnRichTextEditorInit',483 'service' => 1,484 'groupname' => 'RichText Editor',485], '', true, true);486$events['OnRichTextBrowserInit']= $xpdo->newObject(modEvent::class);487$events['OnRichTextBrowserInit']->fromArray([488 'name' => 'OnRichTextBrowserInit',489 'service' => 1,490 'groupname' => 'RichText Editor',491], '', true, true);492/* Security */493$events['OnWebLogin']= $xpdo->newObject(modEvent::class);494$events['OnWebLogin']->fromArray([495 'name' => 'OnWebLogin',496 'service' => 3,497 'groupname' => 'Security',498], '', true, true);499$events['OnBeforeWebLogout']= $xpdo->newObject(modEvent::class);500$events['OnBeforeWebLogout']->fromArray([501 'name' => 'OnBeforeWebLogout',502 'service' => 3,503 'groupname' => 'Security',504], '', true, true);505$events['OnWebLogout']= $xpdo->newObject(modEvent::class);506$events['OnWebLogout']->fromArray([507 'name' => 'OnWebLogout',508 'service' => 3,509 'groupname' => 'Security',510], '', true, true);511$events['OnManagerLogin']= $xpdo->newObject(modEvent::class);512$events['OnManagerLogin']->fromArray([513 'name' => 'OnManagerLogin',514 'service' => 2,515 'groupname' => 'Security',516], '', true, true);517$events['OnBeforeManagerLogout']= $xpdo->newObject(modEvent::class);518$events['OnBeforeManagerLogout']->fromArray([519 'name' => 'OnBeforeManagerLogout',520 'service' => 2,521 'groupname' => 'Security',522], '', true, true);523$events['OnManagerLogout']= $xpdo->newObject(modEvent::class);524$events['OnManagerLogout']->fromArray([525 'name' => 'OnManagerLogout',526 'service' => 2,527 'groupname' => 'Security',528], '', true, true);529$events['OnBeforeWebLogin']= $xpdo->newObject(modEvent::class);530$events['OnBeforeWebLogin']->fromArray([531 'name' => 'OnBeforeWebLogin',532 'service' => 3,533 'groupname' => 'Security',534], '', true, true);535$events['OnWebAuthentication']= $xpdo->newObject(modEvent::class);536$events['OnWebAuthentication']->fromArray([537 'name' => 'OnWebAuthentication',538 'service' => 3,539 'groupname' => 'Security',540], '', true, true);541$events['OnBeforeManagerLogin']= $xpdo->newObject(modEvent::class);542$events['OnBeforeManagerLogin']->fromArray([543 'name' => 'OnBeforeManagerLogin',544 'service' => 2,545 'groupname' => 'Security',546], '', true, true);547$events['OnManagerAuthentication']= $xpdo->newObject(modEvent::class);548$events['OnManagerAuthentication']->fromArray([549 'name' => 'OnManagerAuthentication',550 'service' => 2,551 'groupname' => 'Security',552], '', true, true);553$events['OnManagerLoginFormRender']= $xpdo->newObject(modEvent::class);554$events['OnManagerLoginFormRender']->fromArray([555 'name' => 'OnManagerLoginFormRender',556 'service' => 2,557 'groupname' => 'Security',558], '', true, true);559$events['OnManagerLoginFormPrerender']= $xpdo->newObject(modEvent::class);560$events['OnManagerLoginFormPrerender']->fromArray([561 'name' => 'OnManagerLoginFormPrerender',562 'service' => 2,563 'groupname' => 'Security',564], '', true, true);565$events['OnPageUnauthorized']= $xpdo->newObject(modEvent::class);566$events['OnPageUnauthorized']->fromArray([567 'name' => 'OnPageUnauthorized',568 'service' => 1,569 'groupname' => 'Security',570], '', true, true);571/* Users */572$events['OnUserFormPrerender']= $xpdo->newObject(modEvent::class);573$events['OnUserFormPrerender']->fromArray([574 'name' => 'OnUserFormPrerender',575 'service' => 1,576 'groupname' => 'Users',577], '', true, true);578$events['OnUserFormRender']= $xpdo->newObject(modEvent::class);579$events['OnUserFormRender']->fromArray([580 'name' => 'OnUserFormRender',581 'service' => 1,582 'groupname' => 'Users',583], '', true, true);584$events['OnBeforeUserFormSave']= $xpdo->newObject(modEvent::class);585$events['OnBeforeUserFormSave']->fromArray([586 'name' => 'OnBeforeUserFormSave',587 'service' => 1,588 'groupname' => 'Users',589], '', true, true);590$events['OnUserFormSave']= $xpdo->newObject(modEvent::class);591$events['OnUserFormSave']->fromArray([592 'name' => 'OnUserFormSave',593 'service' => 1,594 'groupname' => 'Users',595], '', true, true);596$events['OnBeforeUserFormDelete']= $xpdo->newObject(modEvent::class);597$events['OnBeforeUserFormDelete']->fromArray([598 'name' => 'OnBeforeUserFormDelete',599 'service' => 1,600 'groupname' => 'Users',601], '', true, true);602$events['OnUserFormDelete']= $xpdo->newObject(modEvent::class);603$events['OnUserFormDelete']->fromArray([604 'name' => 'OnUserFormDelete',605 'service' => 1,606 'groupname' => 'Users',607], '', true, true);608$events['OnUserNotFound']= $xpdo->newObject(modEvent::class);609$events['OnUserNotFound']->fromArray([610 'name' => 'OnUserNotFound',611 'service' => 1,612 'groupname' => 'Users',613], '', true, true);614$events['OnBeforeUserActivate']= $xpdo->newObject(modEvent::class);615$events['OnBeforeUserActivate']->fromArray([616 'name' => 'OnBeforeUserActivate',617 'service' => 1,618 'groupname' => 'Users',619], '', true, true);620$events['OnUserActivate']= $xpdo->newObject(modEvent::class);621$events['OnUserActivate']->fromArray([622 'name' => 'OnUserActivate',623 'service' => 1,624 'groupname' => 'Users',625], '', true, true);626$events['OnBeforeUserDeactivate']= $xpdo->newObject(modEvent::class);627$events['OnBeforeUserDeactivate']->fromArray([628 'name' => 'OnBeforeUserDeactivate',629 'service' => 1,630 'groupname' => 'Users',631], '', true, true);632$events['OnUserDeactivate']= $xpdo->newObject(modEvent::class);633$events['OnUserDeactivate']->fromArray([634 'name' => 'OnUserDeactivate',635 'service' => 1,636 'groupname' => 'Users',637], '', true, true);638$events['OnBeforeUserDuplicate']= $xpdo->newObject(modEvent::class);639$events['OnBeforeUserDuplicate']->fromArray([640 'name' => 'OnBeforeUserDuplicate',641 'service' => 1,642 'groupname' => 'Users',643], '', true, true);644$events['OnUserDuplicate']= $xpdo->newObject(modEvent::class);645$events['OnUserDuplicate']->fromArray([646 'name' => 'OnUserDuplicate',647 'service' => 1,648 'groupname' => 'Users',649], '', true, true);650$events['OnUserChangePassword']= $xpdo->newObject(modEvent::class);651$events['OnUserChangePassword']->fromArray([652 'name' => 'OnUserChangePassword',653 'service' => 1,654 'groupname' => 'Users',655], '', true, true);656$events['OnUserBeforeRemove']= $xpdo->newObject(modEvent::class);657$events['OnUserBeforeRemove']->fromArray([658 'name' => 'OnUserBeforeRemove',659 'service' => 1,660 'groupname' => 'Users',661], '', true, true);662$events['OnUserBeforeSave']= $xpdo->newObject(modEvent::class);663$events['OnUserBeforeSave']->fromArray([664 'name' => 'OnUserBeforeSave',665 'service' => 1,666 'groupname' => 'Users',667], '', true, true);668$events['OnUserSave']= $xpdo->newObject(modEvent::class);669$events['OnUserSave']->fromArray([670 'name' => 'OnUserSave',671 'service' => 1,672 'groupname' => 'Users',673], '', true, true);674$events['OnUserRemove']= $xpdo->newObject(modEvent::class);675$events['OnUserRemove']->fromArray([676 'name' => 'OnUserRemove',677 'service' => 1,678 'groupname' => 'Users',679], '', true, true);680$events['OnUserBeforeAddToGroup']= $xpdo->newObject(modEvent::class);681$events['OnUserBeforeAddToGroup']->fromArray([682 'name' => 'OnUserBeforeAddToGroup',683 'service' => 1,684 'groupname' => 'User Groups',685], '', true, true);686$events['OnUserAddToGroup']= $xpdo->newObject(modEvent::class);687$events['OnUserAddToGroup']->fromArray([688 'name' => 'OnUserAddToGroup',689 'service' => 1,690 'groupname' => 'User Groups',691], '', true, true);692$events['OnUserBeforeRemoveFromGroup']= $xpdo->newObject(modEvent::class);693$events['OnUserBeforeRemoveFromGroup']->fromArray([694 'name' => 'OnUserBeforeRemoveFromGroup',695 'service' => 1,696 'groupname' => 'User Groups',697], '', true, true);698$events['OnUserRemoveFromGroup']= $xpdo->newObject(modEvent::class);699$events['OnUserRemoveFromGroup']->fromArray([700 'name' => 'OnUserRemoveFromGroup',701 'service' => 1,702 'groupname' => 'User Groups',703], '', true, true);704/* System */705$events['OnBeforeRegisterClientScripts']= $xpdo->newObject(modEvent::class);706$events['OnBeforeRegisterClientScripts']->fromArray([707 'name' => 'OnBeforeRegisterClientScripts',708 'service' => 5,709 'groupname' => 'System',710], '', true, true);711$events['OnWebPagePrerender']= $xpdo->newObject(modEvent::class);712$events['OnWebPagePrerender']->fromArray([713 'name' => 'OnWebPagePrerender',714 'service' => 5,715 'groupname' => 'System',716], '', true, true);717$events['OnBeforeCacheUpdate']= $xpdo->newObject(modEvent::class);718$events['OnBeforeCacheUpdate']->fromArray([719 'name' => 'OnBeforeCacheUpdate',720 'service' => 4,721 'groupname' => 'System',722], '', true, true);723$events['OnCacheUpdate']= $xpdo->newObject(modEvent::class);724$events['OnCacheUpdate']->fromArray([725 'name' => 'OnCacheUpdate',726 'service' => 4,727 'groupname' => 'System',728], '', true, true);729$events['OnLoadWebPageCache']= $xpdo->newObject(modEvent::class);730$events['OnLoadWebPageCache']->fromArray([731 'name' => 'OnLoadWebPageCache',732 'service' => 4,733 'groupname' => 'System',734], '', true, true);735$events['OnBeforeSaveWebPageCache']= $xpdo->newObject(modEvent::class);736$events['OnBeforeSaveWebPageCache']->fromArray([737 'name' => 'OnBeforeSaveWebPageCache',738 'service' => 4,739 'groupname' => 'System',740], '', true, true);741$events['OnSiteRefresh']= $xpdo->newObject(modEvent::class);742$events['OnSiteRefresh']->fromArray([743 'name' => 'OnSiteRefresh',744 'service' => 1,745 'groupname' => 'System',746], '', true, true);747$events['OnFileManagerDirCreate']= $xpdo->newObject(modEvent::class);748$events['OnFileManagerDirCreate']->fromArray([749 'name' => 'OnFileManagerDirCreate',750 'service' => 1,751 'groupname' => 'System',752], '', true, true);753$events['OnFileManagerDirRemove']= $xpdo->newObject(modEvent::class);754$events['OnFileManagerDirRemove']->fromArray([755 'name' => 'OnFileManagerDirRemove',756 'service' => 1,757 'groupname' => 'System',758], '', true, true);759$events['OnFileManagerDirRename']= $xpdo->newObject(modEvent::class);760$events['OnFileManagerDirRename']->fromArray([761 'name' => 'OnFileManagerDirRename',762 'service' => 1,763 'groupname' => 'System',764], '', true, true);765$events['OnFileManagerFileRename']= $xpdo->newObject(modEvent::class);766$events['OnFileManagerFileRename']->fromArray([767 'name' => 'OnFileManagerFileRename',768 'service' => 1,769 'groupname' => 'System',770], '', true, true);771$events['OnFileManagerFileRemove']= $xpdo->newObject(modEvent::class);772$events['OnFileManagerFileRemove']->fromArray([773 'name' => 'OnFileManagerFileRemove',774 'service' => 1,775 'groupname' => 'System',776], '', true, true);777$events['OnFileManagerFileUpdate']= $xpdo->newObject(modEvent::class);778$events['OnFileManagerFileUpdate']->fromArray([779 'name' => 'OnFileManagerFileUpdate',780 'service' => 1,781 'groupname' => 'System',782], '', true, true);783$events['OnFileManagerFileCreate']= $xpdo->newObject(modEvent::class);784$events['OnFileManagerFileCreate']->fromArray([785 'name' => 'OnFileManagerFileCreate',786 'service' => 1,787 'groupname' => 'System',788], '', true, true);789$events['OnFileManagerBeforeUpload']= $xpdo->newObject(modEvent::class);790$events['OnFileManagerBeforeUpload']->fromArray([791 'name' => 'OnFileManagerBeforeUpload',792 'service' => 1,793 'groupname' => 'System',794], '', true, true);795$events['OnFileManagerUpload']= $xpdo->newObject(modEvent::class);796$events['OnFileManagerUpload']->fromArray([797 'name' => 'OnFileManagerUpload',798 'service' => 1,799 'groupname' => 'System',800], '', true, true);801$events['OnFileManagerMoveObject']= $xpdo->newObject(modEvent::class);802$events['OnFileManagerMoveObject']->fromArray([803 'name' => 'OnFileManagerMoveObject',804 'service' => 1,805 'groupname' => 'System',806], '', true, true);807$events['OnFileCreateFormPrerender']= $xpdo->newObject(modEvent::class);808$events['OnFileCreateFormPrerender']->fromArray([809 'name' => 'OnFileCreateFormPrerender',810 'service' => 1,811 'groupname' => 'System',812], '', true, true);813$events['OnFileEditFormPrerender']= $xpdo->newObject(modEvent::class);814$events['OnFileEditFormPrerender']->fromArray([815 'name' => 'OnFileEditFormPrerender',816 'service' => 1,817 'groupname' => 'System',818], '', true, true);819$events['OnManagerPageInit']= $xpdo->newObject(modEvent::class);820$events['OnManagerPageInit']->fromArray([821 'name' => 'OnManagerPageInit',822 'service' => 2,823 'groupname' => 'System',824], '', true, true);825$events['OnManagerPageBeforeRender']= $xpdo->newObject(modEvent::class);826$events['OnManagerPageBeforeRender']->fromArray([827 'name' => 'OnManagerPageBeforeRender',828 'service' => 2,829 'groupname' => 'System',830], '', true, true);831$events['OnManagerPageAfterRender']= $xpdo->newObject(modEvent::class);832$events['OnManagerPageAfterRender']->fromArray([833 'name' => 'OnManagerPageAfterRender',834 'service' => 2,835 'groupname' => 'System',836], '', true, true);837$events['OnWebPageInit']= $xpdo->newObject(modEvent::class);838$events['OnWebPageInit']->fromArray([839 'name' => 'OnWebPageInit',840 'service' => 5,841 'groupname' => 'System',842], '', true, true);843$events['OnLoadWebDocument']= $xpdo->newObject(modEvent::class);844$events['OnLoadWebDocument']->fromArray([845 'name' => 'OnLoadWebDocument',846 'service' => 5,847 'groupname' => 'System',848], '', true, true);849$events['OnParseDocument']= $xpdo->newObject(modEvent::class);850$events['OnParseDocument']->fromArray([851 'name' => 'OnParseDocument',852 'service' => 5,853 'groupname' => 'System',854], '', true, true);855$events['OnWebPageComplete']= $xpdo->newObject(modEvent::class);856$events['OnWebPageComplete']->fromArray([857 'name' => 'OnWebPageComplete',858 'service' => 5,859 'groupname' => 'System',860], '', true, true);861$events['OnBeforeManagerPageInit']= $xpdo->newObject(modEvent::class);862$events['OnBeforeManagerPageInit']->fromArray([863 'name' => 'OnBeforeManagerPageInit',864 'service' => 2,865 'groupname' => 'System',866], '', true, true);867$events['OnPageNotFound']= $xpdo->newObject(modEvent::class);868$events['OnPageNotFound']->fromArray([869 'name' => 'OnPageNotFound',870 'service' => 1,871 'groupname' => 'System',872], '', true, true);873$events['OnHandleRequest']= $xpdo->newObject(modEvent::class);874$events['OnHandleRequest']->fromArray([875 'name' => 'OnHandleRequest',876 'service' => 5,877 'groupname' => 'System',878], '', true, true);879$events['OnMODXInit']= $xpdo->newObject(modEvent::class);880$events['OnMODXInit']->fromArray([881 'name' => 'OnMODXInit',882 'service' => 5,883 'groupname' => 'System',884], '', true, true);885$events['OnElementNotFound']= $xpdo->newObject(modEvent::class);886$events['OnElementNotFound']->fromArray([887 'name' => 'OnElementNotFound',888 'service' => 1,889 'groupname' => 'System',890], '', true, true);891/* Settings */892$events['OnSiteSettingsRender']= $xpdo->newObject(modEvent::class);893$events['OnSiteSettingsRender']->fromArray([894 'name' => 'OnSiteSettingsRender',895 'service' => 1,896 'groupname' => 'Settings',897], '', true, true);898/* Internationalization */899$events['OnInitCulture']= $xpdo->newObject(modEvent::class);900$events['OnInitCulture']->fromArray([901 'name' => 'OnInitCulture',902 'service' => 1,903 'groupname' => 'Internationalization',904], '', true, true);905/* Categories */906$events['OnCategorySave']= $xpdo->newObject(modEvent::class);907$events['OnCategorySave']->fromArray([908 'name' => 'OnCategorySave',909 'service' => 1,910 'groupname' => 'Categories',911], '', true, true);912$events['OnCategoryBeforeSave']= $xpdo->newObject(modEvent::class);913$events['OnCategoryBeforeSave']->fromArray([914 'name' => 'OnCategoryBeforeSave',915 'service' => 1,916 'groupname' => 'Categories',917], '', true, true);918$events['OnCategoryRemove']= $xpdo->newObject(modEvent::class);919$events['OnCategoryRemove']->fromArray([920 'name' => 'OnCategoryRemove',921 'service' => 1,922 'groupname' => 'Categories',923], '', true, true);924$events['OnCategoryBeforeRemove']= $xpdo->newObject(modEvent::class);925$events['OnCategoryBeforeRemove']->fromArray([926 'name' => 'OnCategoryBeforeRemove',927 'service' => 1,928 'groupname' => 'Categories',929], '', true, true);930/* Chunks */931$events['OnChunkSave']= $xpdo->newObject(modEvent::class);932$events['OnChunkSave']->fromArray([933 'name' => 'OnChunkSave',934 'service' => 1,935 'groupname' => 'Chunks',936], '', true, true);937$events['OnChunkBeforeSave']= $xpdo->newObject(modEvent::class);938$events['OnChunkBeforeSave']->fromArray([939 'name' => 'OnChunkBeforeSave',940 'service' => 1,941 'groupname' => 'Chunks',942], '', true, true);943$events['OnChunkRemove']= $xpdo->newObject(modEvent::class);944$events['OnChunkRemove']->fromArray([945 'name' => 'OnChunkRemove',946 'service' => 1,947 'groupname' => 'Chunks',948], '', true, true);949$events['OnChunkBeforeRemove']= $xpdo->newObject(modEvent::class);950$events['OnChunkBeforeRemove']->fromArray([951 'name' => 'OnChunkBeforeRemove',952 'service' => 1,953 'groupname' => 'Chunks',954], '', true, true);955$events['OnChunkFormPrerender']= $xpdo->newObject(modEvent::class);956$events['OnChunkFormPrerender']->fromArray([957 'name' => 'OnChunkFormPrerender',958 'service' => 1,959 'groupname' => 'Chunks',960], '', true, true);961$events['OnChunkFormRender']= $xpdo->newObject(modEvent::class);962$events['OnChunkFormRender']->fromArray([963 'name' => 'OnChunkFormRender',964 'service' => 1,965 'groupname' => 'Chunks',966], '', true, true);967$events['OnBeforeChunkFormSave']= $xpdo->newObject(modEvent::class);968$events['OnBeforeChunkFormSave']->fromArray([969 'name' => 'OnBeforeChunkFormSave',970 'service' => 1,971 'groupname' => 'Chunks',972], '', true, true);973$events['OnChunkFormSave']= $xpdo->newObject(modEvent::class);974$events['OnChunkFormSave']->fromArray([975 'name' => 'OnChunkFormSave',976 'service' => 1,977 'groupname' => 'Chunks',978], '', true, true);979$events['OnBeforeChunkFormDelete']= $xpdo->newObject(modEvent::class);980$events['OnBeforeChunkFormDelete']->fromArray([981 'name' => 'OnBeforeChunkFormDelete',982 'service' => 1,983 'groupname' => 'Chunks',984], '', true, true);985$events['OnChunkFormDelete']= $xpdo->newObject(modEvent::class);986$events['OnChunkFormDelete']->fromArray([987 'name' => 'OnChunkFormDelete',988 'service' => 1,989 'groupname' => 'Chunks',990], '', true, true);991/* Contexts */992$events['OnContextSave']= $xpdo->newObject(modEvent::class);993$events['OnContextSave']->fromArray([994 'name' => 'OnContextSave',995 'service' => 1,996 'groupname' => 'Contexts',997], '', true, true);998$events['OnContextBeforeSave']= $xpdo->newObject(modEvent::class);999$events['OnContextBeforeSave']->fromArray([1000 'name' => 'OnContextBeforeSave',1001 'service' => 1,1002 'groupname' => 'Contexts',1003], '', true, true);1004$events['OnContextRemove']= $xpdo->newObject(modEvent::class);1005$events['OnContextRemove']->fromArray([1006 'name' => 'OnContextRemove',1007 'service' => 1,1008 'groupname' => 'Contexts',1009], '', true, true);1010$events['OnContextBeforeRemove']= $xpdo->newObject(modEvent::class);1011$events['OnContextBeforeRemove']->fromArray([1012 'name' => 'OnContextBeforeRemove',1013 'service' => 1,1014 'groupname' => 'Contexts',1015], '', true, true);1016$events['OnContextFormPrerender']= $xpdo->newObject(modEvent::class);1017$events['OnContextFormPrerender']->fromArray([1018 'name' => 'OnContextFormPrerender',1019 'service' => 2,1020 'groupname' => 'Contexts',1021], '', true, true);1022$events['OnContextFormRender']= $xpdo->newObject(modEvent::class);1023$events['OnContextFormRender']->fromArray([1024 'name' => 'OnContextFormRender',1025 'service' => 2,1026 'groupname' => 'Contexts',1027], '', true, true);1028/* Plugins */1029$events['OnPluginSave']= $xpdo->newObject(modEvent::class);1030$events['OnPluginSave']->fromArray([1031 'name' => 'OnPluginSave',1032 'service' => 1,1033 'groupname' => 'Plugins',1034], '', true, true);1035$events['OnPluginBeforeSave']= $xpdo->newObject(modEvent::class);1036$events['OnPluginBeforeSave']->fromArray([1037 'name' => 'OnPluginBeforeSave',1038 'service' => 1,1039 'groupname' => 'Plugins',1040], '', true, true);1041$events['OnPluginRemove']= $xpdo->newObject(modEvent::class);1042$events['OnPluginRemove']->fromArray([1043 'name' => 'OnPluginRemove',1044 'service' => 1,1045 'groupname' => 'Plugins',1046], '', true, true);1047$events['OnPluginBeforeRemove']= $xpdo->newObject(modEvent::class);1048$events['OnPluginBeforeRemove']->fromArray([1049 'name' => 'OnPluginBeforeRemove',1050 'service' => 1,1051 'groupname' => 'Plugins',1052], '', true, true);1053$events['OnPluginFormPrerender']= $xpdo->newObject(modEvent::class);1054$events['OnPluginFormPrerender']->fromArray([1055 'name' => 'OnPluginFormPrerender',1056 'service' => 1,1057 'groupname' => 'Plugins',1058], '', true, true);1059$events['OnPluginFormRender']= $xpdo->newObject(modEvent::class);1060$events['OnPluginFormRender']->fromArray([1061 'name' => 'OnPluginFormRender',1062 'service' => 1,1063 'groupname' => 'Plugins',1064], '', true, true);1065$events['OnBeforePluginFormSave']= $xpdo->newObject(modEvent::class);1066$events['OnBeforePluginFormSave']->fromArray([1067 'name' => 'OnBeforePluginFormSave',1068 'service' => 1,1069 'groupname' => 'Plugins',1070], '', true, true);1071$events['OnPluginFormSave']= $xpdo->newObject(modEvent::class);1072$events['OnPluginFormSave']->fromArray([1073 'name' => 'OnPluginFormSave',1074 'service' => 1,1075 'groupname' => 'Plugins',1076], '', true, true);1077$events['OnBeforePluginFormDelete']= $xpdo->newObject(modEvent::class);1078$events['OnBeforePluginFormDelete']->fromArray([1079 'name' => 'OnBeforePluginFormDelete',1080 'service' => 1,1081 'groupname' => 'Plugins',1082], '', true, true);1083$events['OnPluginFormDelete']= $xpdo->newObject(modEvent::class);1084$events['OnPluginFormDelete']->fromArray([1085 'name' => 'OnPluginFormDelete',1086 'service' => 1,1087 'groupname' => 'Plugins',1088], '', true, true);1089/* Property Sets */1090$events['OnPropertySetSave']= $xpdo->newObject(modEvent::class);1091$events['OnPropertySetSave']->fromArray([1092 'name' => 'OnPropertySetSave',1093 'service' => 1,1094 'groupname' => 'Property Sets',1095], '', true, true);1096$events['OnPropertySetBeforeSave']= $xpdo->newObject(modEvent::class);1097$events['OnPropertySetBeforeSave']->fromArray([1098 'name' => 'OnPropertySetBeforeSave',1099 'service' => 1,1100 'groupname' => 'Property Sets',1101], '', true, true);1102$events['OnPropertySetRemove']= $xpdo->newObject(modEvent::class);1103$events['OnPropertySetRemove']->fromArray([1104 'name' => 'OnPropertySetRemove',1105 'service' => 1,1106 'groupname' => 'Property Sets',1107], '', true, true);1108$events['OnPropertySetBeforeRemove']= $xpdo->newObject(modEvent::class);1109$events['OnPropertySetBeforeRemove']->fromArray([1110 'name' => 'OnPropertySetBeforeRemove',1111 'service' => 1,1112 'groupname' => 'Property Sets',1113], '', true, true);1114/* Media Source */1115$events['OnMediaSourceBeforeFormDelete']= $xpdo->newObject(modEvent::class);1116$events['OnMediaSourceBeforeFormDelete']->fromArray([1117 'name' => 'OnMediaSourceBeforeFormDelete',1118 'service' => 1,1119 'groupname' => 'Media Sources',1120], '', true, true);1121$events['OnMediaSourceBeforeFormSave']= $xpdo->newObject(modEvent::class);1122$events['OnMediaSourceBeforeFormSave']->fromArray([1123 'name' => 'OnMediaSourceBeforeFormSave',1124 'service' => 1,1125 'groupname' => 'Media Sources',1126], '', true, true);1127$events['OnMediaSourceGetProperties']= $xpdo->newObject(modEvent::class);1128$events['OnMediaSourceGetProperties']->fromArray([1129 'name' => 'OnMediaSourceGetProperties',1130 'service' => 1,1131 'groupname' => 'Media Sources',1132], '', true, true);1133$events['OnMediaSourceFormDelete']= $xpdo->newObject(modEvent::class);1134$events['OnMediaSourceFormDelete']->fromArray([1135 'name' => 'OnMediaSourceFormDelete',1136 'service' => 1,1137 'groupname' => 'Media Sources',1138], '', true, true);1139$events['OnMediaSourceFormSave']= $xpdo->newObject(modEvent::class);1140$events['OnMediaSourceFormSave']->fromArray([1141 'name' => 'OnMediaSourceFormSave',1142 'service' => 1,1143 'groupname' => 'Media Sources',1144], '', true, true);1145$events['OnMediaSourceDuplicate']= $xpdo->newObject(modEvent::class);1146$events['OnMediaSourceDuplicate']->fromArray([1147 'name' => 'OnMediaSourceDuplicate',1148 'service' => 1,1149 'groupname' => 'Media Sources',1150], '', true, true);1151/* Package Manager */1152$events['OnPackageInstall']= $xpdo->newObject(modEvent::class);1153$events['OnPackageInstall']->fromArray([1154 'name' => 'OnPackageInstall',1155 'service' => 2,1156 'groupname' => 'Package Manager',1157], '', true, true);1158$events['OnPackageUninstall']= $xpdo->newObject(modEvent::class);1159$events['OnPackageUninstall']->fromArray([1160 'name' => 'OnPackageUninstall',1161 'service' => 2,1162 'groupname' => 'Package Manager',1163], '', true, true);1164$events['OnPackageRemove']= $xpdo->newObject(modEvent::class);1165$events['OnPackageRemove']->fromArray([1166 'name' => 'OnPackageRemove',1167 'service' => 2,1168 'groupname' => 'Package Manager',1169], '', true, true);1170return $events;...

Full Screen

Full Screen

fromArray

Using AI Code Generation

copy

Full Screen

1$group = new Group();2$group->fromArray($data);3$group = new Group();4$group->fromArray($data);5$group = new Group();6$group->fromArray($data);7$group = new Group();8$group->fromArray($data);9$group = new Group();10$group->fromArray($data);11$group = new Group();12$group->fromArray($data);13$group = new Group();14$group->fromArray($data);15$group = new Group();16$group->fromArray($data);17$group = new Group();18$group->fromArray($data);19$group = new Group();20$group->fromArray($data);21$group = new Group();22$group->fromArray($data);23$group = new Group();24$group->fromArray($data);25$group = new Group();26$group->fromArray($data);27$group = new Group();28$group->fromArray($data);29$group = new Group();30$group->fromArray($data);31$group = new Group();32$group->fromArray($data);

Full Screen

Full Screen

fromArray

Using AI Code Generation

copy

Full Screen

1$group = new Group();2$group->fromArray($array);3$group = new Group();4$group->fromArray($array);5$group = new Group();6$group->fromArray($array);7$group = new Group();8$group->fromArray($array);9$group = new Group();10$group->fromArray($array);11$group = new Group();12$group->fromArray($array);13$group = new Group();14$group->fromArray($array);15$group = new Group();16$group->fromArray($array);17$group = new Group();18$group->fromArray($array);19$group = new Group();20$group->fromArray($array);21$group = new Group();22$group->fromArray($array);23$group = new Group();24$group->fromArray($array);25$group = new Group();26$group->fromArray($array);27$group = new Group();28$group->fromArray($array);29$group = new Group();30$group->fromArray($array);31$group = new Group();32$group->fromArray($array);

Full Screen

Full Screen

fromArray

Using AI Code Generation

copy

Full Screen

1$group = new Group();2$group->fromArray($data);3echo $group->name;4$group = new Group();5$group->fromArray($data, true);6echo $group->name;7$group = new Group();8$group->fromArray($data, true, true);9echo $group->name;10$group = new Group();11$group->fromArray($data, true, true, true);12echo $group->name;13$group = new Group();14$group->fromArray($data, true, true, true, true);15echo $group->name;16$group = new Group();17$group->fromArray($data, true, true, true, true, true);18echo $group->name;19$group = new Group();20$group->fromArray($data, true, true, true, true, true, true);21echo $group->name;22$group = new Group();23$group->fromArray($data, true, true, true, true, true, true, true);24echo $group->name;25$group = new Group();26$group->fromArray($data, true, true, true, true, true, true, true, true);27echo $group->name;28$group = new Group();29$group->fromArray($data, true, true, true, true, true, true, true, true, true);30echo $group->name;31$group = new Group();32$group->fromArray($data, true, true, true, true, true, true, true,

Full Screen

Full Screen

fromArray

Using AI Code Generation

copy

Full Screen

1$group = new Group();2$group->fromArray($data);3$person = new Person();4$person->fromArray($data);5$address = new Address();6$address->fromArray($data);7$phone = new Phone();8$phone->fromArray($data);9$email = new Email();10$email->fromArray($data);11$website = new Website();12$website->fromArray($data);13$social = new Social();14$social->fromArray($data);15$note = new Note();16$note->fromArray($data);17$date = new Date();18$date->fromArray($data);19$event = new Event();20$event->fromArray($data);21$relationship = new Relationship();22$relationship->fromArray($data);23$group = new Group();24$group->fromArray($data);25$person = new Person();26$person->fromArray($data);27$address = new Address();28$address->fromArray($data);29$phone = new Phone();30$phone->fromArray($data);31$email = new Email();32$email->fromArray($data);33$website = new Website();34$website->fromArray($data);35$social = new Social();36$social->fromArray($data);37$note = new Note();38$note->fromArray($data);39$date = new Date();40$date->fromArray($data);41$event = new Event();

Full Screen

Full Screen

fromArray

Using AI Code Generation

copy

Full Screen

1$group = new Group();2$group->fromArray($array);3echo $group->getName();4echo $group->getAge();5$person = new Person();6$person->fromArray($array);7echo $person->getName();8echo $person->getAge();9$group = new Group();10$group->fromArray($array);11echo $group->getName();12echo $group->getAge();13$person = new Person();14$person->fromArray($array);15echo $person->getName();16echo $person->getAge();17$group = new Group();18$group->fromArray($array);19echo $group->getName();20echo $group->getAge();21$person = new Person();22$person->fromArray($array);23echo $person->getName();24echo $person->getAge();25$group = new Group();26$group->fromArray($array);27echo $group->getName();28echo $group->getAge();29$person = new Person();30$person->fromArray($array);31echo $person->getName();32echo $person->getAge();33$group = new Group();34$group->fromArray($array);35echo $group->getName();36echo $group->getAge();37$person = new Person();38$person->fromArray($array);39echo $person->getName();40echo $person->getAge();41$group = new Group();42$group->fromArray($array);43echo $group->getName();44echo $group->getAge();

Full Screen

Full Screen

fromArray

Using AI Code Generation

copy

Full Screen

1$group = new Group();2$group->fromArray(array('name'=>'Group 1', 'description'=>'This is a group'));3$group->save();4$user = new User();5$user->fromArray(array('username'=>'user1', 'password'=>'user1'));6$user->save();7$groupMembership = new GroupMembership();8$groupMembership->fromArray(array('group_id'=>1, 'user_id'=>1));9$groupMembership->save();10$groupInvitation = new GroupInvitation();11$groupInvitation->fromArray(array('group_id'=>1, 'user_id'=>1));12$groupInvitation->save();13$groupRequest = new GroupRequest();14$groupRequest->fromArray(array('group_id'=>1, 'user_id'=>1));15$groupRequest->save();16$groupRequest = new GroupRequest();17$groupRequest->fromArray(array('group_id'=>1, 'user_id'=>1));18$groupRequest->save();19$groupRequest = new GroupRequest();20$groupRequest->fromArray(array('group_id'=>1, 'user_id'=>1));21$groupRequest->save();22$groupRequest = new GroupRequest();23$groupRequest->fromArray(array('group_id'=>1, 'user_id'=>1));24$groupRequest->save();25$groupRequest = new GroupRequest();26$groupRequest->fromArray(array('group_id'=>1, 'user_id'=>1));27$groupRequest->save();28$groupRequest = new GroupRequest();29$groupRequest->fromArray(array('group_id'=>1, 'user_id'=>1));30$groupRequest->save();31$groupRequest = new GroupRequest();32$groupRequest->fromArray(array('group_id'=>1, 'user_id'=>1));33$groupRequest->save();

Full Screen

Full Screen

fromArray

Using AI Code Generation

copy

Full Screen

1$group = new Group();2$group->fromArray($array);3var_dump($group->getMembers());4array(2) {5 string(6) "member"6 string(6) "member"7}8$group = new Group();9$group->fromArray($array);10var_dump($group->getMembers());11array(2) {12 string(6) "member"13 string(6) "member"14}15$group = new Group();16$group->fromArray($array);17var_dump($group->getMembers());18array(2) {19 string(6) "member"20 string(6) "member"21}22$group = new Group();23$group->fromArray($array);24var_dump($group->getMembers());25array(2) {26 string(6) "member"27 string(6) "member"28}29$group = new Group();30$group->fromArray($array);31var_dump($group->getMembers());32array(2) {33 string(6) "member"34 string(6) "member"35}36$group = new Group();37$group->fromArray($array);38var_dump($group->getMembers());39array(2) {40 string(6) "member"41 string(6) "member"42}43$group = new Group();44$group->fromArray($array);45var_dump($group->getMembers());46array(2) {47 string(6) "member"

Full Screen

Full Screen

fromArray

Using AI Code Generation

copy

Full Screen

1$obj = new Group();2$obj->fromArray(array('id'=>5,'name'=>'group1'));3$obj = new Group();4$obj->fromArray(array('id'=>5,'name'=>'group1'));5$obj = new Group();6$obj->fromArray(array('id'=>5,'name'=>'group1'));7$obj = new Group();8$obj->fromArray(array('id'=>5,'name'=>'group1'));9$obj = new Group();10$obj->fromArray(array('id'=>5,'name'=>'group1'));11$obj = new Group();12$obj->fromArray(array('id'=>5,'name'=>'group1'));13$obj = new Group();14$obj->fromArray(array('id'=>5,'name'=>'group1'));15$obj = new Group();16$obj->fromArray(array('id'=>5,'name'=>'group1'));17$obj = new Group();18$obj->fromArray(array('id'=>5,'name'=>'group1'));19$obj = new Group();20$obj->fromArray(array('id'=>5,'name'=>'group1'));21$obj = new Group();22$obj->fromArray(array('id'=>5,'name'=>'group1'));23$obj = new Group();24$obj->fromArray(array('id'=>5,'name'=>'group1'));25$obj = new Group();26$obj->fromArray(array('id'=>5,'name'=>'group1'));

Full Screen

Full Screen

fromArray

Using AI Code Generation

copy

Full Screen

1require_once 'Group.php';2$group = new Group();3$group->fromArray(array('name' => 'group1', 'description' => 'group1 description', 'status' => 1));4echo 'name: ' . $group->getName() . '5';6echo 'description: ' . $group->getDescription() . '7';8echo 'status: ' . $group->getStatus() . '9';10require_once 'Group.php';11$group = new Group();12$group->fromArray(array('name' => 'group1', 'description' => 'group1 description', 'status' => 1));13echo 'name: ' . $group->getName() . '14';15echo 'description: ' . $group->getDescription() . '16';17echo 'status: ' . $group->getStatus() . '18';19require_once 'Group.php';20$group = new Group();21$group->fromArray(array('name' => 'group1', 'description' => 'group1 description', 'status' => 1));22echo 'name: ' . $group->getName() . '23';24echo 'description: ' . $group->getDescription() . '25';26echo 'status: ' . $group->getStatus() . '27';28require_once 'Group.php';29$group = new Group();30$group->fromArray(array('name' => 'group1', 'description' => 'group1 description', 'status' => 1));31echo 'name: ' . $group->getName() . '32';33echo 'description: ' . $group->getDescription() . '34';35echo 'status: ' . $group->getStatus() . '36';37require_once 'Group.php';38$group = new Group();39$group->fromArray(array('name' => 'group1', 'description' => 'group1 description', 'status' => 1));40echo 'name: ' . $group->getName() . '41';42echo 'description: ' . $group->getDescription() . '43';44echo 'status: ' . $group->getStatus() . '45';

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Cucumber Common Library automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Trigger fromArray code on LambdaTest Cloud Grid

Execute automation tests with fromArray on a cloud-based Grid of 3000+ real browsers and operating systems for both web and mobile applications.

Test now for Free

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful