Country::Country PHP Method

Country() public method

Constructor.
public Country ( string $p_code = null, integer $p_languageId = null )
$p_code string
$p_languageId integer
    public function Country($p_code = null, $p_languageId = null)
    {
        parent::DatabaseObject($this->m_columnNames);
        $this->m_data['Code'] = $p_code;
        $this->m_data['IdLanguage'] = $p_languageId;
        if ($this->keyValuesExist()) {
            $this->fetch();
        }
    }