Class Index | File Index

Classes


Namespace M

The The-M-Project namespace. All The-M-Project methods and functions are defined inside of this namespace.
Defined in: m.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
M
Field Summary
Field Attributes Field Name and Description
<static>  
M.BOTTOM
A constant value for the anchor location: bottom.
<static>  
M.CEIL
A constant value for mathematical ceiling.
<static>  
M.CENTER
A constant value for the anchor location: center.
<static>  
A constant array for day names.
<static>  
M.DAYS
A constant value for days.
<static>  
M.DEBUG
A constant value for logging level: debug.
<static>  
M.ERR
A constant value for logging level: error.
<static>  
A constant value for an error occuring when a connection to an external service could not be established.
<static>  
A constant value for an error occuring when a conflict appears when saving a document in CouchDB.
<static>  
A constant value for an error occuring if a database that shall be created already exists
<static>  
A constant value for an error occuring if the provided database could not be found
<static>  
A constant value for an error occuring if a document could not be found
<static>  
A Data Provider was not set for a model.
<static>  
A constant value for an undefined error.
<static>  
A model record failed validation due to a property does not represent a valid eMail but is required to do so.
<static>  
A model record failed validation due to a property does not represent a valid eMail but is required to do so.
<static>  
A model record failed validation due to a property contains a minus value but it is required to do not.
<static>  
A model record failed validation due to a property is not of type number or represents a number but is required to do so.
<static>  
A model record failed validation due to a property does not represent a phone number but is required to do so.
<static>  
A model record failed validation due to a property is not set but required to be.
<static>  
A model record failed validation due to a property does not represent a valid URL but is required to do so.
<static>  
A constant value for an error occuring with bulkSave operation in dataprovider.
<static>  
A constant value for an error occuring with WebSQL.
<static>  
A constant value for an error occuring with WebSQL.
<static>  
A constant value for an error occuring when dbHandler does not exist in data provider.
<static>  
A constant value for an error occuring with WebSQL.
<static>  
A constant value for an error occuring with WebSQL.
<static>  
A constant value for an error occuring with WebSQL.
<static>  
A constant value for an error occuring with WebSQL.
<static>  
A constant value for an error occuring with WebSQL.
<static>  
A constant value for an error occuring with WebSQL.
<static>  
M.FLOOR
A constant value for mathematical flooring.
<static>  
A constant value for a four column layout of a grid view.
<static>  
A constant value for horizontal alignment.
<static>  
M.HOURS
A constant value for hours.
<static>  
A constant value for hyperlink of type email.
<static>  
A constant value for hyperlink of type phone number.
<static>  
A constant value for hyperlink of type website.
<static>  
M.INFO
A constant value for logging level: info.
<static>  
A global reference to the first instances of M.MapView.
<static>  
A constant value for input type: date
<static>  
A constant value for input type: datetime
<static>  
A constant value for input type: datetime-local
<static>  
A constant value for input type: email
<static>  
A constant value for input type: month
<static>  
A constant value for input type: number
<static>  
A constant value for input type: password
<static>  
A constant value for input type: tel
<static>  
A constant value for input type: text
<static>  
A constant value for input type: time
<static>  
A constant value for input type: url
<static>  
A constant value for input type: week
<static>  
A constant value for landscape left orientation mode.
<static>  
A constant value for landscape right orientation mode.
<static>  
M.LEFT
A constant value for the anchor location: left.
<static>  
A constant value for already receiving error.
<static>  
A constant value for connection error of the google geocoder.
<static>  
A constant value for an invalid request of the google geocoder.
<static>  
A constant value for an error due to too many requests to the google geocoder service.
<static>  
A constant value for a denied request of the google geocoder.
<static>  
A constant value for an unknown error of the google geocoder.
<static>  
A constant value for no results of the google geocoder.
<static>  
A constant value for not supported error.
<static>  
A constant value for permisson denied error.
<static>  
A constant value for position unavailable error.
<static>  
A constant value for timeout error.
<static>  
A constant value for location type: approximate.
<static>  
A constant value for location type: geometric center.
<static>  
A constant value for location type: range interpolated.
<static>  
A constant value for location type: rooftop.
<static>  
A constant value for unknown error.
<static>  
A constant value for map type: hybrid
<static>  
A constant value for the map's marker animation type: bounce
<static>  
A constant value for the map's marker animation type: drop
<static>  
A constant value for the map's marker animation type: none
<static>  
A constant value for map type: roadmap
<static>  
A constant value for map type: satellite
<static>  
A constant value for map type: terrain
<static>  
constant that defines name of createdAt property and column name
<static>  
constant that defines name of m_id column name
<static>  
constant that defines name of updatedAt property and column name
<static>  
A constant value for milliseconds.
<static>  
A constant value for minutes.
<static>  
A constant array for month names.
<static>  
A constant value for multiple selection mode.
<static>  
A constant value for multiple selection mode in a dialog / popup.
<static>  
A constant value for being offline.
<static>  
M.ONLINE
A constant value for being online.
<static>  
A constant value for inverse portrait orientation mode.
<static>  
A constant value for portrait orientation mode.
<static>  
M.RIGHT
A constant value for the anchor location: right.
<static>  
M.ROUND
A constant value for mathematical rounding.
<static>  
A constant value for seconds.
<static>  
A constant value for single selection mode.
<static>  
A constant value for single selection mode in a dialog / popup.
<static>  
A constant value for a three column layout of a grid view.
<static>  
M.TOP
A constant value for the anchor location: top.
<static>  
A constant value for a two column layout of a grid view.
<static>  
The version of The-M-Project
<static>  
A constant value for vertical alignment.
<static>  
M.WARN
A constant value for logging level: warning.
Namespace Detail
M
Field Detail
<static> {String} M.BOTTOM
A constant value for the anchor location: bottom.
Defined in: toolbar.js.

