public function find($name)
	{
		$hztp = new self();

		if (is_numeric($name))
		{
			$hztp->id = $name;
		}
		else
		{
			$hztp->name = $name;
		}

		if ($hztp->read() == false)
		{
			return false;
		}

		return $hztp;
	}
public function find($name)
	{
		$hztp = new self();

		if (is_numeric($name))
		{
			$hztp->id = $name;
		}
		else
		{
			$hztp->name = $name;
		}

		if ($hztp->read() == false)
		{
			return false;
		}

		return $hztp;
	}
public function find ( $ name ) { $ hztp = new self ( ) ; if ( is_numeric ( $ name ) ) { $ hztp -> id = $ name ; } else { $ hztp -> name = $ name ; } if ( $ hztp -> read ( ) == false ) { return false ; } return $ hztp ; }
Find a project

@param   string  $name  Project name
@return  mixed
Find a project