public function countryDataAccess($params, $smarty)
    {
        switch ($params["ask"]) {
            case "default":
                return $this->dataAccessWithI18n(
                    "defaultCountry",
                    $params,
                    CountryQuery::create()->filterByByDefault(1)->limit(1)
                );
        }

        return '';
    }
public function countryDataAccess($params, $smarty)
    {
        switch ($params["ask"]) {
            case "default":
                return $this->dataAccessWithI18n(
                    "defaultCountry",
                    $params,
                    CountryQuery::create()->filterByByDefault(1)->limit(1)
                );
        }

        return '';
    }
public function countryDataAccess ( $ params , $ smarty ) { switch ( $ params [ "ask" ] ) { case "default" : return $ this -> dataAccessWithI18n ( "defaultCountry" , $ params , CountryQuery :: create ( ) -> filterByByDefault ( 1 ) -> limit ( 1 ) ) ; } return '' ; }
Provides access to an attribute of the default country

@param  array $params
@param  \Smarty $smarty
@return string the value of the requested attribute
Provides access to an attribute of the default country