application/models/User_model.php
/**
     * Finds a count of user by username
     * 
     * @param type $username
     * @return object
     */
Finds a count of user by username

@param type $username
@return object
Finds a count of user by username @param type $username @return object
public function findCountByUsername($username) {
        $count = R::count('user', ' username = :username AND active = 1 ', [':username' => $username]);
        return $count;
    }
public function findCountByUsername ( $ username ) { $ count = R :: count ( 'user' , ' username = :username AND active = 1 ' , [ ':username' => $ username ] ) ; return $ count ; }
Finds a count of user by username
Finds a count of user by username