# Class Mjoin

The `Mjoin` class extends the `Join` class with the join data type set to 'array', whereas the `Join` default is `object` which has been rendered obsolete by the `Editor->leftJoin()` method. The API API is otherwise identical.

This class is recommended over the `Join` class.

  DataTables\Ext
  DataTables\Editor\Join
  DataTables\Editor\Mjoin

Namespace: DataTables\Editor
Located at Editor/Mjoin.php

Methods summary
`public` | # `__construct( string $table = null , string $type,… )` Join instance constructor. Join instance constructor. #### Parameters $table Table name to get the joined data from. $type,… Work with a single result ('object') or an array of results ('array') for the join. #### Overrides `DataTables\Editor\Join::__construct()`

Methods inherited from DataTables\Editor\Join
`aliasParentTable(), field(), fields(), get(), join(), link(), name(), order(), set(), table(), type(), validator(), where(), whereSet()`

Methods inherited from DataTables\Ext
`_getSet(), _propExists(), _readProp(), _writeProp(), inst(), instantiate()`