File tree Expand file tree Collapse file tree
interface/web/sandbox-remote_client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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+ ?>
You can’t perform that action at this time.
0 commit comments