Property | Type | Description | |
---|---|---|---|
$type | string | The formatters class name. |
Method | Description | |
---|---|---|
__construct ( string $type = '', array $params = [] ) | Initializes the formatter node with the necessary data. | |
getPrimaryKey ( ) : string | Returns the nodes primary key, the name by default. | |
getType ( ) : string | Returns information about the formatters class name. |
public __construct ( string $type = '', array $params = [] ) | ||
$type | string | The formatters class name |
$params | array | The formatter params |
public getPrimaryKey ( ) : string | ||
return | string | The nodes primary key |