PHP 클래스 pchStringStream, php-commit-hooks

파일 보기 프로젝트 열기: kore/php-commit-hooks

보호된 프로퍼티들

프로퍼티 타입 설명
$length integer Cached length of the string
$position integer Current position inside the string
$string string String, wrapped by the stream

공개 메소드들

메소드 설명
stream_eof ( ) : boolean Has the stream reached its end?
stream_open ( string $path, string $mode, mixed $options, mixed &$opened_path ) : boolean Open stream
stream_read ( integer $count ) : string Read from stream
stream_seek ( integer $offset, integer $whence ) : boolean Seek to a defined position in the string
stream_stat ( ) : void Returns information about the stream
stream_tell ( ) : integer Tell current stream position
stream_write ( string $data ) : integer Write to stream

메소드 상세

stream_eof() 공개 메소드

Has the stream reached its end?
public stream_eof ( ) : boolean
리턴 boolean

stream_open() 공개 메소드

Open stream
public stream_open ( string $path, string $mode, mixed $options, mixed &$opened_path ) : boolean
$path string
$mode string
$options mixed
$opened_path mixed
리턴 boolean

stream_read() 공개 메소드

Read from stream
public stream_read ( integer $count ) : string
$count integer
리턴 string

stream_seek() 공개 메소드

Seek to a defined position in the string
public stream_seek ( integer $offset, integer $whence ) : boolean
$offset integer
$whence integer
리턴 boolean

stream_stat() 공개 메소드

Returns information about the stream
public stream_stat ( ) : void
리턴 void

stream_tell() 공개 메소드

Tell current stream position
public stream_tell ( ) : integer
리턴 integer

stream_write() 공개 메소드

Write to stream
public stream_write ( string $data ) : integer
$data string
리턴 integer

프로퍼티 상세

$length 보호되어 있는 프로퍼티

Cached length of the string
protected int $length
리턴 integer

$position 보호되어 있는 프로퍼티

Current position inside the string
protected int $position
리턴 integer

$string 보호되어 있는 프로퍼티

String, wrapped by the stream
protected string $string
리턴 string