1: <?php
2: /**
3: * DataTables PHP libraries.
4: *
5: * PHP libraries for DataTables and DataTables Editor, utilising PHP 5.3+.
6: *
7: * @author SpryMedia
8: * @copyright 2012 SpryMedia ( http://sprymedia.co.uk )
9: * @license http://editor.datatables.net/license DataTables Editor
10: * @link http://editor.datatables.net
11: */
12:
13: namespace DataTables\Editor;
14: if (!defined('DATATABLES')) exit();
15:
16: use DataTables\Editor\Join;
17:
18:
19: /**
20: * The `Mjoin` class extends the `Join` class with the join data type set to
21: * 'array', whereas the `Join` default is `object` which has been rendered
22: * obsolete by the `Editor->leftJoin()` method. The API API is otherwise
23: * identical.
24: *
25: * This class is recommended over the `Join` class.
26: */
27: class Mjoin extends Join
28: {
29: function __construct( $table=null )
30: {
31: parent::__construct( $table, 'array' );
32: }
33: }
34: