Class: StylesheetSelect

Source Location: /CORE/system/classes/util/formular/StylesheetSelect.php

Class StylesheetSelect

Class Overview

This class defines a HTML Select Box for all installed Smarty Stylesheets.

You can choose which Stylesheet is preselected. You can choose if Stylesheets are sorted in alphabetical order.

Set all values and call

.

Located in /CORE/system/classes/util/formular/StylesheetSelect.php [line 43]

HtmlElement
   |
   --Select
      |
      --StylesheetSelect
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: StylesheetSelect.php,v 1.1 2007/03/05 00:06:30 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
StylesheetSelect   StylesheetSelect()  
void   setPreSelected()   Sets the Name of the tylesheet to be preselected.
void   setSortAlphabetical()   Sets if the list will be sorted alphabetical.

[ Top ]
Methods
Constructor StylesheetSelect  [line 55]

  StylesheetSelect StylesheetSelect( )



[ Top ]
setPreSelected  [line 63]

  void setPreSelected( String $template  )

Sets the Name of the tylesheet to be preselected.

Parameters:
String   $template:  id the Stylesheet Name


[ Top ]
setSortAlphabetical  [line 72]

  void setSortAlphabetical( boolean $sortAlphabetical  )

Sets if the list will be sorted alphabetical.

Default id TRUE.

Parameters:
boolean   $sortAlphabetical:  sortAlphabetical if the list will be sorted or not


[ Top ]