abstract class ThrobberBase in Ajax loader 7
@file Class ThrobberBase
Hierarchy
- class \ThrobberBase implements ThrobberInterface
Expanded class hierarchy of ThrobberBase
File
- lib/
throbber/ ThrobberBase.php, line 8 - Class ThrobberBase
View source
abstract class ThrobberBase implements ThrobberInterface {
protected $path;
protected $markup;
protected $css_file;
protected $label;
/**
* ThrobberBase constructor.
*/
public function __construct() {
$this->path = drupal_get_path('module', 'ajax_loader');
$this->markup = $this
->setMarkup();
$this->css_file = $this
->setCssFile();
$this->label = $this
->setLabel();
}
/**
* @return mixed
*/
public function getMarkup() {
return $this->markup;
}
/**
* @return mixed
*/
public function getCssFile() {
return $this->css_file;
}
/**
* @return mixed
*/
public function getLabel() {
return $this->label;
}
/**
* Sets markup for throbber.
*/
protected abstract function setMarkup();
/**
* Sets css file for throbber.
*/
protected abstract function setCssFile();
/**
* Sets label for throbber.
*/
protected abstract function setLabel();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ThrobberBase:: |
protected | property | ||
ThrobberBase:: |
protected | property | ||
ThrobberBase:: |
protected | property | ||
ThrobberBase:: |
protected | property | ||
ThrobberBase:: |
public | function |
Overrides ThrobberInterface:: |
|
ThrobberBase:: |
public | function |
Overrides ThrobberInterface:: |
|
ThrobberBase:: |
public | function |
Overrides ThrobberInterface:: |
|
ThrobberBase:: |
abstract protected | function | Sets css file for throbber. | 12 |
ThrobberBase:: |
abstract protected | function | Sets label for throbber. | 12 |
ThrobberBase:: |
abstract protected | function | Sets markup for throbber. | 12 |
ThrobberBase:: |
public | function | ThrobberBase constructor. |