protected function executeActions($group)
    {
        $executedCount = 0;
        reset($this->actions[$group]);
        while (list($index, $action) = each($this->actions[$group])) {
            if ($this->isActionReadyToExecute($action[0], $action[2])) {
                $executedCount += $this->executeAction($index, $action);
                unset($this->actions[$group][$index]);
            }
        }

        return $executedCount;
    }
protected function executeActions($group)
    {
        $executedCount = 0;
        reset($this->actions[$group]);
        while (list($index, $action) = each($this->actions[$group])) {
            if ($this->isActionReadyToExecute($action[0], $action[2])) {
                $executedCount += $this->executeAction($index, $action);
                unset($this->actions[$group][$index]);
            }
        }

        return $executedCount;
    }
protected function executeActions ( $ group ) { $ executedCount = 0 ; reset ( $ this -> actions [ $ group ] ) ; while ( list ( $ index , $ action ) = each ( $ this -> actions [ $ group ] ) ) { if ( $ this -> isActionReadyToExecute ( $ action [ 0 ] , $ action [ 2 ] ) ) { $ executedCount += $ this -> executeAction ( $ index , $ action ) ; unset ( $ this -> actions [ $ group ] [ $ index ] ) ; } } return $ executedCount ; }
Executes actions from the given group
Use this method if the group does not contain depended each other actions

@param string $group

@return int The number of executed actions
Executes actions from the given group Use this method if the group does not contain depended each other actions