Class CreateLinkPdf

Description

Create links using text strings

Located in /pdf/CreateLinkPdf.inc (line 29)

CreateElementPdf
   |
   --CreateLinkPdf
Method Summary
CreateLinkPdf __construct ()
void __destruct ()
void createLink (string $arrArgs[0], string $arrArgs[1], string $arrArgs[2])
string getFont ()
string getLink ()
string getTitle ()
void initLink (string $arrArgs[0]['title'], string $arrArgs[0]['link'], string $arrArgs[0]['font'])
string __toString ()
Variables

Inherited Variables

Inherited from CreateElementPdf

CreateElementPdf::$_xml
Methods
static method getInstance (line 95)

Singleton, return instance of class

  • access: public
static CreateLink getInstance ()
Constructor __construct (line 62)

Construct

  • access: public
CreateLinkPdf __construct ()

Redefinition of:
CreateElementPdf::__construct()
Construct
Destructor __destruct (line 72)

Destruct

  • access: public
void __destruct ()

Redefinition of:
CreateElementPdf::__destruct()
Destruct
createEmbeddedLink (line 141)

Create an embedded link to add in others elements like lists, tables...

  • access: public
void createEmbeddedLink ()
createLink (line 156)

Create a link

  • access: public
void createLink (string $arrArgs[0], string $arrArgs[1], string $arrArgs[2])
  • string $arrArgs[0]: Text to add
  • string $arrArgs[1]: URL to add
  • string $arrArgs[2]: RFONTS
getFont (line 131)

Getter. Access to font var

  • access: public
string getFont ()
getLink (line 109)

Getter. Access to link var

  • access: public
string getLink ()
getTitle (line 120)

Getter. Access to title var

  • access: public
string getTitle ()
initLink (line 172)

Init a link to assign values to variables

  • access: public
void initLink (string $arrArgs[0]['title'], string $arrArgs[0]['link'], string $arrArgs[0]['font'])
  • string $arrArgs[0]['title']: Text to add
  • string $arrArgs[0]['link']: URL to add
  • string $arrArgs[0]['font']: RFONTS
__toString (line 83)

Magic method, returns current XML

  • return: Return current XML
  • access: public
string __toString ()

Redefinition of:
CreateElementPdf::__toString()

Inherited Methods

Inherited From CreateElementPdf

CreateElementPdf::__construct()
CreateElementPdf::cleanTemplate()
CreateElementPdf::generateDiv()
CreateElementPdf::generateInnerDiv()
CreateElementPdf::generateNewStyleDiv()
CreateElementPdf::generateNewStyleSpan()
CreateElementPdf::generateRandom()
CreateElementPdf::generateStyleDiv()
CreateElementPdf::generateStyleSpan()
CreateElementPdf::generateTextSpan()
CreateElementPdf::__destruct()
CreateElementPdf::__toString()

Documentation generated on Thu, 22 Mar 2012 12:32:04 +0100 by phpDocumentor 1.4.3