original_string: public function markById($id, $open=false, $className=null) {
          if(isset($this->markedNodes[$className.'_'.$id])) {
              $this->markChildren($this->markedNodes[$className.'_'.$id]);
              if($open) {
                  $this->markedNodes[$className.'_'.$id]->markOpened();
              }
              
              return true;
          } else {
              return false;
          }
      }
code: public function markById($id, $open=false, $className=null) {
          if(isset($this->markedNodes[$className.'_'.$id])) {
              $this->markChildren($this->markedNodes[$className.'_'.$id]);
              if($open) {
                  $this->markedNodes[$className.'_'.$id]->markOpened();
              }
              
              return true;
          } else {
              return false;
          }
      }
code_tokens: public function markById ( $ id , $ open = false , $ className = null ) { if ( isset ( $ this -> markedNodes [ $ className . '_' . $ id ] ) ) { $ this -> markChildren ( $ this -> markedNodes [ $ className . '_' . $ id ] ) ; if ( $ open ) { $ this -> markedNodes [ $ className . '_' . $ id ] -> markOpened ( ) ; } return true ; } else { return false ; } }
docstring: Mark the children of the DataObject with the given ID.
  @param int $id ID of parent node.
  @param boolean $open If this is true, mark the parent node as opened.
docstring_tokens: Mark the children of the DataObject with the given ID .