(non-PHPdoc)

@see \Core\Html\Bootstrap\Navbar\NavbarElementAbstract::build()
689
public function build()
    {
        // Create brand
        $html = $this->content instanceof Img ? $this->page->build() : $this->content;

        // Brand wrapped by a link
        if ($this->link instanceof A) {

            $this->link->addCss('navbar-brand');
            $this->link->setInner($html);

            $html = $this->link->build();
        }

        return $html;
    }
114650
public function build()
    {
        $layout = Layout::blank([
            $this->layout(),
        ]);

        return $layout->build($this->post);
    }
623708
public function build() : RouterInterface
    {
        $router = $this->router;
        try{
            // call bootstrap code
            $startup = $this->bootstrap;
            
            $startup($router);
        }
        catch(\Throwable $e)
        {
            throw new RouterBuildingException($e);
        }
        return $router;
    }
1198638
public function build()
    {
        if (!$this->build)
        {
            $this->build = $this->slice->make(
                $this->routes()
            );
        }

        return $this->build;
    }
1200524
public function build()
    {
        if ($this->use_panel == true) {

            // Bootstrap panel template
            $this->inner .= '<div class="panel panel-' . $this->panel_type . '">';

            if (isset($this->heading_text)) {
                $this->inner .= '{heading}';
            }

            $this->inner .= '<div class="panel-body">';

            if (isset($this->description)) {
                $this->inner .= '{description}';
            }

            if ($this->row) {
                $this->inner .= '<div class="row">';
            }

            $this->inner .= '{content}</div>';

            if ($this->row) {
                $this->inner .= '</div>';
            }

            if (isset($this->footer)) {
                $this->inner .= '{footer}';
            }

            $this->inner .= '</div>';
        }
        else {

            if ($this->row) {
                $this->inner .= '<div class="row';
            }

            if (isset($this->heading_text)) {
                $this->inner .= '{heading}';
            }

            if (isset($this->description)) {
                $this->inner .= '{description}';
            }

            $this->inner .= '{content}';

            if (isset($this->footer)) {
                $this->inner .= '{footer}';
            }

            if ($this->row) {
                $this->inner .= '</div>';
            }
        }

        // Create possible heading
        if (isset($this->heading_text)) {

            // Heading: plain or withe BS title?
            $heading = '<h' . $this->heading_size . ($this->use_panel == true ? ' class="panel-title"' : '') . '>' . $this->heading_text . '</h' . $this->heading_size . '>';

            // Replace heading in BS panel template...
            $this->inner = str_replace('{heading}', $this->use_panel == true ? '<div class="panel-heading">' . $heading . '</div>' : $heading, $this->inner);
        }

        // Is there a description do create?
        if (isset($this->description)) {

            // The description with small
            $description = '<p class="small">' . $this->description . '</p>';

            // Into the panel template...
            $this->inner = str_replace('{description}', $description, $this->inner);
        }

        // Add the content
        $this->inner = str_replace('{content}', $this->content, $this->inner);

        if (isset($this->footer)) {
            $footer = '<span class="help-block">' . $this->description . '</span>';
            $this->inner = str_replace('{footer}', $this->use_panel == true ? '<div class="panel-footer">' . $footer . '</div>' : $footer, $this->inner);
        }

        return parent::build();
    }
1217663
public function build()
    {
        $definition = CodeDefinition::construct($this->tagName,
                                                $this->replacementText,
                                                $this->useOption,
                                                $this->parseContent,
                                                $this->nestLimit,
                                                $this->optionValidator,
                                                $this->bodyValidator);
        return $definition;
    }
20479
public function build()
    {
        parent::build();

        $options = $this->suppliedOptions;

        $dataOptions        = $options['options'];
        $options['options'] = array();

        //iterate over the options to create the options assoc array
        foreach ($dataOptions as $val => $text) {
            $options['options'][] = array(
                'id'   => is_numeric($val) ? $text : $val,
                'text' => $text,
            );
        }

        $this->suppliedOptions = $options;
    }
1163252
public function build()
    {
        $config = $this->getConfiguration();

        Validator::validateConfiguration($this->classMetadata, $config);

        $this->classMetadata->addExtension(UploadableDriver::EXTENSION_NAME, $config);
    }
1259651
public static function build () {
		//Loop through all sections remaining
		while (count(Router::$sections) > 0) {
			//Get and remove
			$section  = array_shift(Router::$sections);

			//Get options from section
			$name	  = $section[0];
			$options  = $section[1];
			$callback = $section[2];
			$context  = $section[3];

			//Set everything accordling
			Router::$context 		= $context."/".(($context == "root")? "":$name);
			Router::$stackedOptions = $options;

			//Run to search more
			$callback();
		}

		//Sort everything based on key
		ksort(Router::$routes);
	}
