Method | Description | |
---|---|---|
getMatchingPaths ( array | object $value, string $pathInStructure ) : array | Returns list of all paths in hierarchic structure (nested arrays, objects) matching given pattern. | |
getMnReferenceDetails ( |
Returns complex info about the M:N reference. The source is always the given entity, target is the second one. | |
getValueReferenceDetails ( string $reference ) : array | Returns parsed info about the value reference. | |
valueMatchesWildcard ( $valueWithWildcards, $value ) |
Method | Description | |
---|---|---|
getMatchingPathsFromSubtree ( $value, $pathParts ) | ||
getSourceColumn ( |
Returns name of column referencing synchronized entity in the junction table. |
public static getMnReferenceDetails ( |
||
$dbSchema | ||
$entityName | ||
$reference | ||
return | array | The details has keys 'junction-table', 'source-entity', 'source-column', 'target-entity' and 'target-column'. |
public static getValueReferenceDetails ( string $reference ) : array | ||
$reference | string | |
return | array | The details has keys 'source-column', 'source-value', 'value-column' |
public static valueMatchesWildcard ( $valueWithWildcards, $value ) |