[ PHPXref.com ] [ Generated: Sun Jul 20 17:19:34 2008 ] [ dompdf 0.5 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/include/ -> cached_pdf_decorator.cls.php (summary)

DOMPDF - PHP5 HTML to PDF renderer File: $RCSfile: cached_pdf_decorator.cls.php,v $ Created on: 2004-07-23

Author: Benj Carson
Copyright: 2004 Benj Carson
Version: 0.3
File Size: 180 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Cached_PDF_Decorator:: (26 methods):
  __construct()
  get_cpdf()
  open_object()
  reopen_object()
  close_object()
  add_object()
  serialize_object()
  reopen_serialized_object()
  get_width()
  get_height()
  get_page_number()
  get_page_count()
  set_page_number()
  set_page_count()
  line()
  rectangle()
  filled_rectangle()
  polygon()
  circle()
  image()
  text()
  page_text()
  new_page()
  stream()
  output()
  get_messages()


Class: Cached_PDF_Decorator  - X-Ref

Caching canvas implementation

Each rendered page is serialized and stored in the {@link Page_Cache}.
This is useful for static forms/pages that do not need to be re-rendered
all the time.

This class decorates normal CPDF_Adapters.  It is currently completely
experimental.

__construct($cache_id, CPDF_Adapter $pdf)   X-Ref
No description

get_cpdf()   X-Ref
No description

open_object()   X-Ref
No description

reopen_object()   X-Ref
No description

close_object()   X-Ref
No description

add_object($object, $where = 'all')   X-Ref
No description

serialize_object($id)   X-Ref
No description

reopen_serialized_object($obj)   X-Ref
No description

get_width()   X-Ref
No description

get_height()   X-Ref
No description

get_page_number()   X-Ref
No description

get_page_count()   X-Ref
No description

set_page_number($num)   X-Ref
No description

set_page_count($count)   X-Ref
No description

line($x1, $y1, $x2, $y2, $color, $width, $style = array()   X-Ref
No description

rectangle($x1, $y1, $w, $h, $color, $width, $style = array()   X-Ref
No description

filled_rectangle($x1, $y1, $w, $h, $color)   X-Ref
No description

polygon($points, $color, $width = null, $style = array()   X-Ref
No description

circle($x, $y, $r1, $color, $width = null, $style = null, $fill = false)   X-Ref
No description

image($img_url, $x, $y, $w = null, $h = null)   X-Ref
No description

text($x, $y, $text, $font, $size, $color = array(0,0,0)   X-Ref
No description

page_text($x, $y, $text, $font, $size, $color = array(0,0,0)   X-Ref
No description

new_page()   X-Ref
No description

stream($filename)   X-Ref
No description

output()   X-Ref
No description

get_messages()   X-Ref
No description



[ Powered by PHPXref - Served by Debian GNU/Linux ]