lib/PHPWord/PHPWord/Section/Settings.php
public function setSettingValue($key, $value) {
		if($key == '_orientation' && $value == 'landscape') {
			$this->setLandscape();
		} elseif($key == '_orientation' && is_null($value)) {
			$this->setPortrait();
		} elseif($key == '_borderSize') {
			$this->setBorderSize($value);
		} elseif($key == '_borderColor') {
			$this->setBorderColor($value);
		} else {
			$this->$key = $value;
		}
	}
public function setSettingValue($key, $value) {
		if($key == '_orientation' && $value == 'landscape') {
			$this->setLandscape();
		} elseif($key == '_orientation' && is_null($value)) {
			$this->setPortrait();
		} elseif($key == '_borderSize') {
			$this->setBorderSize($value);
		} elseif($key == '_borderColor') {
			$this->setBorderColor($value);
		} else {
			$this->$key = $value;
		}
	}
public function setSettingValue ( $ key , $ value ) { if ( $ key == '_orientation' && $ value == 'landscape' ) { $ this -> setLandscape ( ) ; } elseif ( $ key == '_orientation' && is_null ( $ value ) ) { $ this -> setPortrait ( ) ; } elseif ( $ key == '_borderSize' ) { $ this -> setBorderSize ( $ value ) ; } elseif ( $ key == '_borderColor' ) { $ this -> setBorderColor ( $ value ) ; } else { $ this -> $ key = $ value ; } }
Set Setting Value

@param string $key
@param string $value
Set Setting Value