#warning.class.php
#Created by Guto Ferreira on 8 July 2005 15:52 GMT
---> How to use it
TO RUN THIS CLASS YOU JUST HAVE TO FOLLOW THIS SINGLE STEPS
STEP ONE - Unzip all files on package warnings.class.rar to your PHP-GTK root directory
STEP TWO - Click on demo.bat and here is the app running :)
---->Frequently asked questions
Question 1:
__________
My text is not on the middle of the window , what mut i do ?
------------------------------------------------------------
Edit the class and seach for the line below on the function count_and_format :
$ftext = $this->format_text("",10," ",$new_text[0]." ".$new_text[1]." ".$new_text[2]."",1,"").$this->format_text("\n",15," ",$new_text[3]." ".$new_text[4]." ".$new_text[5]." ",1,"\n");
To change the space alignment just increase or decrease the second and the five parameter of the method format_text() on line under
Question 2:
__________
How can i debug the array elements of my message?
This is not necessary,however, if you want do that search for the line below on function count_and_format, and uncomment the line below:
#echo"<pre>\nElementos :";
#print_r($simpleWord);
#echo "</pre>\n";
Feel free to send comments bugs and corrections
Use the site http://onidesk.sytes.net/contacto.php to send your opinions
Use the chat on http://onidesk.sytes.net/ for updates and live discussion |