BcBaserHelper::xmlHeader PHP Method

xmlHeader() public method

XMLヘッダタグを出力する
public xmlHeader ( array $attrib = [] ) : void
$attrib array 属性
return void
    public function xmlHeader($attrib = array())
    {
        if (empty($attrib['encoding']) && @$this->request->params['Site']['device'] == 'mobile') {
            $attrib['encoding'] = 'Shift-JIS';
        }
        echo $this->BcXml->header($attrib) . "\n";
    }