/** * Locks the supplied table or tables. The table names must be prefixed. * * @see Piwik_Sql::lockTables * * @param string|array $tablesToRead The table or tables to obtain 'read' locks on. * @param string|array $tablesToWrite The table or tables to obtain 'write' locks on. * @return Zend_Db_Statement */ function Piwik_LockTables($tablesToRead, $tablesToWrite = array()) { return Piwik_Sql::lockTables($tablesToRead, $tablesToWrite); }