PHP Class GBContentFinalizer, gitblog

Reloading all objects and commits in one batch is much faster than repeating those actions for every content class. Also, generating common indexes of content objects is simpler this way.
Inheritance: extends GBContentRebuilder
Mostra file Open project: rsms/gitblog Class Usage Examples

Public Properties

Property Type Description
$commentIndexRebuilders
$comments .]
$dirtyComments .]
$dirtyObjects .]
$duplicates .]
$newfound .]
$objectIndexRebuilders
$objects
$objectsByName .]

Public Methods

Method Description
__construct ( $forceFullRebuild = false )
_checkCommentDeps ( )
buildPagedPosts ( $gc_count )
finalize ( )
gcStageCache ( ) # only collects GBExposedContent stuff + comments
reloadAndWriteCache ( $objects )
reloadObjects ( $objects ) Batch-reload objects
runIndexRebuilders ( $rebuilderClasses, $objects )

Method Details

__construct() public method

public __construct ( $forceFullRebuild = false )

_checkCommentDeps() public method

public _checkCommentDeps ( )

buildPagedPosts() public method

public buildPagedPosts ( $gc_count )

finalize() public method

public finalize ( )

gcStageCache() public method

# only collects GBExposedContent stuff + comments
public gcStageCache ( )

reloadAndWriteCache() public method

public reloadAndWriteCache ( $objects )

reloadObjects() public method

Batch-reload objects
public reloadObjects ( $objects )

runIndexRebuilders() public method

public runIndexRebuilders ( $rebuilderClasses, $objects )

Property Details

$commentIndexRebuilders public_oe static_oe property

public static $commentIndexRebuilders

$comments public_oe static_oe property

.]
public static $comments

$dirtyComments public_oe static_oe property

.]
public static $dirtyComments

$dirtyObjects public_oe static_oe property

.]
public static $dirtyObjects

$duplicates public_oe static_oe property

.]
public static $duplicates

$newfound public_oe static_oe property

.]
public static $newfound

$objectIndexRebuilders public_oe static_oe property

public static $objectIndexRebuilders

$objects public_oe static_oe property

public static $objects

$objectsByName public_oe static_oe property

.]
public static $objectsByName