You are here

class ThrobberTest in Ajax loader 7

@file Class ThrobberTest

Hierarchy

Expanded class hierarchy of ThrobberTest

1 string reference to 'ThrobberTest'
AjaxLoaderTestCase::testManager in ./ajax_loader.test
Test manager.

File

modules/ajax_loader_test/ThrobberTest.php, line 8
Class ThrobberTest

View source
class ThrobberTest extends ThrobberBase {

  /**
   * @inheritdoc
   */
  protected function setMarkup() {
    return '<div class="ajax-throbber"></div>';
  }

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

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

}

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