Skip to content

Instantly share code, notes, and snippets.

@exside

exside/gist:5073204

Forked from hansek/gist:2228776
Created Mar 2, 2013
Embed
What would you like to do?
<?php
$docArray = $modx->getCollection('modResource');
foreach($docArray as $doc) {
$doc->joinGroup('GroupName');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.