0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
UserTable.php
Go to the documentation of this file.
1 <?
24 require_once 'HypertableConnection.php';
25 require_once 'User.php';
26 
27 class UserTable
28 {
29  // Load a User object
30  // So far there's no Database operation involved
31  public function load($userid) {
32  $user=new User();
33  $user->setId($userid);
34  return $user;
35  }
36 }
37 
38 ?>
Copyright (C) 2007-2015 Hypertable, Inc.
Definition: UserTable.php:27
Copyright (C) 2007-2015 Hypertable, Inc.
Definition: User.php:27
load($userid)
Definition: UserTable.php:31