Geo_Location::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( mixed $arg = NULL, $p_forceExists = false )
$arg mixed
    public function __construct($arg = NULL, $p_forceExists = false)
    {
        parent::__construct($this->m_columnNames);
        if (is_numeric($arg)) {
            $this->m_data['id'] = (int) $arg;
            $this->fetch();
        } else {
            $this->fetch($arg, $p_forceExists);
        }
    }