PHP 클래스 App\Libraries\BBCodeFromDB

It only does "second pass" parsing of phpbb-preprocessed bbcode. Nothing in this class does any kind of checking because it should be already done by phpbb.
파일 보기 프로젝트 열기: ppy/osu-web 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$refId
$text
$uid
$withGallery

공개 메소드들

메소드 설명
__construct ( $text, $uid = '', $withGallery = false )
clearSpacesBetweenTags ( $text )
parseAudio ( $text )
parseBold ( $text )
parseBox ( $text )
parseBoxHelperPrefix ( $linkText )
parseBoxHelperSuffix ( )
parseCentre ( $text )
parseCode ( $text )
parseColour ( $text )
parseEmail ( $text )
parseHeading ( $text )
parseImage ( $text )
parseItalic ( $text )
parseList ( $text )
parseNotice ( $text )
parseProfile ( $text )
parseQuote ( $text )
parseSize ( $text )
parseSmilies ( $text ) stolen from: www/forum/includes/functions.php:2845
parseSpoiler ( $text )
parseStrike ( $text )
parseUnderline ( $text )
parseUrl ( $text )
parseYoutube ( $text )
toEditor ( )
toHTML ( $ignoreLineHeight = false )

메소드 상세

__construct() 공개 메소드

public __construct ( $text, $uid = '', $withGallery = false )

clearSpacesBetweenTags() 공개 메소드

public clearSpacesBetweenTags ( $text )

parseAudio() 공개 메소드

public parseAudio ( $text )

parseBold() 공개 메소드

public parseBold ( $text )

parseBox() 공개 메소드

public parseBox ( $text )

parseBoxHelperPrefix() 공개 메소드

public parseBoxHelperPrefix ( $linkText )

parseBoxHelperSuffix() 공개 메소드

parseCentre() 공개 메소드

public parseCentre ( $text )

parseCode() 공개 메소드

public parseCode ( $text )

parseColour() 공개 메소드

public parseColour ( $text )

parseEmail() 공개 메소드

public parseEmail ( $text )

parseHeading() 공개 메소드

public parseHeading ( $text )

parseImage() 공개 메소드

public parseImage ( $text )

parseItalic() 공개 메소드

public parseItalic ( $text )

parseList() 공개 메소드

public parseList ( $text )

parseNotice() 공개 메소드

public parseNotice ( $text )

parseProfile() 공개 메소드

public parseProfile ( $text )

parseQuote() 공개 메소드

public parseQuote ( $text )

parseSize() 공개 메소드

public parseSize ( $text )

parseSmilies() 공개 메소드

stolen from: www/forum/includes/functions.php:2845
public parseSmilies ( $text )

parseSpoiler() 공개 메소드

public parseSpoiler ( $text )

parseStrike() 공개 메소드

public parseStrike ( $text )

parseUnderline() 공개 메소드

public parseUnderline ( $text )

parseUrl() 공개 메소드

public parseUrl ( $text )

parseYoutube() 공개 메소드

public parseYoutube ( $text )

toEditor() 공개 메소드

public toEditor ( )

toHTML() 공개 메소드

public toHTML ( $ignoreLineHeight = false )

프로퍼티 상세

$refId 공개적으로 프로퍼티

public $refId

$text 공개적으로 프로퍼티

public $text

$uid 공개적으로 프로퍼티

public $uid

$withGallery 공개적으로 프로퍼티

public $withGallery