phpDocumentor menu
[ class tree: menu ] [ index: menu ] [ all elements ]

Class: Google

Source Location: /myphp-1.9/myphp-1.9-menu/html/page/Google.php

Class Google

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Html

Html::$elements
Html::$sizeof

Inherited From Object

Object::$cachefile
Object::$html
Object::$sql

Inherited From Html

Html::Html()
Constructor
Html::add()
Add an element, the number of elements are stored internally in an array.
Html::content()
Read the content of the specified filename
Html::display()
Display the html
Html::get()
Get the complete html for a key
Html::getAttribute()
Get the complete html for an attribute, i.e. <a class="myclass" ...
Html::getElement()
Get the element at position $i in array
Html::getElements()
Get all the elements as html
Html::getHtml()
Get Html
Html::getHtmlHelp()
Get html help
Html::getSizeof()
Get the number of elements added
Html::getTag()
Get the complete html for a html tag, i.e. <p>My paragraph</p>
Html::read()
Read the content of the specified filename and language
Html::set()
Set the named attribute (key) of a class to specified value
Html::setObject()
Set the named object to the class attribute (key), with same name
Html::showsource()
Show source
Html::update()
Save the content of the specified filename and language

Inherited From Object

Object::Object()
Constructor
Object::addHtml()
Add the current html to the SourceCode object
Object::getCacheFileName()
Returns the name of the cache file name
Object::getClassName()
Returns the name of the instanciated class
Object::getHtml()
Returns the html for the element
Object::getMsg()
Get the formatted message and debug level and Log to file ?
Object::save()
Save the SQL cache file
Object::setCacheFileName()
Set the path/name of the cache file
Object::toString()
Returns the information for this class
Object::write()
Write the content to the file opened by fp

[ Top ]
Property Summary
mixed   $border  
mixed   $caption  
mixed   $cellPadding  
mixed   $cellSpacing  
mixed   $class  
mixed   $summary  
mixed   $text  
mixed   $width  

[ Top ]
Method Summary
Google   Google()   Constructor
void   display()   Display html
void   end()   Display end html
String   getChar()   Return the google letters with the right color
String   getData()   Builds the html for a Google search box, and return it
String   getEnd()   Builds the end html for a Google search box, and return it
String   getHtml()   Builds the html for a Google search box, and return it
String   getSponsor()   Builds the custom sponsor Google logo
String   getStart()   Builds the start html for a Google search box, and return it
void   start()   Display start html

[ Top ]
Properties
mixed   $border = '' [line 47]

[ Top ]
mixed   $caption = '' [line 52]

[ Top ]
mixed   $cellPadding = '' [line 49]

[ Top ]
mixed   $cellSpacing = '' [line 50]

[ Top ]
mixed   $class = '' [line 48]

[ Top ]
mixed   $summary = '' [line 51]

[ Top ]
mixed   $text = '' [line 43]

[ Top ]
mixed   $width = '' [line 46]

[ Top ]
Methods
Constructor Google  [line 60]

  Google Google( [String $text = ''], [String $class = ''], [String $width = '']  )

Constructor

Parameters:
String   $text:  The default search pattern
String   $class:  The CSS class name
String   $width:  The width


[ Top ]
display  [line 296]

  void display( [String $text = ''], [String $class = ''], [String $width = '']  )

Display html

  1. Usage:
  2. Google::display($text,$class,$width);

Parameters:
String   $text:  The default search pattern
String   $class:  The CSS class name
String   $width:  The width

API Tags:
Static:  


Redefinition of:
Html::display()
Display the html

[ Top ]
end  [line 280]

  void end( )

Display end html

  1. Usage:
  2. Google::end();


API Tags:
Static:  


[ Top ]
getChar  [line 153]

  String getChar( String $class, String $char  )

Return the google letters with the right color

Parameters:
String   $class:  The css class name
String   $char:  The char to colorize

API Tags:
Return:  The letters


[ Top ]
getData  [line 214]

  String getData( )

Builds the html for a Google search box, and return it

This function assumes that you already have a table like:

  1. <table ...><tr><td>...</td> ... <google> ... <td>...</td></tr></table>


API Tags:
Return:  The google seach box as html


[ Top ]
getEnd  [line 112]

  String getEnd( )

Builds the end html for a Google search box, and return it


API Tags:
Return:  The end if the form as html


[ Top ]
getHtml  [line 165]

  String getHtml( )

Builds the html for a Google search box, and return it

This function assumes that you already have a table like:

  1. <table ...><tr><td>...</td> ... <google> ... <td>...</td></tr></table>


API Tags:
Return:  The google seach box as html


Redefinition of:
Html::getHtml()
Get Html

[ Top ]
getSponsor  [line 128]

  String getSponsor( )

Builds the custom sponsor Google logo


API Tags:
Return:  The html


[ Top ]
getStart  [line 95]

  String getStart( )

Builds the start html for a Google search box, and return it


API Tags:
Return:  The start of the form as html


[ Top ]
start  [line 267]

  void start( [String $text = ''], [String $class = ''], [String $width = '']  )

Display start html

  1. Usage:
  2. Google::start($text,$class,$width);

Parameters:
String   $text:  The default search pattern
String   $class:  The CSS class name
String   $width:  The width

API Tags:
Static:  


[ Top ]

Documentation generated on Thu, 22 Dec 2005 17:08:51 +0100 by phpDocumentor 1.3.0RC3