Commit 36b605af authored by pedro_morgan's avatar pedro_morgan
Browse files

Creating sandbox cos with svn we can, wanna come and play ?

parent c80e5081
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 ;-)
<?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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment