Method |
Description |
|
__construct ( $name = null, $id = null, $slug = null, $meta = [], $body = null ) |
|
|
__sleep ( ) |
|
|
__toString ( ) |
|
|
_findByMetaIndex ( $tags, $index, $op = 'and' ) |
|
|
_findByMetaIndexAND ( $tags, $index ) |
|
|
body ( ) |
|
|
buildHeaderFields ( ) |
|
|
categoryLinks ( $prefix = '', $suffix = '', $template = '<a href="%u">%n</a>', $nglue = ', ', $endglue = ' and ' ) |
|
|
collLinks ( $what, $prefix = '', $suffix = '', $template = '<a href="%u">%n</a>', $nglue = ', ', $endglue = ' and ', $htmlescape = true ) |
|
|
commentsLink ( $prefix = '', $suffix = '', $template = '<a href="%u" class="numcomments" title="%t">%n</a>' ) |
|
|
commentsStageName ( ) |
|
|
condensedVersion ( ) |
Return a, possibly cloned, version of this post which contains a minimal
set of information. Primarily used for paged posts pages. |
|
domID ( ) |
|
|
exists ( ) |
|
|
find ( $slug, $subdir = '', $class = 'GBExposedContent', $version = null, $applyBodyFilters = true ) |
|
|
findByCacheName ( $cachename ) |
|
|
findByCategories ( $cats, $pageno ) |
|
|
findByMetaIndex ( $tags, $indexname, $pageno ) |
|
|
findByTags ( $tags, $pageno ) |
|
|
findHeaderTerminatorOffset ( $data ) |
|
|
fnext ( ) |
|
|
getCommentsDB ( ) |
|
|
isDirty ( ) |
True if there are local, uncommitted modifications |
|
isTracked ( ) |
|
|
isWorkVersion ( ) |
|
|
loadWork ( $path, $post = false, $class = 'GBExposedContent', $id = null, $slug = null, $applyBodyFilters = true ) |
|
|
numberOfComments ( $topological = true, $sone = 'comment', $smany = 'comments', $zero = 'No', $one = 'One' ) |
|
|
numberOfShadowedComments ( $sone = 'comment', $smany = 'comments', $zero = 'No', $one = 'One' ) |
|
|
numberOfUnapprovedComments ( $sone = 'comment', $smany = 'comments', $zero = 'No', $one = 'One' ) |
|
|
parseData ( $data ) |
|
|
parseHeader ( $lines, &$out ) |
|
|
parseHeaderFields ( ) |
|
|
parseVersion ( $version ) |
|
|
pathToCached ( $subdir, $slug ) |
* Get path to cached content where the slug is static. |
|
pathToWork ( $subdir, $slug_fnpattern ) |
Find path to work content where the slug is static. Returns null if not found. |
|
pathspecFromAbsPath ( $path ) |
|
|
rawBody ( $data = null ) |
|
|
recommendedFilenameExtension ( $default = '' ) |
|
|
recommendedName ( ) |
|
|
reload ( $data, $commits = null, $applyBodyFilters = true ) |
|
|
setRawBody ( $body ) |
|
|
tagLinks ( $prefix = '', $suffix = '', $template = '<a href="%u">%n</a>', $nglue = ', ', $endglue = ' and ' ) |
|
|
textBody ( ) |
|
|
toBlob ( ) |
|
|
url ( $include_version = false, $include_pathspec = false ) |
|
|
urlpath ( ) |
|
|