[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Web/UI/WebControls/ -> TStyleSheet.php (sommaire)

TStyleSheet class file.

Author: Wei Zhuo
Copyright: Copyright © 2005 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: TStyleSheet.php 1397 2006-09-07 07:55:53Z wei $
Poids: 91 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

TStyleSheet:: (6 méthodes):
  setStyleSheetUrl()
  getStyleSheetUrl()
  getMediaType()
  setMediaType()
  onPreRender()
  render()


Classe: TStyleSheet  - X-Ref

TStyleSheet class.

TStyleSheet represents the link to a stylesheet file and/or a piece of
stylesheet code. To specify the link to a CSS file, set {@link setStyleSheetUrl StyleSheetUrl}.
The child rendering result of TStyleSheet is treated as CSS code and
is rendered within an appropriate style HTML element.
Therefore, if the child content is not empty, you should place the TStyleSheet
control in the head section of your page to conform to the HTML standard.
If only CSS file URL is specified, you may place the control anywhere on your page
and the style element will be rendered in the right position.

setStyleSheetUrl($value)   X-Ref

param: string URL to the stylesheet file

getStyleSheetUrl()   X-Ref

return: string URL to the stylesheet file

getMediaType()   X-Ref

return: string media type of the CSS (such as 'print', 'screen', etc.). Defaults to empty, meaning the CSS applies to all media types.

setMediaType($value)   X-Ref

param: string media type of the CSS (such as 'print', 'screen', etc.). If empty, it means the CSS applies to all media types.

onPreRender($param)   X-Ref
Registers the stylesheet file and content to be rendered.
This method overrides the parent implementation and is invoked right before rendering.

param: mixed event parameter

render($writer)   X-Ref
Renders the control.
This method overrides the parent implementation and renders nothing.

param: ITextWriter writer



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7