Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/export/field/PhabricatorExportField.php
| Show All 19 Lines | public function setLabel($label) { | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getLabel() { | public function getLabel() { | ||||
| return $this->label; | return $this->label; | ||||
| } | } | ||||
| public function getTextValue($value) { | public function getTextValue($value) { | ||||
| return (string)$this->getNaturalValue($value); | $natural_value = $this->getNaturalValue($value); | ||||
| if ($natural_value === null) { | |||||
| return null; | |||||
| } | |||||
| return (string)$natural_value; | |||||
| } | } | ||||
| public function getNaturalValue($value) { | public function getNaturalValue($value) { | ||||
| return $value; | return $value; | ||||
| } | } | ||||
| public function getPHPExcelValue($value) { | public function getPHPExcelValue($value) { | ||||
| return $this->getTextValue($value); | return $this->getTextValue($value); | ||||
| Show All 14 Lines | |||||