Example #1
0
}
unset($result);
$result = $gacl_api->del_group_object($passengersGroupId, 'passengers', 'luke', 'ARO');
if ($outputDebug == TRUE) {
    if ($result !== FALSE) {
        echo "Deleted 'Passengers > Luke' ARO Group > ARO Connection!<br>\n";
    } else {
        echo "Error deleting 'Passengers > Luke' ARO Group > ARO Connection!<br>\n";
    }
}
unset($result);
/*
 * OK - we now have the id's to edit - lets change the Section_Value to 'jedi'
 * before we add the new AROs to the ARO Group.
 */
$result = $gacl_api->edit_object($obiWanObjectId, 'jedi', 'Obi-wan', 'obi-wan', 10, 0, 'aro');
if ($outputDebug == TRUE) {
    if ($result !== FALSE) {
        echo "Edited 'Passengers > Obi-wan' Successfully - now its: 'Jedi > Obi-wan'!<br>\n";
    } else {
        echo "Error editing 'Passengers > Obi-wan' Object.<br>\n";
    }
}
unset($result);
$result = $gacl_api->edit_object($lukeObjectId, 'jedi', 'Luke', 'luke', 11, 0, 'aro');
if ($outputDebug == TRUE) {
    if ($result !== FALSE) {
        echo "Edited 'Passengers > Luke' Successfully - now its: 'Jedi > Luke'!<br>\n";
    } else {
        echo "Error editing 'Passengers > Luke' Object.<br>\n";
    }