<static> {String} M.CEIL
A constant value for mathematical ceiling.
Defined in: math.js.

<static> {Number} M.CENTER
A constant value for the anchor location: center.
Defined in: toolbar.js.

<static> {String} M.DAY_NAMES
A constant array for day names.
Defined in: date.js.

<static> {String} M.DAYS
A constant value for days.
Defined in: date.js.

<static> {Number} M.DEBUG
A constant value for logging level: debug.
Defined in: logger.js.

<static> {Number} M.ERR
A constant value for logging level: error.
Defined in: logger.js.

<static> {Number} M.ERR_CONNECTION
A constant value for an error occuring when a connection to an external service could not be established.
Defined in: error.js.

<static> {Number} M.ERR_COUCHDB_CONFLICT
A constant value for an error occuring when a conflict appears when saving a document in CouchDB. This is propably caused by duplicate IDs
Defined in: error.js.

<static> {Number} M.ERR_COUCHDB_DBEXISTS
A constant value for an error occuring if a database that shall be created already exists
Defined in: error.js.

<static> {Number} M.ERR_COUCHDB_DBNOTFOUND
A constant value for an error occuring if the provided database could not be found
Defined in: error.js.

<static> {Number} M.ERR_COUCHDB_DOCNOTFOUND
A constant value for an error occuring if a document could not be found
Defined in: error.js.

<static> {Number} M.ERR_MODEL_PROVIDER_NOT_SET
A Data Provider was not set for a model.
Defined in: error.js.

<static> {Number} M.ERR_UNDEFINED
A constant value for an undefined error.
Defined in: error.js.

<static> {Number} M.ERR_VALIDATION_DATE
A model record failed validation due to a property does not represent a valid eMail but is required to do so.
Defined in: error.js.

<static> {Number} M.ERR_VALIDATION_EMAIL
A model record failed validation due to a property does not represent a valid eMail but is required to do so.
Defined in: error.js.

<static> {Number} M.ERR_VALIDATION_NOTMINUS
A model record failed validation due to a property contains a minus value but it is required to do not.
Defined in: error.js.

<static> {Number} M.ERR_VALIDATION_NUMBER
A model record failed validation due to a property is not of type number or represents a number but is required to do so.
Defined in: error.js.

<static> {Number} M.ERR_VALIDATION_PHONE
A model record failed validation due to a property does not represent a phone number but is required to do so.
Defined in: error.js.

<static> {Number} M.ERR_VALIDATION_PRESENCE
A model record failed validation due to a property is not set but required to be.
Defined in: error.js.

<static> {Number} M.ERR_VALIDATION_URL
A model record failed validation due to a property does not represent a valid URL but is required to do so.
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_BULK_NO_RECORDS
A constant value for an error occuring with bulkSave operation in dataprovider. No Record array was passed to the method via the param obj.
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_CONSTRAINT
A constant value for an error occuring with WebSQL. "An INSERT, UPDATE, or REPLACE statement failed due to a constraint failure. For example, because a row was being inserted and the value given for the primary key column duplicated the value of an existing row." Error code in WebSQL specification: 6
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_DATABASE
A constant value for an error occuring with WebSQL. "The statement failed for database reasons not covered by any other error code." Error code in WebSQL specification: 1
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_PROVIDER_NO_DBHANDLER
A constant value for an error occuring when dbHandler does not exist in data provider. Reason: Initialization did not take place or failed.
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_QUOTA
A constant value for an error occuring with WebSQL. "The statement failed because there was not enough remaining storage space, or the storage quota was reached and the user declined to give more space to the database." Error code in WebSQL specification: 4
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_SYNTAX
A constant value for an error occuring with WebSQL. "The statement failed because of a syntax error, or the number of arguments did not match the number of ? placeholders in the statement, or the statement tried to use a statement that is not allowed, such as BEGIN, COMMIT, or ROLLBACK, or the statement tried to use a verb that could modify the database but the transaction was read-only." Error code in WebSQL specification: 5
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_TIMEOUT
A constant value for an error occuring with WebSQL. "A lock for the transaction could not be obtained in a reasonable time." Error code in WebSQL specification: 7
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_TOO_LARGE
A constant value for an error occuring with WebSQL. "The statement failed because the data returned from the database was too large. The SQL "LIMIT" modifier might be useful to reduce the size of the result set." Error code in WebSQL specification: 3
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_UNKNOWN
A constant value for an error occuring with WebSQL. "The transaction failed for reasons unrelated to the database itself and not covered by any other error code." Error code in WebSQL specification: 0
Defined in: error.js.

