[net.nemein.calendar] element index

Package indexes

All elements
a c d e f g i l m n v _
_
top
Variable $_controller
The Controller of the article used for creating
Variable $_controller
The Controller of the article used for editing
Variable $_datamanager
The Datamanager of the article to display.
Variable $_datamanager
The datamanager instance controlling the event to show, or null in case there is no event at this time. The request data key 'datamanager' is set to a reference to this member during class startup.
Variable $_event
The event to show, or null in case that there is no event set at this time.
Variable $_filters
GET field filters set for this view
Variable $_master_event
The master event to use in case we list from a common master or the root event in case we don't.
Variable $_master_event
The master event ID to use as _root_event::up.
Variable $_root_event
The root event to use with this topic.
Variable $_root_events
If we list from a common master, this is an Array of events that are immediate descendants of the master event. They are used in the IN up constraint limiting the consecutive queries to the event subtree.
Variable $_schemadb
The schema database accociated with the topic.
Variable $_schemadb_index
An index over the schema database accociated with the topic mapping schema keys to their names. For ease of use.
Method _can_handle_edit
Can-Handle check against the current event GUID. We have to do this explicitly in can_handle already, otherwise we would hide all subtopics as the request switch accepts all argument count matches unconditionally.
Method _can_handle_view
Can-Handle check against the current event GUID. We have to do this explicitly in can_handle already, otherwise we would hide all subtopics as the request switch accepts all argument count matches unconditionally.
Method _check_name
Check that article by same name doesn't exist in the topic in Classic Midgard API fashion.
Method _compute_events_count_between
Computes the number of events active in a given timeframe.
Method _compute_events_count_total
Computes the total number of events.
Method _compute_first_month
Loads the first event time from the DB. This is the base for all operations on the resultset.
Method _compute_last_month
Loads the last event (end) time from the DB. This is the base for all operations on the resultset.
Method _compute_welcome_data
Computes the data nececssary for the welcome screen. Automatically put into the request data array.
Method _delete_record
Method _dm_create_callback
Callback for the datamanager create mode.
Method _get_calendar_monthlink
Constructs a Link for a calendar to the given month.
Method _get_calendar_yearlink
Constructs a Link for a calendar to the given Year.
Method _get_events_qb
Returns an QB initialized to query all events matching the current topic constraints.
Method _get_event_listing
List events from the database according to component's configuration
Method _get_week_end
Timestamp for ending of the selected week. Use this to tune queries for selecting reservations
Method _get_week_start
Timestamp for beginning of the selected week. Use this to tune queries for selecting reservations
Method _handler_between
Method _handler_create
Displays an event creation view.
Method _handler_create
Prepares everything to create a new event. When processing the DM results, it will redirect to the view mode on the save event, and to the welcome page otherwise. It uses sessioning to keep track of the newly created event ID.
Method _handler_delete
Method _handler_edit
Method _handler_edit
Locates the article to edit and sets everything up. When processing the DM results, it will redirect to the view mode on both the save and cancel events.
Method _handler_repeat
Method _handler_rootevent
Creates a root event if necessary.
Method _handler_upcoming
Method _handler_view
Method _handler_view
Locates the event to view and prepares everything for the view run.
Method _handler_week
Method _handler_welcome
Welcome page handler.
Method _handler_welcome
Shows the archive welcome page: A listing of years/months along with total post counts and similar stuff.
Method _initialize_datamanager_for_event
Initializes datamanager for a particular event
Method _init_root_event
Load the root event from database or create it
Method _load_base_events
Loads the master / root events.
Method _load_controller
Internal helper, loads the controller for the current article. Any error triggers a 500.
Method _load_controller
Internal helper, loads the controller for the current event. Any error triggers a 500.
Method _load_datamanager
Internal helper, loads datamanager. Any error triggers a 500.
Method _load_datamanager
Internal helper, loads the datamanager for the current article. Any error triggers a 500.
Method _load_event
This internal helper loads the event identified by the passed argument from the database.
Method _load_filters
Method _load_root_objects
Method _load_schema_database
Internal helper, loads the configured schema database into the class.
Method _on_can_handle
Method _on_creating
Method _on_handle
General request initialization, which populates the topic toolbar.
Method _on_handle
Method _on_initialize
The initialization tries to load the root event and will create one if it couldn't be found. It will also load the Datamanager schema database, which is used here and there for the toolbars etc.
Method _on_initialize
Method _on_initialize
Initialize n.n.calendar library.
Method _on_reindex
Iterate over all events and create index record using the custom indexer method.
Method _on_updating
Method _populate_node_toolbar
Populates the node toolbar depending on the users rights.
Method _prepare_creation_datamanager
Prepares the datamanager for creation of a new event. When returning false, it sets errstr and errcode accordingly.
Method _prepare_datamanager
Prepares the datamanager for the loaded event. When returning false, it sets errstr and errcode accordingly.
Method _prepare_local_toolbar
This internal helper adds the edit and delete links to the local toolbar.
Method _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _prepare_topic_toolbar
This function adds all of the standard items (configuration and create links) to the topic toolbar.
Method _show_between
Method _show_create
Renders the selected event using the datamnager view mode.
Method _show_create
Shows the loaded article.
Method _show_delete
Renders the selected article using the datamanager view mode.
Method _show_edit
Method _show_edit
Renders the selected article using the datamnager view mode.
Method _show_event_listing
Show an event listing populated in $this->_request_data['events']
Method _show_repeat
Method _show_upcoming
Method _show_view
Renders the selected article using the datamanager view mode.
Method _show_view
Method _show_week
Method _show_welcome
Displays the welcome page.
Method _show_welcome
Renders the welcome page.
a
top
Page admin.php
admin.php in admin.php
Page archive.php
archive.php in archive.php
c
top
Page create.php
create.php in create.php
d
top
Method dm2_create_callback
DM2 creation callback, binds to the current content topic.
e
top
Page event.php
event.php in event.php
Page edit.php
edit.php in edit.php
f
top
Page functions.php
functions.php in functions.php
g
top
Method generate_event_link
Generate link to the event
Method get_last_modified
Computes the last modified timestamp of the entire event tree.
i
top
Method index
Indexes an event.
Page interfaces.php
interfaces.php in interfaces.php
l
top
Page list.php
list.php in list.php
m
top
Function midcom_helper_generate_daylabel
n
top
Page navigation.php
navigation.php in navigation.php
Class net_nemein_calendar_admin
Calendar Admin interface class.
Method net_nemein_calendar_admin
Method net_nemein_calendar_event
Class net_nemein_calendar_event
Calendar event abstraction class
Function net_nemein_calendar_event2document
Transforms an event object into a valid MidCOM Indexer Document, using the midcom document base class.
Function net_nemein_calendar_functions_daylabel
Calendar DayLabel function
Class net_nemein_calendar_handler_archive
Calendar Archive pages handler.
Method net_nemein_calendar_handler_archive
Simple default constructor.
Method net_nemein_calendar_handler_create
Simple default constructor.
Class net_nemein_calendar_handler_create
Calendar event creator
Class net_nemein_calendar_handler_edit
Calendar event editer
Method net_nemein_calendar_handler_edit
Simple default constructor.
Class net_nemein_calendar_handler_list
Calendar event lister
Method net_nemein_calendar_handler_view
Simple default constructor.
Class net_nemein_calendar_handler_view
Calendar event viewer
Method net_nemein_calendar_handler_view
Simple default constructor.
Method net_nemein_calendar_interface
Constructor.
Class net_nemein_calendar_interface
Calendar MidCOM interface class.
Class net_nemein_calendar_navigation
Calendar NAP interface class.
Method net_nemein_calendar_viewer
Class net_nemein_calendar_viewer
Calendar Viewer interface class.
v
top
Page view.php
view.php in view.php
Page viewer.php
viewer.php in viewer.php
a c d e f g i l m n v _