From 36b605af9327e1d149350f8ac99a62034c781cd9 Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Fri, 17 Aug 2007 18:58:17 -0400
Subject: [PATCH] Creating sandbox cos with svn we can, wanna come and play ?
---
interface/web/sandbox-remote_client/README.txt | 6 ++++++
interface/web/sandbox-remote_client/class.ispconfig.remote.client.php | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/interface/web/sandbox-remote_client/README.txt b/interface/web/sandbox-remote_client/README.txt
new file mode 100644
index 0000000..8a4865e
--- /dev/null
+++ b/interface/web/sandbox-remote_client/README.txt
@@ -0,0 +1,6 @@
+This a play zone with pedro.
+
+Ideas are to create a class that can be easily consumed.
+
+Also make it so it works with smarty on html and JSON for the lugin ;-)
+
diff --git a/interface/web/sandbox-remote_client/class.ispconfig.remote.client.php b/interface/web/sandbox-remote_client/class.ispconfig.remote.client.php
new file mode 100644
index 0000000..42a4681
--- /dev/null
+++ b/interface/web/sandbox-remote_client/class.ispconfig.remote.client.php
@@ -0,0 +1,35 @@
+<?php
+
+/* This is a conceptual stlye code for feedback and work in progress
+ Please hack
+*/
+
+class ISPConfigClient
+{
+
+ public function __construct($db_connection = null){
+
+ }
+
+ //* Get Reseller List
+ public function reseller_get_list(){
+
+ $params = array ( 'sid' => $session_id,
+ 'module' => 'reseller',
+ 'function' => 'reseller_list',
+ 'params' => ''
+ );
+ }
+
+ public function reseller($ID){
+ // Get Reseller
+ $params = array ( 'sid' => $session_id,
+ 'module' => 'reseller',
+ 'function' => 'reseller_get',
+ 'params' => array ( reseller_title => "Reseller1"));
+ }
+ }
+
+}
+
+?>
\ No newline at end of file
--
Gitblit v1.9.1