]> git.datanom.net - omvzfs.git/blobdiff - src/Dataset.php
Implemented getName method in Dataset class
[omvzfs.git] / 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.039041 seconds and 5 git commands to generate.