Rev | Line | |
---|
[310] | 1 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
---|
| 2 | |
---|
| 3 | class User_model extends CI_Model |
---|
| 4 | { |
---|
| 5 | |
---|
| 6 | //private $_tblname = 'tbluser'; |
---|
| 7 | |
---|
| 8 | function __construct(){ |
---|
| 9 | parent::__construct(); |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | function test() |
---|
| 13 | { |
---|
| 14 | echo "OK"; |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | function checkLogin ($src, $token, $username, $password) |
---|
| 18 | { |
---|
| 19 | echo $username; |
---|
| 20 | $xmlData = $this->vservices->actionExecute('login', array('src' => $src, 'token' => $token, 'username' => $username, 'password' => $password), 'user'); |
---|
| 21 | return $xmlData; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.