method init documentation in bbn\Appui\Dbsync

function(bbn\Db $db, $dbs = '', $tables = [], $dbs_table = '') { self::def($dbs, $dbs_table); self::$tables = $tables; self::$_is_init = true; if ( \count(self::$tables) === 0 ){ self::$tables = self::$db->getTables(); } if ( \is_array(self::$tables) ){ foreach ( self::$tables as $i => $t ){ self::$tables[$i] = self::$db->tableFullName($t); } self::$db->setTrigger( '\\bbn\Appui\\dbsync::trigger', ['delete', 'update', 'insert'], ['before', 'after'], self::$tables); } }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.