dojox/dtl/_base.register (version 1.10)

Summary

A register for filters and tags.

See the dojox/dtl/_base.register reference documentation for more information.

Property Summary

Method Summary

  • _any(type,base,locations)
  • filters(base,locations) Register the specified filter libraries.
  • get(module,name)
  • getAttributeTags()
  • tags(base,locations) Register the specified tag libraries.

Properties

_registry
Defined by: dojox/dtl/_base

Methods

_any(type,base,locations)
Defined by dojox/dtl/_base
Parameter Type Description
type undefined
base undefined
locations undefined
filters(base,locations)
Defined by dojox/dtl/_base

Register the specified filter libraries.

The locations parameter defines the contents of each library as a hash whose keys are the library names and values an array of the filters exported by the library. For example, the filters exported by the date library would be:

{ "dates": ["date", "time", "timesince", "timeuntil"] }
Parameter Type Description
base String

The base path of the libraries.

locations Object

An object defining the filters for each library as a hash whose keys are the library names and values an array of the filters exported by the library.

get(module,name)
Defined by dojox/dtl/_base
Parameter Type Description
module String

dojox/form/RangeSlider

name String
Returns:undefined
getAttributeTags()
Defined by dojox/dtl/_base
Returns:Array
tags(base,locations)
Defined by dojox/dtl/_base

Register the specified tag libraries.

The locations parameter defines the contents of each library as a hash whose keys are the library names and values an array of the tags exported by the library. For example, the tags exported by the logic library would be:

{ logic: ["if", "for", "ifequal", "ifnotequal"] }
Parameter Type Description
base String

The base path of the libraries.

locations Object

An object defining the tags for each library as a hash whose keys are the library names and values an array of the tags or filters exported by the library.

Error in the documentation? Can’t find what you are looking for? Let us know!