[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/resources/lib/oojs/ -> oojs.jquery.js (summary)

Namespace for all classes, static methods and static properties.

File Size: 879 lines (25 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  simpleArrayCombine()
  validateMethod()

Functions
Functions that are not part of a class:

simpleArrayCombine( a, b, includeB )   X-Ref
Combine arrays (intersection or difference).

An intersection checks the item exists in 'b' while difference checks it doesn't.

Arrays values must be convertable to object keys (strings).

By building an object (with the values for keys) of 'b' we can
compute the result faster.

param: {Array} a First array
param: {Array} b Second array
param: {boolean} includeB Whether to items in 'b'
return: {Array} Combination (intersection or difference) of arrays

validateMethod( method, context )   X-Ref
Validate a function or method call in a context

For a method name, check that it names a function in the context object

param: {Function|string} method Function or method name
param: {Mixed} context The context of the call



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1