add NotImplementedException and update version to 1.0.5
[GitHub/Stricted/speedport-hybrid-php-api.git] / lib / trait / Firewall.class.php
index 6dae731895221f7fc8b718b68dd10759b980efcd..3fbe070fcab38332d7a7493d59d67cd84dd37482 100644 (file)
@@ -14,8 +14,6 @@ trait Firewall {
                $data = $this->getData('Portforwarding');
                $data = $this->getValues($data);
                
-               //print_r($data);
-               
                if (isset($data['addportuw'])) {
                        return $data['addportuw'];
                }
@@ -58,6 +56,8 @@ trait Firewall {
         * @param       integer $device
         */
        public function addPortforwardingEntry ($name, $device) {
+               throw new NotImplementedException();
+               
                // TODO: find a way to make this possible
                /* fields:
                 * 
@@ -104,6 +104,7 @@ trait Firewall {
         * @param       integer $device
         */
        public function editPortforwardingEntry ($id, $name, $device) {
+               throw new NotImplementedException();
                // TODO: find a way to make this possible
        }
 }