original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Executes actions from the given group Use this method if the group does not contain depended each other actions