[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/assign/feedback/editpdf/fpdi/ -> pdf_context.php (summary)

This file is part of FPDI

Copyright: Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
License: http://opensource.org/licenses/mit-license The MIT License
Version: 1.6.1
File Size: 144 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

pdf_context:: (5 methods):
  __construct()
  getPos()
  reset()
  ensureContent()
  increaseLength()


Class: pdf_context  - X-Ref

Class pdf_context

__construct(&$f)   X-Ref
The constructor

param: resource $f

getPos()   X-Ref
Get the position in the file stream

return: int

reset($pos = null, $l = 100)   X-Ref
Reset the position in the file stream.

Optionally move the file pointer to a new location and reset the buffered data.

param: null $pos
param: int $l

ensureContent()   X-Ref
Make sure that there is at least one character beyond the current offset in the buffer.

To prevent the tokenizer from attempting to access data that does not exist.

return: bool

increaseLength($l = 100)   X-Ref
Forcefully read more data into the buffer

param: int $l
return: bool



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1