Members
-
(private) constructors :Array.<string>
-
Class chaining.
Type:
- Array.<string>
Methods
-
extend( opts ) → {boolean}
-
Merge the contents of passed Object into the Self instance.
Parameters:
Name Type Description opts
Object Extended options 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 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 Returns:
-
{Array.<string>} - The method params
-
-
getType( ) → {string}
-
Get the type of a class.
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