|
ContentBox Core API 1.5.7 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.content.CustomHTML
public class CustomHTML
******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ******************************************************************************* I model a custom HTML content piece
Constructor Summary | |
---|---|
init()
constructor |
Method Summary | |
---|---|
any |
GETCACHE()
|
any |
GETCACHEBOX()
|
any |
GETCACHELASTACCESSTIMEOUT()
|
any |
GETCACHETIMEOUT()
|
any |
GETCONTENT()
|
any |
GETCONTENTID()
|
any |
GETCREATEDDATE()
|
any |
GETCREATOR()
|
any |
GETDESCRIPTION()
|
any |
GETEXPIREDATE()
|
any |
GETINTERCEPTORSERVICE()
|
any |
GETISPUBLISHED()
|
any |
GETMARKUP()
|
any |
GETPOPULATOR()
|
any |
GETPUBLISHEDDATE()
|
any |
GETRENDEREDCONTENT()
|
any |
GETSETTINGSERVICE()
|
any |
GETSLUG()
|
any |
GETTITLE()
|
boolean |
HASCREATOR()
|
void |
SETCACHE(any cache)
|
void |
SETCACHEBOX(any cachebox)
|
void |
SETCACHELASTACCESSTIMEOUT(any cacheLastAccessTimeout)
|
void |
SETCACHETIMEOUT(any cacheTimeout)
|
void |
SETCONTENT(any content)
|
void |
SETCREATEDDATE(any createdDate)
|
void |
SETCREATOR(any creator)
|
void |
SETDESCRIPTION(any description)
|
void |
SETEXPIREDATE(any expireDate)
|
void |
SETINTERCEPTORSERVICE(any interceptorService)
|
void |
SETISPUBLISHED(any isPublished)
|
void |
SETMARKUP(any markup)
|
void |
SETPOPULATOR(any populator)
|
void |
SETPUBLISHEDDATE(any publishedDate)
|
void |
SETRENDEREDCONTENT(any renderedContent)
|
void |
SETSETTINGSERVICE(any settingService)
|
void |
SETSLUG(any slug)
|
void |
SETTITLE(any title)
|
any |
addExpiredTime(any hour, any minute)
add expired timestamp to property |
any |
addPublishedTime(any hour, any minute)
add published timestamp to property |
string |
buildContentCacheKey()
Build content cache keys according to sent content object |
boolean |
canCacheContent()
Verify we can do content caching on this content object using global and local rules |
string |
getCreatorEmail()
Shorthand Creator email |
string |
getCreatorName()
Shorthand Creator name |
string |
getDisplayCreatedDate()
Get formatted createdDate |
string |
getDisplayPublishedDate()
Get display publishedDate |
string |
getExpireDateForEditor([boolean showTime='false'])
Get display expireDate |
any |
getMemento()
Get memento representation |
string |
getPublishedDateForEditor([boolean showTime='false'])
Get display publishedDate |
boolean |
isContentPublished()
Bit that denotes if the content has been published or not |
boolean |
isExpired()
Bit that denotes if the content has expired or not, in order to be expired the content must have been published as well |
boolean |
isLoaded()
is Loaded |
boolean |
isPublishedInFuture()
Bit that denotes if the content has been published or not in the future |
void |
preInsert()
|
CustomHTML |
prepareForClone(any author, any original, any originalService, boolean publish)
Wipe primary key, and descendant keys, and prepare for cloning of entire hierarchies |
any |
renderContent()
Render content out |
any |
renderContentSilent([any content='[runtime expression]'])
Renders the content silently so no caching, or extra fluff is done, just content translation rendering |
array |
validate()
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init()
Method Detail |
---|
public any GETCACHE()
public any GETCACHEBOX()
public any GETCACHELASTACCESSTIMEOUT()
public any GETCACHETIMEOUT()
public any GETCONTENT()
public any GETCONTENTID()
public any GETCREATEDDATE()
public any GETCREATOR()
public any GETDESCRIPTION()
public any GETEXPIREDATE()
public any GETINTERCEPTORSERVICE()
public any GETISPUBLISHED()
public any GETMARKUP()
public any GETPOPULATOR()
public any GETPUBLISHEDDATE()
public any GETRENDEREDCONTENT()
public any GETSETTINGSERVICE()
public any GETSLUG()
public any GETTITLE()
public boolean HASCREATOR()
public void SETCACHE(any cache)
cache
public void SETCACHEBOX(any cachebox)
cachebox
public void SETCACHELASTACCESSTIMEOUT(any cacheLastAccessTimeout)
cacheLastAccessTimeout
public void SETCACHETIMEOUT(any cacheTimeout)
cacheTimeout
public void SETCONTENT(any content)
content
public void SETCREATEDDATE(any createdDate)
createdDate
public void SETCREATOR(any creator)
creator
public void SETDESCRIPTION(any description)
description
public void SETEXPIREDATE(any expireDate)
expireDate
public void SETINTERCEPTORSERVICE(any interceptorService)
interceptorService
public void SETISPUBLISHED(any isPublished)
isPublished
public void SETMARKUP(any markup)
markup
public void SETPOPULATOR(any populator)
populator
public void SETPUBLISHEDDATE(any publishedDate)
publishedDate
public void SETRENDEREDCONTENT(any renderedContent)
renderedContent
public void SETSETTINGSERVICE(any settingService)
settingService
public void SETSLUG(any slug)
slug
public void SETTITLE(any title)
title
public any addExpiredTime(any hour, any minute)
hour
minute
public any addPublishedTime(any hour, any minute)
hour
minute
public string buildContentCacheKey()
public boolean canCacheContent()
public string getCreatorEmail()
public string getCreatorName()
public string getDisplayCreatedDate()
public string getDisplayPublishedDate()
public string getExpireDateForEditor([boolean showTime='false'])
showTime
public any getMemento()
public string getPublishedDateForEditor([boolean showTime='false'])
showTime
public boolean isContentPublished()
public boolean isExpired()
public boolean isLoaded()
public boolean isPublishedInFuture()
public void preInsert()
public CustomHTML prepareForClone(any author, any original, any originalService, boolean publish)
author
- The author doing the cloningoriginal
- The original content object that will be cloned into this content objectoriginalService
- The ContentBox content service object usedpublish
- Publish pages or leave as draftspublic any renderContent()
public any renderContentSilent([any content='[runtime expression]'])
content
- The content markup to translate, by default it uses the active content version's contentpublic array validate()
|
ContentBox Core API 1.5.7 | ||||
FRAMES |