<static> {Number} M.ERR_WEBSQL_VERSION
A constant value for an error occuring with WebSQL. "The transaction failed for reasons unrelated to the database itself and not covered by any other error code." Error code in WebSQL specification: 2
Defined in: error.js.

<static> {String} M.FLOOR
A constant value for mathematical flooring.
Defined in: math.js.

<static> {String} M.FOUR_COLUMNS
A constant value for a four column layout of a grid view.
Defined in: grid.js.

<static> {String} M.HORIZONTAL
A constant value for horizontal alignment.
Defined in: button_group.js.

<static> {String} M.HOURS
A constant value for hours.
Defined in: date.js.

<static> {String} M.HYPERLINK_EMAIL
A constant value for hyperlink of type email.
Defined in: label.js.

<static> {String} M.HYPERLINK_PHONE
A constant value for hyperlink of type phone number.
Defined in: label.js.

<static> {String} M.HYPERLINK_WEBSITE
A constant value for hyperlink of type website.
Defined in: label.js.

<static> {Number} M.INFO
A constant value for logging level: info.
Defined in: logger.js.

<static> {Object} M.INITIAL_MAP
A global reference to the first instances of M.MapView. We use this to have a accessible hook to the map we can pass to google as a callback object.
Defined in: map.js.

<static> {String} M.INPUT_DATE
A constant value for input type: date
Defined in: text_field.js.

<static> {String} M.INPUT_DATETIME
A constant value for input type: datetime
Defined in: text_field.js.

<static> {String} M.INPUT_DATETIME_LOCAL
A constant value for input type: datetime-local
Defined in: text_field.js.

<static> {String} M.INPUT_EMAIL
A constant value for input type: email
Defined in: text_field.js.

<static> {String} M.INPUT_MONTH
A constant value for input type: month
Defined in: text_field.js.

<static> {String} M.INPUT_NUMBER
A constant value for input type: number
Defined in: text_field.js.

<static> {String} M.INPUT_PASSWORD
A constant value for input type: password
Defined in: text_field.js.

<static> {String} M.INPUT_TELEPHONE
A constant value for input type: tel
Defined in: text_field.js.

<static> {String} M.INPUT_TEXT
A constant value for input type: text
Defined in: text_field.js.

<static> {String} M.INPUT_TIME
A constant value for input type: time
Defined in: text_field.js.

<static> {String} M.INPUT_URL
A constant value for input type: url
Defined in: text_field.js.

<static> {String} M.INPUT_WEEK
A constant value for input type: week
Defined in: text_field.js.

<static> {String} M.LANDSCAPE_LEFT
A constant value for landscape left orientation mode.
Defined in: environment.js.

<static> {String} M.LANDSCAPE_RIGHT
A constant value for landscape right orientation mode.
Defined in: environment.js.

<static> {Number} M.LEFT
A constant value for the anchor location: left.
Defined in: toolbar.js.

<static> {String} M.LOCATION_ALREADY_RECEIVING
A constant value for already receiving error.
Defined in: location_manager.js.

<static> {String} M.LOCATION_GEOCODER_ERROR
A constant value for connection error of the google geocoder.
Defined in: location_manager.js.

<static> {String} M.LOCATION_GEOCODER_INVALID_REQUEST
A constant value for an invalid request of the google geocoder.
Defined in: location_manager.js.

<static> {String} M.LOCATION_GEOCODER_OVER_QUERY_LIMIT
A constant value for an error due to too many requests to the google geocoder service.
Defined in: location_manager.js.

<static> {String} M.LOCATION_GEOCODER_REQUEST_DENIED
A constant value for a denied request of the google geocoder.
Defined in: location_manager.js.

