endCompress() публичный статический Метод

Return the buffer
С версии: 1.4.23
public static endCompress ( ) : string
Результат string
Пример #1
0
 /**
  * Return the HTML markup for this tag
  *
  * @brief Return the HTML markup for this tag
  *
  * @return string
  */
 public function html()
 {
     // Start buffering
     WPDKHTML::startCompress();
     // Open the tag
     echo $this->open;
     // Cycle for tag specify attributes
     foreach ($this->attributes as $attr) {
         if (isset($this->{$attr}) && !is_null($this->{$attr})) {
             printf(' %s="%s"', $attr, stripslashes($this->{$attr}));
         }
     }
     // Cycle for global common attributes
     foreach ($this->_globalAttributes as $attr) {
         if (isset($this->{$attr}) && !is_null($this->{$attr})) {
             if ('class' == $attr) {
                 $classes = self::classInline($this->{$attr});
                 if (!empty($classes)) {
                     printf(' class="%s"', $classes);
                 }
             } else {
                 printf(' %s="%s"', $attr, htmlspecialchars(stripslashes($this->{$attr})));
             }
         }
     }
     // Generic data attribute
     $data = self::dataInline($this->data);
     if (!empty($data)) {
         printf(' %s', $data);
     }
     // Content, only for enclousure TAG
     if ('/>' !== $this->close) {
         // Close the first part tag
         echo '>';
         // Before content
         $this->beforeContent();
         // Content
         $this->draw();
         // After content
         $this->afterContent();
         // Close
         echo $this->close;
     } else {
         echo $this->close;
         echo $this->content;
     }
     return WPDKHTML::endCompress();
 }
Пример #2
0
    /**
     * Return the HTML markup for modal dialog
     *
     * @brief Get HTML
     *
     * @return string
     */
    public function html()
    {
        // Permanent dismiss
        if (!empty($this->dismissed) && in_array(md5($this->id), array_keys($this->dismissed))) {
            return;
        }
        // Get default data as properties
        $this->data['keyboard'] = $this->keyboard;
        $this->data['backdrop'] = $this->backdrop;
        WPDKHTML::startCompress();
        ?>

    <div style="<?php 
        echo $this->static ? 'position:relative;top:auto;left:auto;right:auto;margin:0 auto 20px;z-index:1;max-width:100%' : 'display:none;';
        ?>
"
         class="wpdk-modal <?php 
        echo $this->static ? '' : 'fade';
        ?>
"
      <?php 
        echo self::dataInline($this->data);
        ?>
         id="<?php 
        echo $this->id;
        ?>
"
         tabindex="-1"
         role="wpdk-dialog"
         aria-labelledby="<?php 
        echo $this->aria_title();
        ?>
"
         aria-hidden="true">
      <div style="<?php 
        echo $this->width();
        ?>
" class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <?php 
        echo $this->dismissButton();
        ?>
            <h4 class="modal-title" id="<?php 
        echo $this->aria_title();
        ?>
"><?php 
        echo $this->title;
        ?>
</h4>
          </div>
          <div class="modal-body" <?php 
        echo $this->height();
        ?>
>
            <?php 
        echo $this->content();
        ?>
          </div>
          <?php 
        echo $this->_footer();
        ?>
        </div>
      </div>
    </div>

    <?php 
        return WPDKHTML::endCompress();
    }
Пример #3
0
    /**
     * Return the HTML markup of single Progress bar
     *
     * @brief HTML markup
     *
     * @return string
     */
    public function html()
    {
        // Type
        $type = empty($this->type) ? '' : 'wpdk-progress-bar' . $this->type;
        // Animated
        $animated = empty($this->animated) ? '' : 'active';
        // Striped
        $striped = empty($this->striped) && !$animated ? '' : 'wpdk-progress-bar-striped';
        WPDKHTML::startCompress();
        ?>

    <div class="wpdk-progress-bar <?php 
        echo $type;
        ?>
 <?php 
        echo $animated;
        ?>
 <?php 
        echo $striped;
        ?>
"
         id="<?php 
        echo $this->id;
        ?>
"
         data-label="<?php 
        echo $this->label;
        ?>
"
         role="wpdk-progressbar"
         aria-valuenow="<?php 
        echo $this->percentage;
        ?>
"
         aria-valuemin="0"
         aria-valuemax="100"
         style="width: <?php 
        echo $this->percentage;
        ?>
%">

        <span class="sr-only">
          <?php 
        if ($this->displayPercentage) {
            ?>
            <?php 
            echo empty($this->label) ? $this->percentage . '%' : $this->label;
            ?>
          <?php 
        }
        ?>
        </span>

    </div>

    <?php 
        return WPDKHTML::endCompress();
    }
Пример #4
0
    /**
     * Return the HTML markup for navigator in page.
     *
     * @brief Navigator
     */
    public function navigator()
    {
        WPDKHTML::startCompress();
        // Get the views
        $views = $this->views();
        // If no views available exit
        if (empty($views)) {
            return;
        }
        ?>
    <div class="wpdk-ui-navigator">
    <?php 
        // Prepare an index
        $index = 0;
        /**
         * Loop into the views
         *
         * @var WPDKView $view
         */
        foreach ($views as $view) {
            ?>

      <a href="#" class="wpdk-ui-navigator-bullet <?php 
            echo empty($index) ? 'current' : '';
            ?>
" data-bullet="<?php 
            echo $index++;
            ?>
" ></a>

    <?php 
        }
        ?>

    </div>
    <?php 
        return WPDKHTML::endCompress();
    }
