You are here

class ThrobberChasingDots in Ajax loader 7

@file Class ThrobberChasingDots

Hierarchy

Expanded class hierarchy of ThrobberChasingDots

1 string reference to 'ThrobberChasingDots'
AjaxLoaderTestCase::testFilledOutSettings in ./ajax_loader.test
Test all the things when settings are set.

File

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

View source
class ThrobberChasingDots extends ThrobberBase {

  /**
   * @inheritdoc
   */
  protected function setMarkup() {
    return '<div class="ajax-throbber sk-chasing-dots">
              <div class="sk-child sk-dot1"></div>
              <div class="sk-child sk-dot2"></div>
            </div>';
  }

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

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

}

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.
ThrobberChasingDots::setCssFile protected function @inheritdoc Overrides ThrobberBase::setCssFile
ThrobberChasingDots::setLabel protected function @inheritdoc Overrides ThrobberBase::setLabel
ThrobberChasingDots::setMarkup protected function @inheritdoc Overrides ThrobberBase::setMarkup