Advertisement:

Author Topic: is this correct ? oc-include/osclass/model/Search.php  (Read 1537 times)

lucky_strike

  • Guest
is this correct ? oc-include/osclass/model/Search.php
« on: February 28, 2013, 10:26:22 pm »
 is this correct ? ? ?


public function listCountries($zero = ">", $order = "items DESC")
        {
           return CountryStats::newInstance()->listCountries($zero, $order);
        }

CountryStats.php
 public function listCountries($zero = ">", $order = "country_name ASC")




public function listRegions($country = '%%%%', $zero = ">", $order = "items DESC")
        {
           return RegionStats::newInstance()->listRegions($country, $zero, $order);
        }


RegionStats.php
 public function listRegions($country = '%%%%', $zero = ">", $order = "region_name ASC")


 public function listCities($region = null, $zero = ">", $order = "city_name ASC")
        {
            return CityStats::newInstance()->listCities($region, $zero, $order);
        }


CityStats.php
 public function listCities($region = null, $zero = ">", $order = "city_name ASC")



public function listCityAreas($city = null, $zero = ">", $order = "items DESC")
...
 ???????   ???   ??? ?? ? ??? ? ?  ??? ? ??? ??
« Last Edit: March 02, 2013, 02:18:17 pm by lucky_strike »