Show
Ignore:
Timestamp:
09/30/2007 08:10:04 PM (14 months ago)
Author:
xue
Message:

final fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tags/3.1.1/demos/blog/protected/Common/BlogUserManager.php

    r1398 r2290  
    6969                        return false; 
    7070        } 
     71 
     72        /** 
     73         * Saves user auth data into a cookie. 
     74         * @param THttpCookie the cookie to receive the user auth data. 
     75         * @since 3.1.1 
     76         */ 
     77        public function saveUserToCookie($cookie) 
     78        { 
     79                // do nothing since we don't support cookie-based auth in this example 
     80        } 
     81 
     82        /** 
     83         * Returns a user instance according to auth data stored in a cookie. 
     84         * @param THttpCookie the cookie storing user authentication information 
     85         * @return TUser the user instance generated based on the cookie auth data, null if the cookie does not have valid auth data. 
     86         * @since 3.1.1 
     87         */ 
     88        public function getUserFromCookie($cookie) 
     89        { 
     90                // do nothing since we don't support cookie-based auth in this example 
     91                return null; 
     92        } 
    7193} 
    7294