PHP 클래스 MC4WP_Debug_Log_Reader

파일 보기 프로젝트 열기: dannyvankooten/mailchimp-for-wordpress

공개 메소드들

메소드 설명
__construct ( $file ) MC4WP_Debug_Log_Reader constructor.
all ( ) : string
lines ( integer $start, integer $number ) : string Reads X number of lines.
read ( ) : string | null
read_as_html ( ) : string

비공개 메소드들

메소드 설명
seek_line_from_end ( integer $n ) Sets file pointer to $n of lines from the end of file.

메소드 상세

__construct() 공개 메소드

MC4WP_Debug_Log_Reader constructor.
public __construct ( $file )
$file

all() 공개 메소드

public all ( ) : string
리턴 string

lines() 공개 메소드

If $start is negative, reads from end of log file.
public lines ( integer $start, integer $number ) : string
$start integer
$number integer
리턴 string

read() 공개 메소드

public read ( ) : string | null
리턴 string | null

read_as_html() 공개 메소드

public read_as_html ( ) : string
리턴 string