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

Class: Text_Figlet

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

Class Overview


ASCII art text creation


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 34]
ASCII art text creation

Project home page (Russian): http://bolknote.ru/files/figlet/

PHP Version 4



[ Top ]


Class Variables

$font =

[line 79]

Is used for keeping font
  • Access: protected

Type:   array


[ Top ]

$font_comment =

[line 98]

Comment lines buffer
  • Access: public

Type:   string


[ Top ]

$hardblank =

[line 70]

Information about special 'hardblank' character
  • Access: protected

Type:   integer


[ Top ]

$height =

[line 43]

Height of a letter
  • Access: protected

Type:   integer


[ Top ]

$oldlayout =

[line 52]

Letter baseline
  • Access: protected

Type:   integer


[ Top ]

$rtol =

[line 61]

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

Type:   integer


[ Top ]

$smush_flag =

[line 88]

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

Type:   integer


[ Top ]



Method Detail

lineEcho   [line 281]

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 112]

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 15:37:56 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.