?
Solved

what does this function means

Posted on 2008-06-11
3
Medium Priority
?
224 Views
Last Modified: 2012-06-27
hi all ,

I found this function ezPRVTcleanUp in pdf converter to html does any one know what does it means and what does its usage

best regards
mohr4000
0
Comment
Question by:mohr4000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
ray-solomon earned 2000 total points
ID: 21765211
That is part of the ezpdf library.

The ezPRVTcleanUp() function executes the ezPRVTaddPageNumbers() function.
It appears to count the number of pages for the pdf before it outputs the pdf to the browser.

When one of these methods are called to output the pdf in your implementation, it will execute the ezPRVTcleanUp() function.
$pdf->ezStream();
$pdf->ezOutput();



This function:

function ezPRVTcleanUp(){
  $this->ezPRVTaddPageNumbers();
}

simply calls this function:

function ezPRVTaddPageNumbers(){
  // this will go through the pageNumbering array and add the page numbers are required
...
0
 
LVL 10

Assisted Solution

by:ray-solomon
ray-solomon earned 2000 total points
ID: 21765230
BTW, you don't use that function directly, the class itself will call it when needed.
You only need to use the methods that are available to use as explained in the documentation.

http://www.ros.co.nz/pdf/readme.pdf
0
 

Author Comment

by:mohr4000
ID: 21766644
please guys does there is a way to make it work and display utf-8 encoding if it is possible can you guide me how to or I make another question?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question