apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: Text_Figlet

Source Location: /Text_Figlet-1.0.0/Text/Figlet.php

Class Overview




Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 25]


[ Top ]


Class Variables

$font =

[line 70]

Is used for keeping font
  • Access: protected

Type:   array


[ Top ]

$hardblank =

[line 61]

Information about special 'hardblank' character
  • Access: protected

Type:   integer


[ Top ]

$height =

[line 34]

Height of a letter
  • Access: protected

Type:   integer


[ Top ]

$oldlayout =

[line 43]

Letter baseline
  • Access: protected

Type:   integer


[ Top ]

$rtol =

[line 52]

Flag - RTL (right to left) or LTR (left to right) text direction
  • Access: protected

Type:   integer


[ Top ]

$smush_flag =

[line 79]

Flag is true if smushing occured in letters printing cycle
  • Access: protected

Type:   integer


[ Top ]



Method Detail

lineEcho   [line 234]

string lineEcho( string $str, [bool $inhtml = false])

Print string using font loaded by LoadFont method
  • Return: contains
  • Access: public

Parameters:

string   $str   —  string for printing
bool   $inhtml   —  (optional) output mode - HTML (true) or plain text (false)

[ Top ]

loadFont   [line 93]

mixed loadFont( string $filename, [bool $loadgerman = true])

Load user font. Must be invoked first.

Automatically tries the Text_Figlet font data directory as long as no path separator is in the filename.

  • Return: PEAR_Error or true for success
  • Access: public

Parameters:

string   $filename   —  font file name
bool   $loadgerman   —  (optional) load German character set or not

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:56:26 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.