C# Class Machete.Web.Helpers.Lookups

ファイルを表示 Open project: SavageLearning/Machete

Private Properties

Property Type Description

Public Methods

Method Description
Initialize ( ILookupCache lc ) : void
byID ( int ID ) : string
byKeys ( string category, string key ) : int
configCategories ( ) : System.Web.Mvc.SelectList
days ( ) : System.Web.Mvc.SelectList
getBool ( bool val ) : string
getDefaultID ( string type ) : int

Gets the default ID for the group

getDefaultSkillHours ( ) : int
getDefaultSkillWage ( ) : double
getEmailTemplates ( ) : List
getEmployerSkill ( ) : List

get the List of skills to present to Employer in Employer online interface

getOnlineEmployerSkill ( ) : List

get the List of skills to present to Employer in Employer online interface

getSelectList ( string type ) : System.Web.Mvc.SelectList

Get the SelectList for the group

getSkill ( bool specializedOnly ) : List

get the List of skills. used in Worker.cshtml & WorkAssignment.cshtml

getTransportationMethodList ( ) : System.Web.Mvc.SelectList

Get the SelectList for the group

hours ( ) : System.Web.Mvc.SelectList
skillLevels ( ) : System.Web.Mvc.SelectList
yesnoSelectList ( CultureInfo CI ) : List

Method Details

Initialize() public static method

public static Initialize ( ILookupCache lc ) : void
lc ILookupCache
return void

byID() public static method

public static byID ( int ID ) : string
ID int
return string

byKeys() public static method

public static byKeys ( string category, string key ) : int
category string
key string
return int

configCategories() public static method

public static configCategories ( ) : System.Web.Mvc.SelectList
return System.Web.Mvc.SelectList

days() public static method

public static days ( ) : System.Web.Mvc.SelectList
return System.Web.Mvc.SelectList

getBool() public static method

public static getBool ( bool val ) : string
val bool
return string

getDefaultID() public static method

Gets the default ID for the group
public static getDefaultID ( string type ) : int
type string
return int

getDefaultSkillHours() public static method

public static getDefaultSkillHours ( ) : int
return int

getDefaultSkillWage() public static method

public static getDefaultSkillWage ( ) : double
return double

getEmailTemplates() public static method

public static getEmailTemplates ( ) : List
return List

getEmployerSkill() public static method

get the List of skills to present to Employer in Employer online interface
public static getEmployerSkill ( ) : List
return List

getOnlineEmployerSkill() public static method

get the List of skills to present to Employer in Employer online interface
public static getOnlineEmployerSkill ( ) : List
return List

getSelectList() public static method

Get the SelectList for the group
public static getSelectList ( string type ) : System.Web.Mvc.SelectList
type string
return System.Web.Mvc.SelectList

getSkill() public static method

get the List of skills. used in Worker.cshtml & WorkAssignment.cshtml
public static getSkill ( bool specializedOnly ) : List
specializedOnly bool only return specialized entries
return List

getTransportationMethodList() public static method

Get the SelectList for the group
public static getTransportationMethodList ( ) : System.Web.Mvc.SelectList
return System.Web.Mvc.SelectList

hours() public static method

public static hours ( ) : System.Web.Mvc.SelectList
return System.Web.Mvc.SelectList

skillLevels() public static method

public static skillLevels ( ) : System.Web.Mvc.SelectList
return System.Web.Mvc.SelectList

yesnoSelectList() public static method

public static yesnoSelectList ( CultureInfo CI ) : List
CI System.Globalization.CultureInfo
return List