Created
May 19, 2016 07:11
-
-
Save virbo/81217577f41a544799481f79fa93590c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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