C# Class nabu.Modelo

Afficher le fichier Open project: sabtvg/nabu Class Usage Examples

Méthodes publiques

Свойство Type Description
activo bool
enUso bool
errores object>.Dictionary
etiqueta string
firmaConsenso string
icono string
idioma string
niveles int
nombre string
titulo string

Protected Properties

Свойство Type Description
consensoAlcanzado bool
grupo Grupo
modo eModo
variables List

Méthodes publiques

Méthode Description
HTMLFlores ( Nodo n, bool showVariante, Usuario u ) : string
addError ( int nivel, string s ) : string
area ( string id, Propuesta prop, int width, int height, bool tieneFlores ) : string
ejecutarConsenso ( Documento doc ) : void
getModelo ( string id ) : Modelo
getModelos ( ) : List
getValue ( string id, Propuesta prop ) : object
getValueResaltado ( string id, Propuesta prop ) : string
getVariable ( string id ) : Variable
getVariables ( ) : List
hayError ( ) : bool
isVariable ( string id ) : bool
parse ( string id, string valor ) : object
toHTML ( List props, Grupo g, string email, int width, eModo modo ) : string
toHTML ( Propuesta prop, Grupo g, string email, int width, eModo modo ) : string
toHTMLComentarios ( int nivel, Propuesta prop, Grupo g, string email, int width, bool agregar ) : string
tr ( string msg ) : string
txt ( string id, Propuesta prop, int width, bool tieneFlores ) : string

Méthodes protégées

Méthode Description
crearVariables ( ) : void
getProp ( int nivel, List props ) : Propuesta
toHTMLContenido ( int nivel, Propuesta prop, Grupo g, string email, int width ) : string

Private Methods

Méthode Description
getSeparadorIndex ( string s ) : int
getTextosHermanos ( Nodo padre, Nodo n, string id ) : List
toHTML ( string s ) : string

Method Details

HTMLFlores() public méthode

public HTMLFlores ( Nodo n, bool showVariante, Usuario u ) : string
n Nodo
showVariante bool
u Usuario
Résultat string

addError() public méthode

public addError ( int nivel, string s ) : string
nivel int
s string
Résultat string

area() public méthode

public area ( string id, Propuesta prop, int width, int height, bool tieneFlores ) : string
id string
prop Propuesta
width int
height int
tieneFlores bool
Résultat string

crearVariables() protected abstract méthode

protected abstract crearVariables ( ) : void
Résultat void

ejecutarConsenso() public méthode

public ejecutarConsenso ( Documento doc ) : void
doc Documento
Résultat void

getModelo() public static méthode

public static getModelo ( string id ) : Modelo
id string
Résultat Modelo

getModelos() public static méthode

public static getModelos ( ) : List
Résultat List

getProp() protected méthode

protected getProp ( int nivel, List props ) : Propuesta
nivel int
props List
Résultat Propuesta

getValue() public méthode

public getValue ( string id, Propuesta prop ) : object
id string
prop Propuesta
Résultat object

getValueResaltado() public méthode

public getValueResaltado ( string id, Propuesta prop ) : string
id string
prop Propuesta
Résultat string

getVariable() public méthode

public getVariable ( string id ) : Variable
id string
Résultat Variable

getVariables() public méthode

public getVariables ( ) : List
Résultat List

hayError() public méthode

public hayError ( ) : bool
Résultat bool

isVariable() public méthode

public isVariable ( string id ) : bool
id string
Résultat bool

parse() public méthode

public parse ( string id, string valor ) : object
id string
valor string
Résultat object

toHTML() public méthode

public toHTML ( List props, Grupo g, string email, int width, eModo modo ) : string
props List
g Grupo
email string
width int
modo eModo
Résultat string

toHTML() public méthode

public toHTML ( Propuesta prop, Grupo g, string email, int width, eModo modo ) : string
prop Propuesta
g Grupo
email string
width int
modo eModo
Résultat string

toHTMLComentarios() public méthode

public toHTMLComentarios ( int nivel, Propuesta prop, Grupo g, string email, int width, bool agregar ) : string
nivel int
prop Propuesta
g Grupo
email string
width int
agregar bool
Résultat string

toHTMLContenido() protected abstract méthode

protected abstract toHTMLContenido ( int nivel, Propuesta prop, Grupo g, string email, int width ) : string
nivel int
prop Propuesta
g Grupo
email string
width int
Résultat string

tr() public méthode

public tr ( string msg ) : string
msg string
Résultat string

txt() public méthode

public txt ( string id, Propuesta prop, int width, bool tieneFlores ) : string
id string
prop Propuesta
width int
tieneFlores bool
Résultat string

Property Details

activo public_oe property

public bool activo
Résultat bool

consensoAlcanzado protected_oe property

protected bool consensoAlcanzado
Résultat bool

enUso public_oe property

public bool enUso
Résultat bool

errores public_oe property

public Dictionary errores
Résultat object>.Dictionary

etiqueta public_oe property

public string etiqueta
Résultat string

firmaConsenso public_oe property

public string firmaConsenso
Résultat string

grupo protected_oe property

protected Grupo,nabu grupo
Résultat Grupo

icono public_oe property

public string icono
Résultat string

idioma public_oe property

public string idioma
Résultat string

modo protected_oe property

protected eModo modo
Résultat eModo

niveles public_oe property

public int niveles
Résultat int

nombre public_oe property

public string nombre
Résultat string

titulo public_oe property

public string titulo
Résultat string

variables protected_oe property

protected List variables
Résultat List