Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
UserSearch.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  *
10  *
11  */
12 class UserSearch extends User
13 {
14  public function rules()
15  {
16  return array(
17  array('username, email', 'length', 'max' => 255),
18  array('username,email, createtime, lastvisit, status', 'safe', 'on' => 'view'),
19  );
20  }
21 
22 }