|
Mura CMS 6.1 | ||||
FRAMES |
railo-context.Componentmura.cfobject
mura.content.contentIntervalManager
public class contentIntervalManager
Method Summary | |
---|---|
query |
apply(query query, numeric From, numeric To)
Gets the events between the given dates (inclusive) |
any |
applyByMenuTypeAndDate([any query], [any menuType], [any menuDate])
|
mura.content.datetime |
GetLastDayOfWeekOfMonth(numeric year, numeric month, numeric DayOfWeek)
Returns the date of the last given weekday of the given month |
any |
GetNthDayOfMonth(numeric year, numeric Month, numeric DayOfWeek, [numeric Nth='1'])
I return the Nth instance of the given day of the week for the given month (ex |
Methods inherited from class mura.cfobject |
---|
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, init, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
|
Methods inherited from class railo-context.Component |
---|
|
Method Detail |
---|
public query apply(query query, numeric From, numeric To)
query
- The Query the has the items that may need intervals appliedFrom
- The From date for our date span (inclusive).To
- The To date for our date span (inclusive).public any applyByMenuTypeAndDate([any query], [any menuType], [any menuDate])
query
menuType
menuDate
public mura.content.datetime GetLastDayOfWeekOfMonth(numeric year, numeric month, numeric DayOfWeek)
year
- Any date in the given month we are going to be looking at.month
- Any date in the given month we are going to be looking at.DayOfWeek
- The day of the week of which we want to find the last monthly occurence.public any GetNthDayOfMonth(numeric year, numeric Month, numeric DayOfWeek, [numeric Nth='1'])
year
- I am the month for which we are gathering date information.Month
- I am the month for which we are gathering date information.DayOfWeek
- I am the day of the week (1-7) that we are locating.Nth
- I am the Nth instance of the given day of the week for the given month.
|
Mura CMS 6.1 | ||||
FRAMES |