original_string: private function check_path(){
      $ar = \func_get_args();
      foreach ( $ar as $a ){
        $b = bbn\str::parse_path($a, true);
        if ( empty($b) && !empty($a) ){
          $this->error("The path $a is not an acceptable value");
          return false;
        }
      }
      return 1;
    }
code: private function check_path(){
      $ar = \func_get_args();
      foreach ( $ar as $a ){
        $b = bbn\str::parse_path($a, true);
        if ( empty($b) && !empty($a) ){
          $this->error("The path $a is not an acceptable value");
          return false;
        }
      }
      return 1;
    }
code_tokens: private function check_path ( ) { $ ar = \ func_get_args ( ) ; foreach ( $ ar as $ a ) { $ b = bbn \ str :: parse_path ( $ a , true ) ; if ( empty ( $ b ) && ! empty ( $ a ) ) { $ this -> error ( "The path $a is not an acceptable value" ) ; return false ; } } return 1 ; }
docstring: This checks whether an argument used for getting controller, view or model - which are files - doesn't contain malicious content.
  
  @param string $p The request path <em>(e.g books/466565 or html/home)</em>
  @return bool
docstring_tokens: This checks whether an argument used for getting controller view or model - which are files - doesn t contain malicious content .