PHP 트레잇 Lndj\Traits\Parser

파일 보기 프로젝트 열기: lndj/lcrawl

공개 메소드들

메소드 설명
parserCommonTable ( type | Object $body, type | string $selector = '#DataGrid1' ) : array Parser the common table, like cet, chooseClass, etc.
parserHiddenValue ( type $body ) : type Parser the hidden value of HTML form.
parserOthersHiddenValue ( type $body ) : type When get Grade info, the hidden value is not same as login page.
parserSchedule ( Object $body ) : Array Paser the schedule data.

메소드 상세

parserCommonTable() 공개 메소드

Parser the common table, like cet, chooseClass, etc.
public parserCommonTable ( type | Object $body, type | string $selector = '#DataGrid1' ) : array
$body type | Object
$selector type | string
리턴 array

parserHiddenValue() 공개 메소드

Parser the hidden value of HTML form.
public parserHiddenValue ( type $body ) : type
$body type
리턴 type

parserOthersHiddenValue() 공개 메소드

When get Grade info, the hidden value is not same as login page.
public parserOthersHiddenValue ( type $body ) : type
$body type
리턴 type

parserSchedule() 공개 메소드

Paser the schedule data.
public parserSchedule ( Object $body ) : Array
$body Object
리턴 Array