Class: IndiProperties

IndiProperties


new IndiProperties( )

IndiProperties class is a primitive Object contains an individual properties.
Author:

Extends

Members


(private) constructors :Array.<string>

Class chaining.
Type:
  • Array.<string>
Inherited From:
Overrides:

Methods


extend( opts ) → {boolean}

Merge the contents of passed Object into the Self instance.
Parameters:
Name Type Description
opts Object Extended options
Inherited From:
Overrides:
Returns:
  • {boolean} - True if extending is succeeded, false otherwise
Example:
new Base().extend({
	<property>: <value>,
	<method>: function(){
	}
});

(private) getMethodName( [instance] , method [, method [, indexInStack]] ) → {string}

Get the method name.
Parameters:
Name Type Argument Description
instance mixed <optional>
A class instance
method function The method
method string <optional>
Calling stack, only used in strict mode
indexInStack number <optional>
Caller method index in stack, only used in strict mode
Inherited From:
Overrides:
Returns:
  • {string} - The method name

(private) getMethodParams( [instance] , method ) → {Array.<string>}

Get the method params.
Parameters:
Name Type Argument Description
instance mixed <optional>
A class instance
method string The method name
Inherited From:
Overrides:
Returns:
  • {Array.<string>} - The method params

getType( ) → {string}

Get the type of a class.
Inherited From:
Overrides:
Returns:
  • {string} - The type of a class
Examples:
new Properties(<gedcom>, <instance>).getType();
new List(<gedcom>, <instance>).getType();
new Data(<gedcom>, <instance>).getType();

(private) init( instance )

Creates a class.
Parameters:
Name Type Description
instance function Self class
Inherited From:
Overrides: