void addHtml(
[String
$html = '']
)
|
|
Add the current html to the SourceCode object
- Usage:
- $element = new Element();
- $element->addHtml();
- Or
- $element = new Element();
- $element->addHtml($element->getStart());
Parameters:
|
String |
$html: |
Use other html than fetched from $element->getHtml() |
String getCacheFileName(
[String
$path = '']
)
|
|
Returns the name of the cache file name
If empty name, create a cache file name
Parameters:
|
String |
$path: |
The Path, Where to store the cache files |
API Tags:
| Return: | The path/name of the cache file |
Returns the name of the instanciated class
API Tags:
| Return: | The name of the class |
| Static: | |
Returns the html for the element
API Tags:
| Return: | The complete html |
| Abstract: | |
Redefined in descendants as:
-
Html::getHtml()
: Get Html
-
BodyEnd::getHtml()
: Returns the html for the Body/HTML end tags
-
BodyStart::getHtml()
: Returns the html for the Body start
-
Css::getHtml()
: Returns the html for the css file
-
DocType::getHtml()
: Returns the html for the DocType start
-
HeadStart::getHtml()
: Returns the html for the HTML start
-
Info::getHtml()
: Returns the html for the Info
-
Javascript::getHtml()
: Returns the html for the Javascript file
-
Meta::getHtml()
: Get html
-
Noscript::getHtml()
: Returns the html for the css file
-
ShortcutIcon::getHtml()
: Returns the html for the Shortcut Icon (favicon)
-
Title::getHtml()
: Returns the html for the title
-
Fieldset::getHtml()
: Returns the html for the fieldset control
-
Image::getHtml()
: Get the complete html for an image
-
ImageLink::getHtml()
: Get the complete html for an image-link pair
-
Legend::getHtml()
: Returns the html for the legend control
-
Link::getHtml()
: Get the complete html for a link
-
Picture::getHtml()
: Return the html for the Image and the Link to use
-
Raw::getHtml()
: Returns the html for the text, optional surronded by the html element
-
Skin::getHtml()
: Builds the html for a command
-
Domains::getHtml()
: Builds the html, and return it for an overview of domains
-
Imagerotator::getHtml()
: Builds the html, and return it for an Image Rotator object
-
Rejseplanen::getHtml()
: Builds the html, and return it for the Rejseplanen
-
Shipping::getHtml()
: Get the complete html for a Shipping calculation
-
Tax::getHtml()
: Get the tax calculation
-
Form::getHtml()
-
Input::getHtml()
: Returns the complete html for an input control
-
Label::getHtml()
: Returns the html for the label control
-
Option::getHtml()
: Returns the html for the option control
-
Select::getHtml()
-
Textarea::getHtml()
: Returns the complete html for a textarea control
-
Banner::getHtml()
: Builds the html for a Banner, and return it
-
Bannerif::getHtml()
: Builds the html for a Banner, and return it
-
Branding::getHtml()
: Builds the html for a Branding Top, and return it
-
Company::getHtml()
: Builds the html, and return it for a Customer Information
-
Copyright::getHtml()
: Builds the html, and return it for a Copyright footer
-
Customer::getHtml()
: Builds the html, and return it for a Customer Information
-
Firma::getHtml()
: Builds the html, and return it for a Firma Information
-
Footer::getHtml()
: Builds the html, and return it for a Footer object
-
Locator::getHtml()
: Get the html, and return it for a location
-
Top::getHtml()
: Builds the html for a Top Banner, and return it
-
Design::getHtml()
: Builds the html for a dump parameter form
-
Line::getHtml()
: Builds the html, and return it for a Line object
-
EngineGoogle::getHtml()
: Returns the answer if headers are already sent as html
-
Google::getHtml()
: Builds the html for a Google search box, and return it
-
Icons::getHtml()
: Builds the html for the icons to show
-
Menu::getHtml()
: Builds the html for a menu, and return it
-
MenuLink::getHtml()
: Get the html, and return it for a View of the Disk
-
EngineObject::getHtml()
: '
-
Grid::getHtml()
: Return the html
-
Page::getHtml()
: Returns the content html for the page
-
Comment::getHtml()
: Returns the html for the text, optional surronded by the html element
-
Div::getHtml()
: Returns the html for the div html element
-
Document::getHtml()
: Returns the html for the javascript document.write html element
-
Iframe::getHtml()
: Get the complete html for an IFRAME
-
Paragraph::getHtml()
: Returns the html for a paragraph
-
Span::getHtml()
: Returns the html for the span html element
-
Text::getHtml()
: Returns the html for the text, optional surronded by the html element
-
SmsEngine::getHtml()
: Builds the html for a SMS form
-
SmsErrorView::getHtml()
: Builds the html view for a SMS form
-
SmsThanksView::getHtml()
: Builds the html view for a SMS form
-
SmsView::getHtml()
: Builds the html view for a SMS form
-
SummaSummarum::getHtml()
: Return the html
-
Index::getHtml()
: Returns the html for the supplied links
-
Tab::getHtml()
: Builds the html for a Tab menu, and return it
-
TabBody::getHtml()
: Builds the html for a Tab menu, and return it
-
Table::getHtml()
: Get the complete html for a table
-
ViewCommon::getHtml()
: Return the html
-
ViewDetail::getHtml()
: Return the html
-
ViewForm::getHtml()
: Return the html
-
ViewList::getHtml()
: Return the html
-
ViewPlain::getHtml()
: Return the html
-
ViewXmlReader::getHtml()
: Return the html
-
ViewXmlWriter::getHtml()
: Return the html
-
Skeleton::getHtml()
: Returns the html for the skeleton
-
TableHeader::getHtml()
: Builds the html for a table header, and return it
-
Td::getHtml()
: Get the complete html for a TD
-
Th::getHtml()
: Get the complete html for a TH
-
Tr::getHtml()
: Get the complete html for a TR
-
Tree::getHtml()
: Get the html for the whole tree and all its nodes
-
Node::getHtml()
: Get the html for the node and its children
-
NodeView::getHtml()
: Get the html for the node
-
Referer::getHtml()
: Builds the html for a Referer and builds the keyword to get
-
Timer::getHtml()
: Builds the html for a timer stamp
-
Sax::getHtml()
: Returns the xml file as html
-
Format::getHtml()
: Returns the text as formatted html
-
Server::getHtml()
: Returns the server info as html
String getMsg(
int
$level, String
$msg
)
|
|
Get the formatted message and debug level and Log to file ?
Parameters:
|
int |
$level: |
The debug level. ALL, QUERY, USER, DEBUG, INFO, WARN, ERROR, FATAL, EMAIL or NONE |
|
String |
$msg: |
The message to log |
API Tags:
| Return: | The message in question |
boolean save(
String
$content
)
|
|
Save the SQL cache file
Parameters:
|
String |
$content: |
The html content to save as sql cache |
API Tags:
| Return: | True on succes, false if failure |
void setCacheFileName(
String
$cachefile
)
|
|
Set the path/name of the cache file
Parameters:
|
String |
$cachefile: |
Where to store the cache file |
String toString(
[String
$path = ''], [String
$class = '']
)
|
|
Returns the information for this class
Parameters:
|
String |
$path: |
The path to the source files |
|
String |
$class: |
The name of a valid class name or $this |
API Tags:
| Return: | The complete info for the class in html |
boolean write(
String
$content
)
|
|
Write the content to the file opened by fp
Parameters:
|
String |
$content: |
The content to write |
API Tags:
| Return: | Returns true on success |