Skip to content

Instantly share code, notes, and snippets.

@virbo
Created May 19, 2016 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save virbo/81217577f41a544799481f79fa93590c to your computer and use it in GitHub Desktop.
Save virbo/81217577f41a544799481f79fa93590c to your computer and use it in GitHub Desktop.
public function actionView($table)
{
$tables = $table==''?'mahasiswa':$table;
$filter = '';
$order = '';
$limit = 10;
$offset = 0;
$wsdl = new Soapmodel();
$token = $wsdl->token(self::WSDL_USER,self::WSDL_PASS);
return $this->render('view',[
'dictionary' => $wsdl->dictionary($token,$tables),
'total' => $wsdl->count_all($token,$tables,$filter),
'temp' => $wsdl->recordset($token,$tables,$filter,$order,$limit,$offset),
'table' => $tables
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment