/** * _get_countries * Gets and caches the list of active countries. If you know the list of active countries * has changed during this request, first use EEM_Country::reset() to flush the cache * @access public * @return array */ public function get_all_active_countries() { if (!self::$_active_countries) { self::$_active_countries = $this->get_all(array(array('CNT_active' => TRUE), 'order_by' => array('CNT_name' => 'ASC'), 'limit' => array(0, 99999))); } return self::$_active_countries; }