public function addExportDocPosition($exportDocPosition) {
		if($this->getExportDocPosition() === null)
			$this->setExportDocPosition($exportDocPosition);
		else if(is_array($this->getExportDocPosition()))
			$this->exportDocPosition[] = $exportDocPosition;
		else {
			// Convert the first existing entry to an array
			$this->setExportDocPosition(array($this->getExportDocPosition(), $exportDocPosition));
		}
	}
public function addExportDocPosition($exportDocPosition) {
		if($this->getExportDocPosition() === null)
			$this->setExportDocPosition($exportDocPosition);
		else if(is_array($this->getExportDocPosition()))
			$this->exportDocPosition[] = $exportDocPosition;
		else {
			// Convert the first existing entry to an array
			$this->setExportDocPosition(array($this->getExportDocPosition(), $exportDocPosition));
		}
	}
public function addExportDocPosition ( $ exportDocPosition ) { if ( $ this -> getExportDocPosition ( ) === null ) $ this -> setExportDocPosition ( $ exportDocPosition ) ; else if ( is_array ( $ this -> getExportDocPosition ( ) ) ) $ this -> exportDocPosition [ ] = $ exportDocPosition ; else { // Convert the first existing entry to an array $ this -> setExportDocPosition ( array ( $ this -> getExportDocPosition ( ) , $ exportDocPosition ) ) ; } }
Adds an ExportDocPosition-Object to the current Object

If the ExportDocPosition was null before, then it will add the entry normal (backwards compatibility)
If the ExportDocPosition was an array before, it just add it to the array
If the ExportDocPosition was just 1 entry before, it will converted to an array with both entries

@param ExportDocPosition $exportDocPosition - Object to add
Adds an ExportDocPosition - Object to the current Object