Class Xml2PdfTag_date

Description

<date> tag.

the tag <date> have the same properties than the tag <Xml2Pdf_Tag_paragraph>. It used to add date in header or footer.

  1. <footer>
  2.   <date align="left" format="d/m/Y"/>
  3. </footer>

tag property:

Located in /plugins/tags/xml2pdf.tag.date.php (line 42)

Xml2PdfTag
   |
   --Xml2PdfTextTag
      |
      --Xml2PdfTag_paragraph
         |
         --Xml2PdfTag_date
Variable Summary
 string $format
Method Summary
 void __construct (object $pdf,  &$attributes, object $parentTag, array $attributes)
 void close ()
Variables
Methods
Constructor __construct (line 62)

Constructor.

  • access: public
void __construct (object $pdf,  &$attributes, object $parentTag, array $attributes)
  • object $pdf: object Pdf
  • array $attributes: tag properties
  • object $parentTag: object Xml2PdfTag
  • &$attributes

Redefinition of:
Xml2PdfTag_paragraph::__construct()
Constructor.
close (line 77)

Add the date in header or footer.

  • access: public
void close ()

Redefinition of:
Xml2PdfTag_paragraph::close()
Render the paragraph or add it to the parent tag.

Inherited Methods

Inherited From Xml2PdfTag_paragraph

 Xml2PdfTag_paragraph::__construct()
 Xml2PdfTag_paragraph::close()

Inherited From Xml2PdfTextTag

 Xml2PdfTextTag::__construct()
 Xml2PdfTextTag::close()
 Xml2PdfTextTag::render()
 Xml2PdfTextTag::_cleanContent()
 Xml2PdfTextTag::_makeLine()
 Xml2PdfTextTag::_parseContent()
 Xml2PdfTextTag::_printLine()
 Xml2PdfTextTag::_setStyle()

Inherited From Xml2PdfTag

 Xml2PdfTag::__construct()
 Xml2PdfTag::addContent()
 Xml2PdfTag::close()

Documentation generated on Wed, 11 Oct 2006 22:27:19 +0200 by phpDocumentor 1.3.0