<?php
/*
 * Copyright (c) 2013, webvariants GbR, http://www.webvariants.de
 *
 * This file is released under the terms of the MIT license. You can find the
 * complete text in the attached LICENSE file or online at:
 *
 * http://www.opensource.org/licenses/mit-license.php
 */

class WV2_Filter_MetaType extends WV_Filter_IntColumn implements WV_IFilter {
	public function __construct($id, $operation = '=') {
		parent::__construct(sly_Core::getTablePrefix().'wv2_meta.meta_type', $id, $operation);
	}

	public function getRequiredTables() {
		return array('wv2_meta');
	}

	public function getJoinCondition($table, $masterTable) {
		return false;
	}
}
