Lines Matching defs:pid
56 * @param {number} pid parent node id
63 function dTreeNode(dokuid, id, pid, name, hns, isdir, ajax) {
69 this.pid = pid; // id number of parent node
178 * @param {number} pid parent node id
184 dTree.prototype.add = function (dokuid, id, pid, name, hns, isdir, ajax) {
185 this.aNodes[this.aNodes.length] = new dTreeNode(dokuid, id, pid, name, hns, isdir, ajax);
246 if (this.aNodes[n].pid === pNode.id) {
306 node.icon = (this.root.id === node.pid) ? this.icon.root : ((node.hns) ? this.icon.folderH : ((node._hc) ? this.icon.folder : this.icon.node));
308 if (this.root.id === node.pid) {
321 else if (node.pid !== this.root.id) {
328 str += '<div id="d' + this.treeName + nodeId + '" class="clip" style="display:' + ((this.root.id === node.pid || node._io) ? 'block' : 'none') + ';">';
347 if (this.root.id !== node.pid) {
376 if (this.aNodes[n].pid === node.id) {
379 if (this.aNodes[n].pid === node.pid) {
446 if (this.aNodes[n]._hc && this.aNodes[n].pid !== this.root.id) {
473 this.fill(this.aNodes[nId].pid);
475 if (cn.pid === this.root.id || !cn._p) {
576 if (this.aNodes[n]._io && this.aNodes[n].pid !== this.root.id) {
623 if (cn.pid >= 0) {
624 jQuery(this.scroll("l", 4, cn.pid, 1));
668 n = this.aNodes[n].pid;
679 while (n.pid >= 0) {