Centrales |  Componentes |  consola |  Debug |  Default |  Fuentes |  SalidaGrafica |  Seguridad |  SIUToba |  Varios |  Deprecated

toba_recurso

toba_recurso

Ubicada en php/nucleo/lib/toba_recurso.php [line 6]



Métodos Propios
static \Atributos   ayuda()  
static void   imagen()  
static void   imagen_de_origen()  
static void   imagen_proyecto()  
static void   imagen_skin()  
static void   imagen_toba()  
static void   js()  
static void   link_css()  
static string   url_proyecto()  
static string   url_skin()  
static string   url_toba()  

static method ayuda  [línea 209]

  static \Atributos ayuda( \char $tecla , string $ayuda = '' ] , string $clases_css = '' ] , integer $delay_ayuda = 1000 ] )

Convierte una ayuda y una tecla de acceso en atributos html adecuados para un TAG Parseando los links y el accesskey
Parámetros:
\char   $tecla: 
string   $ayuda: 
string   $clases_css: 
integer   $delay_ayuda: 





static method imagen  [línea 176]

  static imagen( string $src , string $ancho = null ] , string $alto = null ] , string $alt = null ] , string $mapa = null ] , string $js = '' ] , string $estilo = '' ] )

Construye un tag <img>
Parámetros:
string   $src: 
string   $ancho: 
string   $alto: 
string   $alt: 
string   $mapa: 
string   $js: 
string   $estilo: 





static method imagen_de_origen  [línea 78]

  static imagen_de_origen( $nombre , string $origen )

Alias de imagen_Toba o imagen_proyecto dependiendo del origen
Parámetros:
   $nombre: 
string   $origen: 





static method imagen_proyecto  [línea 101]

  static imagen_proyecto( string $imagen , boolean $html = false ] , string $ancho = null ] , string $alto = null ] , string $tooltip = null ] , string $mapa = null ] , $proyecto = null ] )

Retorna una imagen ubicada en el directorio www/img del proyecto
Parámetros:
string   $imagen: 
boolean   $html: 
string   $ancho: 
string   $alto: 
string   $tooltip: 
string   $mapa: 
   $proyecto: 





static method imagen_skin  [línea 133]

  static imagen_skin( string $imagen , boolean $html = false ] , string $ancho = null ] , string $alto = null ] , string $tooltip = null ] , string $mapa = null ] )

Retorna una imagen perteneciente al skin actual del proyecto
Parámetros:
string   $imagen: 
boolean   $html: 
string   $ancho: 
string   $alto: 
string   $tooltip: 
string   $mapa: 





static method imagen_toba  [línea 153]

  static imagen_toba( string $imagen , boolean $html = false ] , string $ancho = null ] , string $alto = null ] , $alt = null ] , string $mapa = null ] , $js = null ] )

Retorna una imagen comun a todo el framework (ubicada en $toba_dir/www/img)
Parámetros:
string   $imagen: 
boolean   $html: 
string   $ancho: 
string   $alto: 
   $alt: 
string   $mapa: 
   $js: 





static method js  [línea 238]

  static js( string $javascript )

Genera una URL a un recurso js
Parámetros:
string   $javascript: 





static method link_css  [línea 243]

  static link_css( $archivo = 'toba' ] , $rol = 'screen' ] , $buscar_en_proyecto = true ] )

Parámetros:
   $archivo: 
   $rol: 
   $buscar_en_proyecto: 





static method url_proyecto  [línea 15]

  static string url_proyecto( string $proyecto = null ] , $pers = false ] )

Retorna la URL base del proyecto
Parámetros:
string   $proyecto: 
   $pers: 





static method url_skin  [línea 56]

  static string url_skin( $skin = null ] , $proyecto = null ] )

Retorna la URL base del skin actual del proyecto
Parámetros:
   $skin: 
   $proyecto: 





static method url_toba  [línea 32]

  static string url_toba( )

Retorna la URL base del runtime toba (donde esta el js, img y demas recursos globales a todos los proyectos)







Desarrollado por SIU.
Documentación generada con phpDocumentor