You are here

class CThree in Charts 8

Same name and namespace in other branches
  1. 8.3 modules/charts_c3/src/Settings/CThree/CThree.php \Drupal\charts_c3\Settings\CThree\CThree

Hierarchy

  • class \Drupal\charts_c3\Settings\CThree\CThree implements \Drupal\charts_c3\Settings\CThree\JsonSerializable

Expanded class hierarchy of CThree

1 file declares its use of CThree
charts_c3.module in modules/charts_c3/charts_c3.module
Charts module integration with C3 library.

File

modules/charts_c3/src/Settings/CThree/CThree.php, line 5

Namespace

Drupal\charts_c3\Settings\CThree
View source
class CThree implements \JsonSerializable {
  private $color;
  private $bindto;
  private $data;
  private $axis;
  private $title;

  /**
   * @return mixed
   */
  public function getTitle() {
    return $this->title;
  }

  /**
   * @param mixed $title
   */
  public function setTitle($title) {
    $this->title = $title;
  }

  /**
   * @return mixed
   */
  public function getAxis() {
    return $this->axis;
  }

  /**
   * @param mixed $axis
   */
  public function setAxis($axis) {
    $this->axis = $axis;
  }

  /**
   * @return mixed
   */
  public function getData() {
    return $this->data;
  }

  /**
   * @param mixed $data
   */
  public function setData($data) {
    $this->data = $data;
  }

  /**
   * @return string
   */
  public function getBindTo() {
    return $this->bindto;
  }

  /**
   * @param mixed $bindto
   */
  public function setBindTo($bindto) {
    $this->bindto = $bindto;
  }

  /**
   * @return mixed
   */
  public function getColor() {
    return $this->color;
  }

  /**
   * @param mixed $color
   */
  public function setColor($color) {
    $this->color = $color;
  }

  /**
   * @return array
   */
  public function jsonSerialize() {
    $vars = get_object_vars($this);
    return $vars;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CThree::$axis private property
CThree::$bindto private property
CThree::$color private property
CThree::$data private property
CThree::$title private property
CThree::getAxis public function
CThree::getBindTo public function
CThree::getColor public function
CThree::getData public function
CThree::getTitle public function
CThree::jsonSerialize public function
CThree::setAxis public function
CThree::setBindTo public function
CThree::setColor public function
CThree::setData public function
CThree::setTitle public function