public static function oneOrNew($id)
	{
		$row = self::one($id);

		// See if we have a valid row
		if ($row === false)
		{
			$row = self::blank();
		}

		return $row;
	}
public static function oneOrNew($id)
	{
		$row = self::one($id);

		// See if we have a valid row
		if ($row === false)
		{
			$row = self::blank();
		}

		return $row;
	}
public static function oneOrNew ( $ id ) { $ row = self :: one ( $ id ) ; // See if we have a valid row if ( $ row === false ) { $ row = self :: blank ( ) ; } return $ row ; }
Retrieves one row by primary key, returning an empty row if not found

@param   mixed  $id  The primary key field value to use to retrieve one row
@return  \Hubzero\Database\Relational|static
@since   2.0.0
Retrieves one row by primary key returning an empty row if not found