Location: PHPKode > projects > Anahita Social Engine > site/filters/story.php
<?php
/**
 * @category	Anahita Social Engine™
 * @copyright	Copyright (C) 2008 - 2010 rmdStudio Inc. and Peerglobe Technology Inc. All rights reserved.
 * @license		GNU GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
 * @link     	http://www.anahitapolis.com
 */

class ComSocialengineFilterStory extends KFilterString
{
	protected function _validate($value)
	{
		$ret = preg_match('/[A-Z0-9]+/i', $value);
		return parent::_validate($value) && $ret;
	}	
}
Return current item: Anahita Social Engine