class ChartCredits in Charts 8.3
Same name and namespace in other branches
- 8 modules/charts_highcharts/src/Settings/Highcharts/ChartCredits.php \Drupal\charts_highcharts\Settings\Highcharts\ChartCredits
Chart Credits.
Hierarchy
- class \Drupal\charts_highcharts\Settings\Highcharts\ChartCredits implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable
Expanded class hierarchy of ChartCredits
1 file declares its use of ChartCredits
- Highcharts.php in modules/
charts_highcharts/ src/ Plugin/ chart/ Highcharts.php
File
- modules/
charts_highcharts/ src/ Settings/ Highcharts/ ChartCredits.php, line 8
Namespace
Drupal\charts_highcharts\Settings\HighchartsView source
class ChartCredits implements \JsonSerializable {
private $enabled = FALSE;
private $text;
private $position;
private $href = '#';
/**
* Is Enabled.
*
* @return bool
* Enabled.
*/
public function isEnabled() {
return $this->enabled;
}
/**
* Set Enabled.
*
* @param bool $enabled
* Enabled.
*/
public function setEnabled($enabled) {
$this->enabled = $enabled;
}
/**
* @return mixed
*/
public function getText() {
return $this->text;
}
/**
* @param mixed $text
*/
public function setText($text) {
$this->text = $text;
}
/**
* @return mixed
*/
public function getPosition() {
return $this->position;
}
/**
* @param mixed $position
*/
public function setPosition($position) {
$this->position = $position;
}
/**
* @return mixed
*/
public function getHref() {
return $this->href;
}
/**
* @param mixed $href
*/
public function setHref($href) {
$this->href = $href;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartCredits:: |
private | property | ||
ChartCredits:: |
private | property | ||
ChartCredits:: |
private | property | ||
ChartCredits:: |
private | property | ||
ChartCredits:: |
public | function | ||
ChartCredits:: |
public | function | ||
ChartCredits:: |
public | function | ||
ChartCredits:: |
public | function | Is Enabled. | |
ChartCredits:: |
public | function | Json Serialize. | |
ChartCredits:: |
public | function | Set Enabled. | |
ChartCredits:: |
public | function | ||
ChartCredits:: |
public | function | ||
ChartCredits:: |
public | function |