From a4056e15d509949aefdd5efad6da7c752c483fcc Mon Sep 17 00:00:00 2001 From: Niclas Berglind Date: Sat, 1 Mar 2014 15:02:44 +0100 Subject: [PATCH] Implemented getName method in Dataset class Signed-off-by: Niclas Berglind --- src/Dataset.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Dataset.php b/src/Dataset.php index 8cf2802..c620e8a 100644 --- a/src/Dataset.php +++ b/src/Dataset.php @@ -10,12 +10,12 @@ class OMVModuleZFSDataset { // Attributes /** - * XXX + * Name of Dataset * * @var string $name * @access private */ - private $_name; + private $name; /** * XXX @@ -44,13 +44,13 @@ class OMVModuleZFSDataset { // Associations // Operations /** - * XXX + * Return name of the Dataset * - * @return string XXX + * @return string $name * @access public */ public function getName() { - trigger_error('Not Implemented!', E_USER_WARNING); + return $this->name; } /** @@ -90,7 +90,7 @@ class OMVModuleZFSDataset { * @return void XXX * @access public */ - public function setFeatures($list) { + public function setFeatures($list) { trigger_error('Not Implemented!', E_USER_WARNING); } -- 2.39.2