<?php

/**
 * ContactExternalTokens class
 */
class ContactExternalTokens extends BaseContactExternalTokens {

	/**
	 * Return ContactExternalToken by token
	 *
	 * @access public
	 * @param string $token
	 * @return ContactExternalToken
	 */
	function findByToken($token){
	    return self::instance()->findOne(array(
	       'conditions' => array('`token` = ?', $token) 
	    ));
	}


}

?>