Class CountCache
This class handles the count cache for the folder structure.
- MatthiasWeb\RealMediaLibrary\base\Base
-
MatthiasWeb\RealMediaLibrary\attachment\CountCache
Methods summary
public
|
#
updateCountCache( int[] $folders = null, int[] $attachments = null, boolean $onlyReturn = false )
Handle the count cache for the folders. This should avoid a lack SQL subquery which loads data from the posts table. |
public
|
|
public
|
#
resetCountCache( integer $folderId = null )
Reset the count cache for the current blog id. The content of the array is not prepared for the statement |
public
|
|
public
|
|
public
|
|
public static
|