Пример #5
0
    /**
     * Return the HTML markup pf controls layout array
     *
     * @brief Get the HTML
     *
     * @return string
     */
    public function html()
    {
        // Buffering...
        WPDKHTML::startCompress();
        foreach ($this->_cla as $key => $value) {
            ?>

      <?php 
            if (empty($key) || empty($value)) {
                continue;
            }
            ?>

      <?php 
            // Check for collapse fieldset
            $collpase_class = '';
            if ('+' == substr($key, 0, 1)) {
                $collpase_class = 'wpdk-fieldset-collapse wpdk-fieldset-collapse-open';
                $key = ltrim($key, '+');
            } elseif ('-' == substr($key, 0, 1)) {
                $collpase_class = 'wpdk-fieldset-collapse wpdk-fieldset-collapse-close';
                $key = ltrim($key, '-');
            }
            ?>

      <fieldset class="wpdk-form-fieldset wpdk-ui-control <?php 
            echo $collpase_class;
            ?>
">
        <legend><?php 
            echo $key;
            ?>
</legend>
        <div class="wpdk-fieldset-container">
          <?php 
            $this->_processRows($value);
            ?>
        </div>
      </fieldset>

    <?php 
        }
        return WPDKHTML::endCompress();
    }
Пример #6
0
    /**
     * Return the complete HTML mark with the pages to display.
     *
     * @return string
     */
    public function pages()
    {
        WPDKHTML::startCompress();
        ?>

    <div>
      <img style="margin-right:16px;height:380px" class="alignleft" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASMAAAGlCAMAAACGF2DaAAADAFBMVEX////+/v7s7Oz4+Pnf39/9/f4AdKLx8fHl5eXv7+/u7u7q6ur7+/z09PTw8PDy//////hEREQAe8ciIiLSsqv///P///37//9BdKIAdKqXg6L6+/r///suquKWz+//+eKEhITNrary9vjq//+R2Pby3MnI9v9BreLN9f/v///y3MX3//8AjMoudKIAdbL/++b76dji+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ijAAAAAElFTkSuQmCC" />
      <h3>New Placeholders Panel</h3>
      <p>as you may have noticed, there's a new Placeholder panel available when edit a post or a page. This new version easier to use than the previous.</p>
      <p>You can see all registered Placeholders and just click on it to insert them into the editor. You can also filter the registered Placeholders by selecting them by group.</p>
    </div>

    <?php 
        echo WPDKUIPageView::HTML_PAGE_SEPARATOR;
        ?>

    <div>
      <p style="margin-top:48px" class="text-center">
        <img class="aligncenter" src="<?php 
        echo LOGO_128;
        ?>
" />
      </p>
      <h1 style="font-size:60px;color:#666" class="text-center">Thank You</h1>
      <p class="text-center">By clicking on the X button, this dialog won't appear until next update of wpXtreme.</p>
    </div>

    <?php 
        return WPDKHTML::endCompress();
    }
Пример #7
0
 /**
  * Return the HTML markup content of this view
  *
  * @brief Get HTML markup content
  *
  * @return string
  */
 public function html()
 {
     WPDKHTML::startCompress();
     $this->display();
     return WPDKHTML::endCompress();
 }
 /**
  * Return TRUE to stop the display of list item table, FALSE otherwise. Default return FALSE if you do not override.
  *
  * You can override this method to process the action request sent from list table.
  * You can processing bulk and single action. This method must return a boolean in order to re-processed the items
  * list view.
  *
  * @brief Process the bulk actions and standard actions
  *
  * @return bool
  */
 public function process_bulk_action()
 {
     // Process the action result
     $action_result = $this->action_result();
     if (is_object($action_result)) {
         // Get content
         $content = $action_result->data;
         // Sanitize content
         if (!is_string($content)) {
             WPDKHTML::startCompress();
             var_dump($action_result->data);
             $content = WPDKHTML::endCompress();
         }
         // Get type
         $type = $action_result->type;
         // Alert
         $alert = new WPDKUIAlert(false, $content, $type, $action_result->message);
         $alert->display();
     } elseif (!empty($action_result)) {
         $alert = new WPDKUIAlert(false, __('Operation successfully!', WPDK_TEXTDOMAIN), WPDKUIAlertType::SUCCESS, __('Information', WPDK_TEXTDOMAIN));
         $alert->display();
     }
     return false;
 }
Пример #9
0
    /**
     * Return the HTML markup of Popover
     *
     * @brief Popover
     *
     * @return string
     */
    public function html()
    {
        // Get title
        $title = $this->title();
        $title = empty($title) ? '' : sprintf('<h3 class="popover-title">%s</h3>', $title);
        WPDKHTML::startCompress();
        ?>

    <div id="<?php 
        echo $this->id;
        ?>
"
      class="<?php 
        echo WPDKHTMLTag::classInline(array('wpdk-popover', $this->placement, $this->class, empty($this->static) ? '' : 'fade'));
        ?>
">
      <?php 
        echo self::dataInline($this->data);
        ?>
      <div class="arrow"></div>
      <?php 
        echo $title;
        ?>
      <div class="popover-content">
        <?php 
        echo $this->content();
        ?>
      </div>
    </div>

   <?php 
        return WPDKHTML::endCompress();
    }