You are here

class PHPExcel_Chart_Title in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Title.php \PHPExcel_Chart_Title

PHPExcel_Chart_Title

@category PHPExcel @package PHPExcel_Chart @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

Hierarchy

Expanded class hierarchy of PHPExcel_Chart_Title

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Title.php, line 36

View source
class PHPExcel_Chart_Title {

  /**
   * Title Caption
   *
   * @var string
   */
  private $_caption = null;

  /**
   * Title Layout
   *
   * @var PHPExcel_Chart_Layout
   */
  private $_layout = null;

  /**
   * Create a new PHPExcel_Chart_Title
   */
  public function __construct($caption = null, PHPExcel_Chart_Layout $layout = null) {
    $this->_caption = $caption;
    $this->_layout = $layout;
  }

  /**
   * Get caption
   *
   * @return string
   */
  public function getCaption() {
    return $this->_caption;
  }

  /**
   * Set caption
   *
   * @param string $caption
   * @return PHPExcel_Chart_Title
   */
  public function setCaption($caption = null) {
    $this->_caption = $caption;
    return $this;
  }

  /**
   * Get Layout
   *
   * @return PHPExcel_Chart_Layout
   */
  public function getLayout() {
    return $this->_layout;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PHPExcel_Chart_Title::$_caption private property * Title Caption * *
PHPExcel_Chart_Title::$_layout private property * Title Layout * *
PHPExcel_Chart_Title::getCaption public function * Get caption * *
PHPExcel_Chart_Title::getLayout public function * Get Layout * *
PHPExcel_Chart_Title::setCaption public function * Set caption * *
PHPExcel_Chart_Title::__construct public function * Create a new PHPExcel_Chart_Title