메소드 |
설명 |
|
__construct ( $base_uri, $user, $isCacheCookie = false, $loginParam = [] ) |
|
|
getAll ( ) : Array |
By Concurrent requests, to get all the data. |
|
getCache ( ) : Doctrine\Common\Cache\Cache |
Return the cache manager. |
|
getCachePrefix ( ) : type |
Get the cache cookie prefix, default is Lcrawl. |
|
getCet ( ) : type | Object |
Get the CET data. |
|
getCookie ( boolean $forceRefresh = false ) : string |
Get cookie from cache or login. |
|
getExam ( ) : type |
Get the default term exam data by GET. |
|
getGrade ( ) : type |
Get the grade data. This function is request all of grade. |
|
getLoginUri ( ) : type |
Get the login uri. |
|
getMainPageUri ( ) : string |
Get the main page uri, the default value is 'xs_main.aspx' |
|
getReferer ( ) : type |
Get the Referer header. |
|
getSchedule ( ) : Array |
Get the schedule data |
|
getTimeOut ( ) : type |
Get the Timeout. |
|
getUa ( ) : type |
Get the User-Agent value. |
|
login ( ) |
Login, and get the cookie jar. |
|
setCache ( Doctrine\Common\Cache\Cache $cache ) : Lcrawl |
Set the cache manager. |
|
setCachePrefix ( type $prefix ) : type |
Set the cache cookie prefix, default is Lcrawl. |
|
setLoginUri ( type $uri ) : type |
Set the Login uri. The default uri is default_ysdx.aspx. |
|
setMainPageUri ( string $uri ) : type |
Set the main page uri, the default value is 'xs_main.aspx' |
|
setReferer ( type $referer ) : type |
Set the Referer header. |
|
setTimeOut ( type $time ) : type |
Set the Timeout. |
|
setUa ( string $ua ) : Object |
Set the UserAgent. |
|