summaryrefslogtreecommitdiffstats
path: root/lib/class/localplay.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/localplay.class.php')
-rw-r--r--lib/class/localplay.class.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/class/localplay.class.php b/lib/class/localplay.class.php
index 6e01bfe0..6f996e3f 100644
--- a/lib/class/localplay.class.php
+++ b/lib/class/localplay.class.php
@@ -566,6 +566,18 @@ class Localplay {
} // current_instance
/**
+ * get_instance
+ * This returns the specified instance
+ */
+ public function get_instance($uid) {
+
+ $data = $this->_player->get_instance($uid);
+
+ return $data;
+
+ } // get_instance
+
+ /**
* add_instance
* This adds a new instance for the current controller type
*/
@@ -576,6 +588,16 @@ class Localplay {
} // add_instance
/**
+ * delete_instance
+ * This removes an instance (it actually calls the players function)
+ */
+ public function delete_instance($instance_uid) {
+
+ $this->_player->delete_instance($instance_uid);
+
+ } // delete_instance
+
+ /**
* set_active_instance
* This sets the active instance of the localplay controller
*/