| 1361 |
foreach ($this->_events[$event] as $func) { |
foreach ($this->_events[$event] as $func) { |
| 1362 |
if (is_callable( $func[0] )) { |
if (is_callable( $func[0] )) { |
| 1363 |
$botparams = $this->_bots[$func[1]]->params; |
$botparams = $this->_bots[$func[1]]->params; |
| 1364 |
$args[] =& new mosParameters($botparams); |
$args[] = new mosParameters($botparams); |
| 1365 |
|
$args[] = $event; |
| 1366 |
if ($doUnpublished) { |
if ($doUnpublished) { |
| 1367 |
$args[0] = $this->_bots[$func[1]]->published; |
$args[0] = $this->_bots[$func[1]]->published; |
| 1368 |
$result[] = call_user_func_array( $func[0], $args ); |
$result[] = call_user_func_array( $func[0], $args ); |
| 1489 |
$section_value = 'users'; |
$section_value = 'users'; |
| 1490 |
if( $this->id AND !$migrate) { |
if( $this->id AND !$migrate) { |
| 1491 |
// update existing record |
// update existing record |
| 1492 |
$ret = $this->_db->updateObject( $this->_tbl, $this, $this->id, $updateNulls ); |
$ret = $this->_db->updateObject( $this->_tbl, $this, 'id', $updateNulls ); |
| 1493 |
// syncronise ACL |
// syncronise ACL |
| 1494 |
// single group handled at the moment |
// single group handled at the moment |
| 1495 |
// trivial to expand to multiple groups |
// trivial to expand to multiple groups |