<static> {String} M.LOCATION_GEOCODER_UNKNOWN_ERROR
A constant value for an unknown error of the google geocoder.
Defined in: location_manager.js.

<static> {String} M.LOCATION_GEOCODER_ZERO_RESULTS
A constant value for no results of the google geocoder.
Defined in: location_manager.js.

<static> {String} M.LOCATION_NOT_SUPPORTED
A constant value for not supported error.
Defined in: location_manager.js.

<static> {String} M.LOCATION_PERMISSION_DENIED
A constant value for permisson denied error.
Defined in: location_manager.js.

<static> {String} M.LOCATION_POSITION_UNAVAILABLE
A constant value for position unavailable error.
Defined in: location_manager.js.

<static> {String} M.LOCATION_TIMEOUT
A constant value for timeout error.
Defined in: location_manager.js.

<static> {Number} M.LOCATION_TYPE_APPROXIMATE
A constant value for location type: approximate.
Defined in: location_manager.js.

<static> {Number} M.LOCATION_TYPE_GEOMETRIC_CENTER
A constant value for location type: geometric center.
Defined in: location_manager.js.

<static> {Number} M.LOCATION_TYPE_RANGE_INTERPOLATED
A constant value for location type: range interpolated.
Defined in: location_manager.js.

<static> {Number} M.LOCATION_TYPE_ROOFTOP
A constant value for location type: rooftop.
Defined in: location_manager.js.

<static> {String} M.LOCATION_UNKNOWN_ERROR
A constant value for unknown error.
Defined in: location_manager.js.

<static> {String} M.MAP_HYBRID
A constant value for map type: hybrid
Defined in: map.js.

<static> {String} M.MAP_MARKER_ANIMATION_BOUNCE
A constant value for the map's marker animation type: bounce
Defined in: map_marker.js.

<static> {String} M.MAP_MARKER_ANIMATION_DROP
A constant value for the map's marker animation type: drop
Defined in: map_marker.js.

<static> {String} M.MAP_MARKER_ANIMATION_NONE
A constant value for the map's marker animation type: none
Defined in: map_marker.js.

<static> {String} M.MAP_ROADMAP
A constant value for map type: roadmap
Defined in: map.js.

<static> {String} M.MAP_SATELLITE
A constant value for map type: satellite
Defined in: map.js.

<static> {String} M.MAP_TERRAIN
A constant value for map type: terrain
Defined in: map.js.

<static> M.META_CREATED_AT
constant that defines name of createdAt property and column name

<static> M.META_M_ID
constant that defines name of m_id column name

<static> M.META_UPDATED_AT
constant that defines name of updatedAt property and column name

<static> {String} M.MILLISECONDS
A constant value for milliseconds.
Defined in: date.js.

<static> {String} M.MINUTES
A constant value for minutes.
Defined in: date.js.

<static> {String} M.MONTH_NAMES
A constant array for month names.
Defined in: date.js.

<static> {String} M.MULTIPLE_SELECTION
A constant value for multiple selection mode.
Defined in: selection_list.js.

<static> {String} M.MULTIPLE_SELECTION_DIALOG
A constant value for multiple selection mode in a dialog / popup.
Defined in: selection_list.js.

<static> {String} M.OFFLINE
A constant value for being offline.
Defined in: environment.js.

<static> {String} M.ONLINE
A constant value for being online.
Defined in: environment.js.

<static> {String} M.PORTRAIT_BOTTOM
A constant value for inverse portrait orientation mode.
Defined in: environment.js.

<static> {String} M.PORTRAIT_TOP
A constant value for portrait orientation mode.
Defined in: environment.js.

<static> {Number} M.RIGHT
A constant value for the anchor location: right.
Defined in: toolbar.js.

<static> {String} M.ROUND
A constant value for mathematical rounding.
Defined in: math.js.

<static> {String} M.SECONDS
A constant value for seconds.
Defined in: date.js.

<static> {String} M.SINGLE_SELECTION
A constant value for single selection mode.
Defined in: selection_list.js.

<static> {String} M.SINGLE_SELECTION_DIALOG
A constant value for single selection mode in a dialog / popup.
Defined in: selection_list.js.

<static> {String} M.THREE_COLUMNS
A constant value for a three column layout of a grid view.
Defined in: grid.js.

<static> {String} M.TOP
A constant value for the anchor location: top.
Defined in: toolbar.js.

<static> {String} M.TWO_COLUMNS
A constant value for a two column layout of a grid view.
Defined in: grid.js.

<static> M.Version
The version of The-M-Project

<static> {String} M.VERTICAL
A constant value for vertical alignment.
Defined in: button_group.js.

<static> {Number} M.WARN
A constant value for logging level: warning.
Defined in: logger.js.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 25 2012 20:41:09 GMT+0100 (MEZ)