Skip to content

Commit 36b605a

Browse files
author
pedro_morgan
committed
Creating sandbox cos with svn we can, wanna come and play ?
1 parent c80e508 commit 36b605a

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This a play zone with pedro.
2+
3+
Ideas are to create a class that can be easily consumed.
4+
5+
Also make it so it works with smarty on html and JSON for the lugin ;-)
6+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?php
2+
3+
/* This is a conceptual stlye code for feedback and work in progress
4+
Please hack
5+
*/
6+
7+
class ISPConfigClient
8+
{
9+
10+
public function __construct($db_connection = null){
11+
12+
}
13+
14+
//* Get Reseller List
15+
public function reseller_get_list(){
16+
17+
$params = array ( 'sid' => $session_id,
18+
'module' => 'reseller',
19+
'function' => 'reseller_list',
20+
'params' => ''
21+
);
22+
}
23+
24+
public function reseller($ID){
25+
// Get Reseller
26+
$params = array ( 'sid' => $session_id,
27+
'module' => 'reseller',
28+
'function' => 'reseller_get',
29+
'params' => array ( reseller_title => "Reseller1"));
30+
}
31+
}
32+
33+
}
34+
35+
?>

0 commit comments

Comments
 (0)