Class: DesignSelect

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

Class DesignSelect

Class Overview

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

You can choose which Design is preselected. You can choose if Designs are sorted in alphabetical order.

Set all values and call

.

Located in /CORE/system/classes/util/formular/DesignSelect.php [line 44]

HtmlElement
   |
   --Select
      |
      --DesignSelect
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: DesignSelect.php,v 1.3 2008/02/11 15:10:52 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

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

[ Top ]
Methods
Constructor DesignSelect  [line 60]

  DesignSelect DesignSelect( )



[ Top ]
setPreSelected  [line 68]

  void setPreSelected( String $template  )

Sets the Name of the Design to be preselected.

Parameters:
String   $template:  id the Design ID


[ Top ]
setSortAlphabetical  [line 78]

  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 ]