\ListingsPage
- Author: Richard Rudy twitter:@thezenmonkey web: http://designplusawesome.com TODO Remove DataObjectAsPage Dependency
Synopsis
class ListingsPage
extends DataObjectAsPageHolder
{
- // members
- private static string $singular_name = 'Listings';
- private static string $plural_name = 'Listing Pages';
- private static string $description = 'Displays Listing (if under main Listings page it can be configured to show only one City or Neighbouthod)';
- private static string $icon = 'realestate/images/listings.png';
- private static array $db = ;
- private static array $allowed_children = ;
- // methods
- public DataList AvailableListings()
- public DatList SoldListings()
- public DatList ClosedListings()
- public DataList AllListings()
- public DataList MasterListings()
- public DataList MLSListings()
- public DataList FeaturedMLSListings()
- public DataList TownListings()
- public void getCMSFields()
- public void onBeforeWrite()
- public void requireDefaultRecords()
- public void GetCities()
- public void GetCity()
- public void OverAMillion()
- public void UnderAMillion()
- public void getShowCities()
Hierarchy
Extends
- DataObjectAsPageHolder
Members
private
- $allowed_children
- $db
- $description
- $icon
- $plural_name
-
$singular_name
Static vars ----------------------------------
Methods
public
- AllListings() — Get All Listings Available AND Sold
- AvailableListings() — Get All Avaibalbe Listings (Status = Available)
- ClosedListings() — Get All Listings Marked as Closed
- FeaturedMLSListings() — Retun Only Featured MLS Listings
- GetCities()
- GetCity()
- MLSListings() — Retun MLS Listings
- MasterListings() — Retun ALLlistings in the system regardless of Status
- OverAMillion()
- SoldListings() — Get All Listings Marked as Sold but Not Closed
- TownListings() — Return Listings without a City
- UnderAMillion()
- getCMSFields() — Common methods ----------------------------------
- getShowCities()
- onBeforeWrite()
- requireDefaultRecords() — Controller actions ----------------------------------