Adds Outline to OPML Document.
@access		public
@param		OPML_DOM_Outline	outline		Outline Node to add
@return		void
519580
public function addOutline( $outline )
	{
		$children	=& $this->getChildren();
		$body		=& $children[1];
		$body->addChild( $outline );
	}
861130
function addElementDone()
    {
        ## add trailing boundary as stream if not
        $this->_trailingBoundary = new STemporary("\r\n"."--{$this->_boundary}--");
        $this->_t__wrap_stream->addStream($this->_trailingBoundary->rewind());
    }
1156582
protected function attach_nodes_to_categories() {
        foreach ($this->nodes as $node) {
            $parentcat = $node->parentcat;
            if (!isset($this->categories[$parentcat])) {
                throw new \coding_exception("Category $parentcat doesn't exist");
            } else {
                $this->categories[$parentcat]->add_node($node);
            }
        }
    }
1277934
def add_changes_markup(dom, ins_nodes, del_nodes):
    
    # add markup for inserted and deleted sections
    for node in reversed(del_nodes):
        # diff algorithm deletes nodes in reverse order, so un-reverse the
        # order for this iteration
        insert_or_append(node.orig_parent, node, node.orig_next_sibling)
        wrap(node, 'del')
    for node in ins_nodes:
        wrap(node, 'ins')
    # Perform post-processing and cleanup.
    remove_nesting(dom, 'del')
    remove_nesting(dom, 'ins')
    sort_del_before_ins(dom)
    merge_adjacent(dom, 'del')
    merge_adjacent(dom, 'ins')
517334
private function addDebugInfo(): void
    {
        $tpl = $this->getTplPath($this->widget->template);

        $this->html = "<span title='WidgetObj : ".get_class($this->widget).".php&#013;Template : {$tpl}{$this->cacheState()}'>{$this->html}</span>";
    }
1310968
public function addNewLineAfterOpeningParentheses()
    {
        if (false === $this->parentheses->getInlineParentheses()) {
            $this->indentation->setIncreaseBlockIndent(true);
            $this->newline = true;
        }
    }
23916
function () {

            var oIFrame = this.iframe,
                oParentNode;

            if (oIFrame) {
                oParentNode = this.element.parentNode;

                if (oParentNode != oIFrame.parentNode) {
                    this._addToParent(oParentNode, oIFrame);
                }
                oIFrame.style.display = "block";
            }
        }
592935
public function init()
    {
        parent::init();
        $this->clientOptions = false;
        Html::addCssClass($this->wrapOptions, 'progress');
        if ($this->determinate)
            Html::addCssClass($this->options, 'determinate');
        else
            Html::addCssClass($this->options, 'indeterminate');

        if ($this->percent) {
            if (!isset($this->options['style'])) {
                $this->options['style'] = 'width: ' . $this->percent . '%';
            } else {
                $this->options['style'] = explode(';', trim($this->options['style'], ';'));
                $this->options['style'][] = 'width: ' . $this->percent . '%;';
                $this->options['style'] = implode(';', $this->options['style']);
            }
        }
    }
1195544
protected function outline()
	{
		if ($this->app['request']->getBool('tp')
		 && $this->app['component']->params('com_templates')->get('template_positions_display'))
		{
			return true;
		}

		return false;
	}
72581
protected void addLinkToMainTree(Content div) {
        Content span = HtmlTree.SPAN(HtmlStyle.packageHierarchyLabel,
                getResource("doclet.Package_Hierarchies"));
        div.addContent(span);
        HtmlTree ul = new HtmlTree (HtmlTag.UL);
        ul.addStyle(HtmlStyle.horizontal);
        ul.addContent(getNavLinkMainTree(configuration.getText("doclet.All_Packages")));
        div.addContent(ul);
    }
134030
function(oRM, oControl) {
			// render an invisible, but easily identifiable placeholder for the content
			oRM.write("<div id=\"" + RenderPrefixes.Dummy + oControl.getId() + "\" style=\"display:none\">");

			// Note: we do not render the content string here, but only in onAfterRendering
			// This has the advantage that syntax errors don't affect the whole control tree
			// but only this control...

			oRM.write("</div>");
		}
540420
private static void addBlankLines(Content pre) {
        for (int i = 0; i < NUM_BLANK_LINES; i++) {
            pre.addContent(NEW_LINE);
        }
    }
497526
def initialize_outlineexplorer(self):
        """"""
        for index in range(self.get_stack_count()):
            if index != self.get_stack_index():
                self._refresh_outlineexplorer(index=index)
813207
public function init()
	{
		ob_start();
		ob_implicit_flush(false);

		if(isset($this->htmlOptions['id']))
			$this->id=$this->htmlOptions['id'];
		else
			$this->htmlOptions['id']=$this->id;
		echo CHtml::openTag($this->tagName,$this->htmlOptions)."\n";
		$this->renderDecoration();
		echo "<div class=\"{$this->contentCssClass}\">\n";

		$this->_openTag=ob_get_contents();
		ob_clean();
	}
550133
public function init() {
		
		$this->addCssClass($this->htmlOptions, 'panel');
		
		if($this->isValidContext())
			self::addCssClass($this->htmlOptions, 'panel-'.$this->getContextClass());

		if ($this->padContent)
			self::addCssClass($this->contentHtmlOptions, 'panel-body');

		if (!isset($this->contentHtmlOptions['id'])) {
			$this->contentHtmlOptions['id'] = $this->getId();
		}

		if (isset($this->headerHtmlOptions['class'])) {
			$this->headerHtmlOptions['class'] = 'panel-heading ' . $this->headerHtmlOptions['class'];
		} else {
			$this->headerHtmlOptions['class'] = 'panel-heading';
		}

		echo CHtml::openTag('div', $this->htmlOptions);

		$this->renderHeader();
		$this->renderContentBegin();
	}
366838
function set_opacity($opacity, $mode = "Normal") {
		//Helpers::dompdf_debug("trace", "($opacity, $mode)");
		$this->_set_line_transparency($mode, $opacity);
		$this->_set_fill_transparency($mode, $opacity);
	}
542925
protected function addAttributes()
    {
        if ($this->props['tagOnly']) {
            return;
        }
        if ($this->props['attribs']['required']) {
            $this->classAdd($this->props['attribsContainer'], 'required');
        }
        if (!$this->props['isValid']) {
            $this->classAdd($this->props['attribsContainer'], 'has-error');
            if ($this->props['invalidReason']) {
                $this->props['helpBlock'] = $this->props['invalidReason'];
            }
        }
        if ($this->props['helpBlock']) {
            // we don't want aria-describedby attrib when tagOnly
            $this->props['attribs']['aria-describedby'] = $this->props['attribsHelpBlock']['id'];
        }
    }