Method | Description | |
---|---|---|
AddCachedContent ( int blockId, string entityValue, string html, int cacheDuration ) : void |
Adds the cached HTML for a specific blockId or, if specified, a specific entityValue (Entity Context)
|
|
FlushCachedContent ( int blockId, string entityValue ) : void |
Flushes the cached HTML for a specific blockId or, if specified, a specific entityValue (Entity Context)
|
|
GetActiveContent ( int blockId, string entityValue ) : HtmlContent |
Returns the active Rock.Model.HtmlContent for a specific Rock.Model.Block and/or EntityContext.
|
|
GetByApprovedByPersonId ( int approvedByPersonId ) : IQueryable |
Returns an enumerable collection of Rock.Model.HtmlContent entity objects by their Approver Rock.Model.Person
|
|
GetByBlockId ( int blockId ) : IQueryable |
Returns an enumerable collection of Rock.Model.HtmlContent entities by Rock.Model.Block (instance).
|
|
GetByBlockIdAndEntityValueAndVersion ( int blockId, string entityValue, int version ) : HtmlContent |
Returns a specific Rock.Model.HtmlContent by Block, entity value and version
|
|
GetCachedContent ( int blockId, string entityValue ) : string |
Returns the cached HTML for a specific blockId or, if specified, a specific entityValue (Entity Context)
|
|
GetContent ( int blockId, string entityValue ) : IOrderedQueryable |
Returns an enumerable collection containing all versions of Rock.Model.HtmlContent for a specific Rock.Model.Block and/or EntityContext.
|
Method | Description | |
---|---|---|
HtmlContentCacheKey ( int blockId, string entityValue ) : string |
Returns the htmlcontent cachekey for a specific blockId or, if specified, a specific entityValue (Entity Context)
|
public static AddCachedContent ( int blockId, string entityValue, string html, int cacheDuration ) : void | ||
blockId | int | The block identifier. |
entityValue | string | The entity value. |
html | string | The HTML. |
cacheDuration | int | Duration of the cache. |
return | void |
public static FlushCachedContent ( int blockId, string entityValue ) : void | ||
blockId | int | The block identifier. |
entityValue | string | The entity value. |
return | void |
public GetActiveContent ( int blockId, string entityValue ) : HtmlContent | ||
blockId | int | A |
entityValue | string | A |
return | HtmlContent |
public GetByApprovedByPersonId ( int approvedByPersonId ) : IQueryable |
||
approvedByPersonId | int | A |
return | IQueryable |
public GetByBlockId ( int blockId ) : IQueryable |
||
blockId | int | A |
return | IQueryable |
public GetByBlockIdAndEntityValueAndVersion ( int blockId, string entityValue, int version ) : HtmlContent | ||
blockId | int | A |
entityValue | string | A |
version | int | A |
return | HtmlContent |
public static GetCachedContent ( int blockId, string entityValue ) : string | ||
blockId | int | The block identifier. |
entityValue | string | The entity value. |
return | string |
public GetContent ( int blockId, string entityValue ) : IOrderedQueryable |
||
blockId | int | A |
entityValue | string | A |
return | IOrderedQueryable |