<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Get List of Enteries</title>
		<link>https://legacy.forums.gravityhelp.com/topic/get-list-of-enteries</link>
		<description>Gravity Support Forums Topic: Get List of Enteries</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:10:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/get-list-of-enteries" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Get List of Enteries"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-list-of-enteries#post-148839</link>
			<pubDate>Mon, 18 Feb 2013 00:39:16 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">148839@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;RGFormsModel::get_leads will return all the leads for one form.  Here is how the function is defined:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
public static function get_leads($form_id, $sort_field_number=0, $sort_direction=&#38;#39;DESC&#38;#39;, $search=&#38;#39;&#38;#39;, $offset=0, $page_size=30, $star=null, $read=null, $is_numeric_sort = false, $start_date=
null, $end_date=null, $status=&#38;#39;active&#38;#39;){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Once you have all the leads in your array, you can loop through them and test for the zipcode equal to whatever value you want.&#60;/p&#62;
&#60;p&#62;I'm not sure how #2 is different from #1.  Is the function RGFormsModel::get_leads sufficient for what you want to do?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>octoberblue on "Get List of Enteries"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-list-of-enteries#post-147223</link>
			<pubDate>Fri, 15 Feb 2013 09:57:23 +0000</pubDate>
			<dc:creator>octoberblue</dc:creator>
			<guid isPermaLink="false">147223@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Two questions:&#60;/p&#62;
&#60;p&#62;(1) What's the recommended way to query a Form's Enteries so I can make a simpe custom display? Is there an API for that? (A way  to produce something like: Select * from Entries where zipcode = 94025).&#60;/p&#62;
&#60;p&#62;(2) What's the best way to get a particular entry and it's form data?  Is there an API for that? (A way  to produce something like: Select * from Entries where username = 'tommy' LIMIT 1)&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
