myUser.class.php 282 Bytes
Newer Older
Игорь's avatar
init    
Игорь committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

class myUser extends doAuthSecurityUser
{
    public function isFirstRequest($boolean = null)
    {
        if (is_null($boolean)) {
            return $this->getAttribute('first_request', true);
        }

        $this->setAttribute('first_request', $boolean);
    }
    
}