From: Gergő Tisza Date: Mon, 16 May 2016 09:57:53 +0000 (+0000) Subject: Add Status::getStatusValue() X-Git-Tag: 1.31.0-rc.0~6956^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_modifier.php?a=commitdiff_plain;h=8a3819be844605f61e81d09b8344f7cede9a6079;p=lhc%2Fweb%2Fwiklou.git Add Status::getStatusValue() Change-Id: Id8c87373b560a462dcbffe74c9e7c4780c3147f3 --- diff --git a/includes/Status.php b/includes/Status.php index 3d2c887126..f8370e4488 100644 --- a/includes/Status.php +++ b/includes/Status.php @@ -115,6 +115,14 @@ class Status { $this->sv->setResult( $ok, $value ); } + /** + * Returns the wrapped StatusValue object + * @return StatusValue + */ + public function getStatusValue() { + return $this->sv; + } + /** * Returns whether the operation completed and didn't have any error or * warnings