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;
        }
    }
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;
        }
    }
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 ; } }
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.
Mark the children of the DataObject with the given ID .