Source of file MLSListingsPage.php
Size: 1,312 Bytes - Last Modified: 2021-12-23T10:51:36+00:00
/var/www/docs.ssmods.com/process/src/code/Pages/MLSListingsPage.php
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 | <?php /** * * @package Realestate Listing System - Neighbourhood Listings Page * @requires DataObjectAsPage, Mappable * @author Richard Rudy twitter:@thezenmonkey web: http://designplusawesome.com */ class MLSListingsPage extends DataObjectAsPageHolder implements HiddenClass { /** * Static vars * ----------------------------------*/ /** * Object vars * ----------------------------------*/ /** * Static methods * ----------------------------------*/ /** * Data model * ----------------------------------*/ /** * Common methods * ----------------------------------*/ /** * Accessor methods * ----------------------------------*/ /** * Controller actions * ----------------------------------*/ /** * Template accessors * ----------------------------------*/ /** * Object methods * ----------------------------------*/ } class MLSListingsPage_Controller extends DataObjectAsPageHolder_Controller { //This needs to know be the Class of the DataObject you want this page to list static $item_class = 'MLSListing'; //Set the sort for the items (defaults to Created DESC) static $item_sort = 'Created DESC'; public function ListingRequestForm() { return new ListingRequestForm($this, 'ListingRequestForm'); } } |