Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class lastvisit extends \phpbb\autogroups\conditions\type\membership |
||
17 | { |
||
18 | /** |
||
19 | * Get condition type |
||
20 | * |
||
21 | * @return string Condition type |
||
22 | * @access public |
||
23 | */ |
||
24 | public function get_condition_type() |
||
25 | { |
||
26 | return 'phpbb.autogroups.type.lastvisit'; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Get condition field (this is the field to check) |
||
31 | * |
||
32 | * @return string Condition field name |
||
33 | * @access public |
||
34 | */ |
||
35 | public function get_condition_field() |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Get condition type name |
||
42 | * |
||
43 | * @return string Condition type name |
||
44 | * @access public |
||
45 | */ |
||
46 | public function get_condition_type_name() |
||
49 | } |
||
50 | } |
||
51 |