]> git.datanom.net - omvzfs.git/commitdiff
Implemented getName method in Dataset class
authorNiclas Berglind <nb@kjam.se>
Sat, 1 Mar 2014 14:02:44 +0000 (15:02 +0100)
committerMichael Rasmussen <mir@datanom.net>
Sat, 1 Mar 2014 14:17:47 +0000 (15:17 +0100)
Signed-off-by: Niclas Berglind <nb@kjam.se>
src/Dataset.php

index 8cf2802e48921892bac95f63140cdc21ba6b2007..c620e8a9a0986234d316b45625aad7ffb61909c9 100644 (file)
 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<Feature>) {
+    public function setFeatures($list) {
         trigger_error('Not Implemented!', E_USER_WARNING);
     }
 
This page took 0.032998 seconds and 5 git commands to generate.