142125
public function build()
    {
        // Has this button an icon to add?
        if (isset($this->icon)) {
            $this->inner = $this->icon->build() . ' ' . $this->inner;
        }

        // Add button type css
        $this->css[] = 'btn-' . $this->option;

        // Do we have to add cs for a specific button size?
        if (isset($this->size)) {
            $this->css[] = 'btn-' . $this->size;
        }

        return parent::build();
    }
809254
protected function build()
    {
        $operation = $this->buildOperation('ListPaymentMethods');

        $merchantID = $this->document->createElement('merchantID', $this->merchantId);
        $operation->appendChild($merchantID);

        if ($this->pType) {
            $pType = $this->document->createElement('pType', $this->pType);
            $operation->appendChild($pType);
        }
    }
1193357
public function build()
    {

        $query = $this->getQuery();
        $manager = new BuildManager($this->getBase()->getConnection());
        $manager->setPage($this->page);
        $manager->setQuery($query);
        $manager->setParams($this->string['parameters']);

        return $manager;
    }
735372
public function build() {
    $build['content'] = [
      '#theme' => 'dashboard',
      '#items' => $this->dashboardManager->getDashboardItems(),
      '#menu' => $this->systemManager->getBlockContents(),
    ];
    $build['#attached']['library'][] = 'acm/dashboard';

    return $build;
  }
590852
function build()
    {
        if (!$this->class) {
            $this->class = 'PUBLIC';
        }
        if (!$this->data['display_name']) {
            $this->data['display_name'] = $this->data['first_name'] . ' ' . $this->data['last_name'];
        }
        if (!$this->data['sort_string']) {
            $this->data['sort_string'] = $this->data['last_name'];
        }
        if (!$this->data['sort_string']) {
            $this->data['sort_string'] = $this->data['company'];
        }
        if (!$this->data['timezone']) {
            $this->data['timezone'] = date("O");
        }
        if (!$this->revisionDate) {
            $this->revisionDate = date('Y-m-d H:i:s');
        }

        $this->card = "BEGIN:VCARD\r\n";
        $this->card .= "VERSION:3.0\r\n";
        $this->card .= "CLASS:" . $this->class . "\r\n";
        $this->card .= "PRODID:-//class_vCard from WhatsAPI//NONSGML Version 1//EN\r\n";
        $this->card .= "REV:" . $this->revisionDate . "\r\n";
        $this->card .= "FN:" . $this->data['display_name'] . "\r\n";
        $this->card .= "N:"
            . $this->data['last_name'] . ";"
            . $this->data['first_name'] . ";"
            . $this->data['additional_name'] . ";"
            . $this->data['name_prefix'] . ";"
            . $this->data['name_suffix'] . "\r\n";
        if ($this->data['nickname']) {
            $this->card .= "NICKNAME:" . $this->data['nickname'] . "\r\n";
        }
        if ($this->data['title']) {
            $this->card .= "TITLE:" . $this->data['title'] . "\r\n";
        }
        if ($this->data['company']) {
            $this->card .= "ORG:" . $this->data['company'];
        }
        if ($this->data['department']) {
            $this->card .= ";" . $this->data['department'];
        }
        $this->card .= "\r\n";

        if ($this->data['work_po_box'] || $this->data['work_extended_address'] || $this->data['work_address'] || $this->data['work_city'] || $this->data['work_state'] || $this->data['work_postal_code'] || $this->data['work_country']) {
            $this->card .= "ADR;type=WORK:"
                . $this->data['work_po_box'] . ";"
                . $this->data['work_extended_address'] . ";"
                . $this->data['work_address'] . ";"
                . $this->data['work_city'] . ";"
                . $this->data['work_state'] . ";"
                . $this->data['work_postal_code'] . ";"
                . $this->data['work_country'] . "\r\n";
        }

        if ($this->data['home_po_box'] || $this->data['home_extended_address'] || $this->data['home_address'] || $this->data['home_city'] || $this->data['home_state'] || $this->data['home_postal_code'] || $this->data['home_country']) {
            $this->card .= "ADR;type=HOME:"
                . $this->data['home_po_box'] . ";"
                . $this->data['home_extended_address'] . ";"
                . $this->data['home_address'] . ";"
                . $this->data['home_city'] . ";"
                . $this->data['home_state'] . ";"
                . $this->data['home_postal_code'] . ";"
                . $this->data['home_country'] . "\r\n";
        }
        if ($this->data['email1']) {
            $this->card .= "EMAIL;type=INTERNET,pref:" . $this->data['email1'] . "\r\n";
        }
        if ($this->data['email2']) {
            $this->card .= "EMAIL;type=INTERNET:" . $this->data['email2'] . "\r\n";
        }
        if ($this->data['office_tel']) {
            $this->card .= "TEL;type=WORK,voice:" . $this->data['office_tel'] . "\r\n";
        }
        if ($this->data['home_tel']) {
            $this->card .= "TEL;type=HOME,voice:" . $this->data['home_tel'] . "\r\n";
        }
        if ($this->data['cell_tel']) {
            $this->card .= "TEL;type=CELL,voice:" . $this->data['cell_tel'] . "\r\n";
        }
        if ($this->data['fax_tel']) {
            $this->card .= "TEL;type=WORK,fax:" . $this->data['fax_tel'] . "\r\n";
        }
        if ($this->data['pager_tel']) {
            $this->card .= "TEL;type=WORK,pager:" . $this->data['pager_tel'] . "\r\n";
        }
        if ($this->data['url']) {
            $this->card .= "URL;type=WORK:" . $this->data['url'] . "\r\n";
        }
        if ($this->data['birthday']) {
            $this->card .= "BDAY:" . $this->data['birthday'] . "\r\n";
        }
        if ($this->data['role']) {
            $this->card .= "ROLE:" . $this->data['role'] . "\r\n";
        }
        if ($this->data['note']) {
            $this->card .= "NOTE:" . $this->data['note'] . "\r\n";
        }
        if ($this->data['photo']) {
            $this->card .= $this->generatePhotoData();
        }
        $this->card .= "TZ:" . $this->data['timezone'] . "\r\n";
        $this->card .= "END:VCARD\r\n";
    }
