protected function renderTitle()
    {
        // Render page title
        if( $this->pageTitle != null )
        {
            $title = mb_convert_encoding( $this->pageTitle, $this->getCharset(), 'auto' );

            $domQuery = $this->qp->find( "title" );
            if( $domQuery->count() <= 0 )
            {
                trigger_error( 'title tag not found in page', E_USER_WARNING );
            }
            else
            {
                $domQuery->append( $title );
            }
        }
    }