public static function get_model( $slug ) {

		$slug = $slug instanceof Table ? $slug->get_slug() : $slug;

		if ( isset( static::$tables[ $slug ] ) ) {
			return static::$tables[ $slug ]['model'];
		} else {
			return null;
		}
	}
public static function get_model( $slug ) {

		$slug = $slug instanceof Table ? $slug->get_slug() : $slug;

		if ( isset( static::$tables[ $slug ] ) ) {
			return static::$tables[ $slug ]['model'];
		} else {
			return null;
		}
	}
public static function get_model ( $ slug ) { $ slug = $ slug instanceof Table ? $ slug -> get_slug ( ) : $ slug ; if ( isset ( static :: $ tables [ $ slug ] ) ) { return static :: $ tables [ $ slug ] [ 'model' ] ; } else { return null ; } }
Get the model for a table.

@since 2.0

@param string|Table $slug

@return string|null
Get the model for a table .