28371
public function build()
    {
        if ($this->mode == 'ajax') {
            $this->data['ajax'] = 'link';
        }

        // Set text and set icon means we have a button of type imagebutton
        if ($this->text && $this->icon) {
            $this->type = 'imgbutton';
        }

        // icon/image
        if ($this->type == 'icon') {
            $this->css['icon'] = 'icon';
            $this->icon->noStack();
            $this->inner = $this->icon->build();
        }

        // textbutton
        if ($this->type == 'button') {
            $this->inner = '<span class="button-text">' . $this->text . '</span>';
        }

        // simple link
        if ($this->type == 'link') {
            $this->css['link'] = 'link';
            $this->inner = '<span class="link-text">' . $this->text . '</span>';
        }

        // imgbutton
        if ($this->type == 'imgbutton') {
            $this->icon->noStack();
            $this->inner = $this->icon->build() . ' ' . $this->text;
        }

        // Do we need to set the default button css code for a non link?
        if ($this->type != 'link') {

            $this->css['btn'] = 'btn';

            $check = [
                'btn-primary',
                'btn-success',
                'btn-warning',
                'btn-info',
                'btn-default'
            ];

            if ($this->checkCss($check) == false) {
                $this->addCss('btn-default');
            }
        }

        return parent::build();
    }
824200
public function build()
    {
        if(($document = $this->getDocument()) === null) {
            $document = $this->loader->getInstance(NodeLoader::DOCUMENT_NODE);
            $this->setDocument($document);
        }

        if(($header = $document->getHeader()) === null) {
            $header = $this->loader->getInstance(NodeLoader::HEADER_NODE);
            $document->setHeader($header);
        }

        if(($supplier = $header->getSupplier()) === null) {
            $supplier = $this->loader->getInstance(NodeLoader::SUPPLIER_NODE);
            $header->setSupplier($supplier);
        }

        if(($catalog = $header->getCatalog()) === null) {
            $catalog = $this->loader->getInstance(NodeLoader::CATALOG_NODE);
            $header->setCatalog($catalog);
        }

        if(($datetime = $catalog->getDateTime()) === null) {
            $datetime = $this->loader->getInstance(NodeLoader::DATE_TIME_NODE);
            $catalog->setDateTime($datetime);
        }

        if(($newCatalog = $document->getNewCatalog()) === null) {
            $newCatalog = $this->loader->getInstance(NodeLoader::NEW_CATALOG_NODE);
            $document->setNewCatalog($newCatalog);
        }

        return $document;
    }
1310901
public function build() {
        if (!$this->build) {
            $driver      = 'this7\sql\build\\' . C('sql', 'driver');
            $this->build = new $driver($this->connection);
        }
        return $this->build;
    }