Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

Array

Array

Extends

Constructor

Name Description
new Array(source)

Initializes a new array of Base.Array class.

Members

Name Description
ancestor
Static

The ancestor class.

base :  function
Protected

If a method has been overridden, then the base method provides access to the overridden method.

Methods

Name Description
extend(source, keyArgs) : object

Extend an object with the properties of another.

Constructor Details

new Array(source)

Initializes a new array of Base.Array class.

If provided, extends the created instance with the spec in source parameter.

Create an instance of Base.Array by using pentaho.lang.Base.Array.to to convert an existing array instance.

Source: javascript/web/pentaho/lang/Base.js, line 183

Parameters:
Name Default Value Summary
source : Array
Optional

An extension specification.

Members Details

ancestor:
Static

The ancestor class.

Source: javascript/web/pentaho/lang/Base.js, line 287

base:  function
Protected

If a method has been overridden, then the base method provides access to the overridden method.

Can also be called from within a constructor function.

Source: javascript/web/pentaho/lang/Base.js, line 299

Methods Details

extend(source, keyArgs) : object

Extend an object with the properties of another.

Methods that are overridden are accessible through this.base.

This object is extended, but its class doesn't change.

Source: javascript/web/pentaho/lang/Base.js, line 1040

Parameters:
Name Default Value Summary
source : object

The instance specification.

keyArgs : object
Optional

The keyword arguments.

Parameters:
Name Default Value Summary
exclude : object
Optional

A map of property names to exclude from source.

Returns:
Name Description
object

This object.