You are here

class ThrobberWave in Ajax loader 7

@file Class ThrobberWave

Hierarchy

Expanded class hierarchy of ThrobberWave

File

lib/throbber/ThrobberWave.php, line 8
Class ThrobberWave

View source
class ThrobberWave extends ThrobberBase {

  /**
   * @inheritdoc
   */
  protected function setMarkup() {
    return '<div class="ajax-throbber sk-wave">
              <div class="sk-rect sk-rect1"></div>
              <div class="sk-rect sk-rect2"></div>
              <div class="sk-rect sk-rect3"></div>
              <div class="sk-rect sk-rect4"></div>
              <div class="sk-rect sk-rect5"></div>
            </div>';
  }

  /**
   * @inheritdoc
   */
  protected function setCssFile() {
    return $this->path . '/css/wave.css';
  }

  /**
   * @inheritdoc
   */
  protected function setLabel() {
    return 'Wave';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ThrobberBase::$css_file protected property
ThrobberBase::$label protected property
ThrobberBase::$markup protected property
ThrobberBase::$path protected property
ThrobberBase::getCssFile public function Overrides ThrobberInterface::getCssFile
ThrobberBase::getLabel public function Overrides ThrobberInterface::getLabel
ThrobberBase::getMarkup public function Overrides ThrobberInterface::getMarkup
ThrobberBase::__construct public function ThrobberBase constructor.
ThrobberWave::setCssFile protected function @inheritdoc Overrides ThrobberBase::setCssFile
ThrobberWave::setLabel protected function @inheritdoc Overrides ThrobberBase::setLabel
ThrobberWave::setMarkup protected function @inheritdoc Overrides ThrobberBase::setMarkup