Location: PHPKode > projects > NOLA > includes/pc4p/apidoc/class_pc4p_text.xml
<?xml version="1.0"?><phpdoc><class name="pc4p_text" extends="pc4p_object" undoc="false" access="private" package="pc4p"><file>/data/customers/alex/htdocs/include/pc4p_text.inc</file><doc><author email="hide@address.com">Alexander Wirtz</author><inherited src="Array"/><overriden src="Array"/><description/><shortdescription>Text object provides text-funktionality</shortdescription></doc><function name="pc4p_text" undoc="false" access="public"><doc><author email="hide@address.com">Alexander Wirtz</author><parameter name="&amp;$parent" type="object pc4p_page"/><return type="void"/><description/><shortdescription>Constructor</shortdescription></doc></function><function name="pc4p_set_font" undoc="false" access="public"><doc><author email="hide@address.com">Alexander Wirtz</author><parameter name="$fontname" type="string"/><parameter name="$fontsize" default="10" type="integer"/><parameter name="$encoding" default="&amp;quot;host&amp;quot;" type="string"/><return type="void"/><description/><shortdescription>Sets the font for this object.</shortdescription></doc></function><function name="pc4p_set_text" undoc="false" access="public"><doc><author email="hide@address.com">Alexander Wirtz</author><parameter name="$text" type="string"/><return type="void"/><description/><shortdescription>Sets the text which the object shall print later on</shortdescription></doc></function><function name="pc4p_set_underline" undoc="false" access="public"><doc><author email="hide@address.com">Alexander Wirtz</author><return type="void"/><description/><shortdescription>Shall the text have an underline?</shortdescription></doc></function><function name="pc4p_linefeed" undoc="false" access="private"><doc><author email="hide@address.com">Alexander Wirtz</author><parameter name="&amp;$text" type="string"/><return name="$rowcount" type="integer"/><description>shall occur during print out. Returns the rows which the text needs.</description><shortdescription>Formats the text for the actual width and inserts | where a newline</shortdescription></doc></function><function name="pc4p_draw" undoc="true" access="public"><doc><author email="hide@address.com">Alexander Wirtz</author><return type="void"/><overriden src="pc4p_object"/><description/><shortdescription>Draws the text for the set fontoptions.</shortdescription></doc></function><function name="pc4p_calc_alignment" undoc="false" access="private"><doc><author email="hide@address.com">Alexander Wirtz</author><parameter name="$text" type="string"/><return name="$act_width" type="integer"/><description/><shortdescription>Calculates the position of the text according to the set alignment</shortdescription></doc></function><function name="pc4p_calc_offset" undoc="true" access="private"><doc><author email="hide@address.com">Alexander Wirtz</author><parameter name="&amp;$parent" type="object pc4p_page"/><return name="$this" type="int"> -&amp;gt;height</return><overriden src="pc4p_object"/><description>object and applies linefeed where necessary. Returns the sizefor the complete object.</description><shortdescription>Calculates the stringwidth for the current text and font in the</shortdescription></doc></function><variable name="$margin" access="private" type="array">array( &amp;quot;top&amp;quot; =&amp;gt; 0, &amp;quot;bottom&amp;quot; =&amp;gt; 0, &amp;quot;left&amp;quot; =&amp;gt; 0, &amp;quot;right&amp;quot; =&amp;gt; 0 )<doc><overriden src="pc4p_object"/><description/><shortdescription>Margins for this text</shortdescription></doc></variable><variable name="$fontname" access="private" type="string">&amp;quot;Times-Roman&amp;quot;<doc><description/><shortdescription>Fontname for this text</shortdescription></doc></variable><variable name="$fontsize" access="private" type="integer">10<doc><description/><shortdescription>Fontsize for this text</shortdescription></doc></variable><variable name="$encoding" access="private" type="string">&amp;quot;host&amp;quot;<doc><description/><shortdescription>Encoding used for this text</shortdescription></doc></variable><variable name="$underline" access="private" type="integer"><doc><description/><shortdescription>Underline for this text</shortdescription></doc></variable><variable name="$text" access="private" type="string"><doc><description/><shortdescription>Text for this text...haha</shortdescription></doc></variable><inherited src="pc4p_object" type="functions"><element>pc4p_object</element><element>pc4p_set_margin</element><element>pc4p_set_width</element><element>pc4p_set_alignment</element><element>pc4p_set_textleading</element><element>pc4p_draw_children</element></inherited><inherited src="pc4p_object" type="variables"><element>$children</element><element>$pdfp</element><element>$width</element><element>$height</element><element>$act_width</element><element>$act_height</element><element>$draw_height</element><element>$alignment</element><element>$leading</element></inherited><path><parent>pc4p_object</parent></path><baseclass>pc4p_object</baseclass></class></phpdoc>
Return current item: NOLA