[net.nehmer.publications] element index

Package indexes

All elements
a c d e f g i k l n q s v w _
_
top
Variable $_callback
The callback class instance, a callback matching the signature required for the DM2 select type callbacks.
Variable $_categories
The category listing. Only applicable for _handler_categories. It maps category numbers (1 to 6) to the valid option lists.
Variable $_categories
The categories to which the query should be limited. For each category group, only one limit can be set. Successive sets will overwrite existing ones.
Variable $_constraints
A list of regular constraints, outside of the category limit. It contains an array triplet for each constraint, holding field, operator and value in this order.
Variable $_controller
The Controller of the publication used for editing
Variable $_controller
The Controller of the publication used for editing
Variable $_data
The array with the data we're working on. Always contains fully qualified category identifiers.
Variable $_datamanager
The datamanager for the currently displayed publication.
Variable $_datamanager
The Datamanager of the publication to display.
Variable $_datamanager
The datamanager for the currently displayed publication.
Variable $_datamanager
The datamanager for the currently displayed publication.
Variable $_datamanager
The Datamanager of the publication to display (for delete mode)
Variable $_defaults
The defaults to use for the new publication.
Variable $_default_categories
The list of default categories to which a new entry should be added to.
Variable $_end
The end date of the Archive listing.
Variable $_feed
The de.bitfolge.feedcreator instance used.
Variable $_first
First shown entry in the index view result set (1-based index).
Variable $_group
The category group being listed.
Variable $_group_prefix_length
The number of characters which have to be stripped off to transform a fully qualified# category identifier to a local one. Thus, one can substr($key, $this->_group_prefix_length) at all times.
Variable $_last
Last shown entry in the index view result set (1-based index).
Variable $_limit
The number of records to return to the client at most.
Variable $_offset
The offset of the first record the client wants to have available.
Variable $_orders
A list of order directives. It contains an array for each one, holding field and order in this order.
Variable $_page
The current page shown in index view.
Variable $_pagelink_prefix
The prefix used for the page-links in the welcome-pagenav, you need to append the ?page=x part to it.
Variable $_publication
The publication to display
Variable $_publication
The publication to operate on
Variable $_publication
The publication which has been created
Variable $_publications
The publications to display
Variable $_publications
The publications to display
Variable $_publications
The publications to display
Variable $_qb
The QB instance with the actual constructed query.
Variable $_schema
The schema to use for the new publication.
Variable $_schemadb
The schema database in use, available only while a datamanager is loaded.
Variable $_schemadb
The schema database in use, available only while a datamanager is loaded.
Variable $_schemadb
The schema database in use, available only while a datamanager is loaded.
Variable $_start
The start date of the Archive listing.
Variable $_title
Page title, set during processing depending on handler configuration.
Variable $_topic
The topic in which to look for articles. This defaults to the current content topic unless overridden by the symlink topic feature.
Variable $_topic_filters
The list of filters added to the archive listing according to the current component configuration.
Variable $_total
The total number of publications in the current index view.
Variable $_total_pages
The total number of pages in this index view result set.
Method _add_link_head
Adds the RSS Feed LINK head elements.
Method _add_publication_to_feed
Adds the given publication to the feed.
Method _categorized_compute_result
Computes the actual resultset from a categorized query. It iterates over all m:n matches, validates that each entry matches all categories and returns only the publications valid.
Method _categorized_prepare_query
Prepares a query with category support.
Method _compute_welcome_data
Computes the data nececssary for the welcome screen. Automatically put into the request data array.
Method _compute_welcome_first_post
Loads the first posting time from the DB. This is the base for all operations on the resultset.
Method _compute_welcome_posting_count
Computes the number of postings in a given timeframe.
Method _create_feed
Creates the Feedcreator instance.
Method _handler_categories
Shows the complete category index.
Method _handler_create
Displays an publication edit view.
Method _handler_delete
Displays an publication delete confirmation view.
Method _handler_edit
Displays an publication edit view.
Method _handler_feed
Shows the autoindex list. Nothing to do in the handle phase except setting last modified dates.
Method _handler_index
Shows the full publications index.
Method _handler_index
Shows a simple available-feeds page.
Method _handler_latest
Shows the latest-publications welcome page, it knows three modes:
Method _handler_list
Shows the archive. Depending on the selected handler various constraints are added to the QB. See the add_*_constraint methods for details.
Method _handler_view
Looks up an publication to display. If the handler_id is 'index', the index publication is tried to be looked up, otherwise the publication name is taken from args[0]. Triggered error messages are generated accordingly. A missing index will trigger a forbidden error, a missing regular publication a 404 (from can_handle).
Method _handler_welcome
Shows the archive welcome page: A listing of years/months along with total post counts and similar stuff.
Method _initialize_from_callback
Initializes the data list from a static option list. Merges the options with the category key.
Method _initialize_from_options
Initializes the data list from a static option list. Merges the options with the category key.
Method _load_controller
Internal helper, loads the controller for the current publication. Any error triggers a 500.
Method _load_controller
Internal helper, fires up the creation mode controller. Any error triggers a 500.
Method _load_datamanager
Internal helper, loads the datamanager for the current publication. Any error triggers a 500.
Method _load_datamanager
Internal helper, loads the datamanager for the current publication. Any error triggers a 500.
Method _load_schemadb
Loads and prepares the schema database.
Method _load_schemadb
Loads and prepares the schema database.
Method _on_create
Validate and popuplate the $category member.
Method _on_deleting
This will delete the category mapping records accociated with this publication.
Method _on_handle
Method _on_handler_configdm_preparing
Populate a single global variable with the current schema database, so that the configuration schema works again.
Method _on_initialize
Loads the topic filter list.
Method _on_initialize
Initialize the request switch and the content topic.
Method _on_reindex
Iterate over all articles and create index record using the datamanger indexer method.
Method _on_resolve_permalink
If we are are a master topic, we bail. Otherwise, we redirect to the view/$guid URL.
Method _populate_node_toolbar
Populates the node toolbar depending on the users rights.
Method _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _render_publication_index_page
Renders a publication index page according to the current object state. This is useable in all standard publication-listing index pages.
Method _resolve_category
Resolves a category identifier to a name. Used for creating page headings in category limited listings.
Method _set_return_url
Stores the URL to return to from the VIEW mode into the current session as 'return URL'. The current anchor prefix will be added automatically, so that the session key can be used directly.
Method _set_startend_from_month
Computes the start/end dates to only query a given month. It will do validation before processing, throwing 404 in case of incorrectly formatted dates.
Method _set_startend_from_year
Computes the start/end dates to only query a given year. It will do validation before processing, throwing 404 in case of incorrectly formatted dates.
Method _show_categories
Shows the complete category index.
Method _show_create
Shows the loaded publication.
Method _show_delete
Shows the loaded publication.
Method _show_edit
Shows the loaded publication.
Method _show_feed
Displays the feed
Method _show_index
Displays the feeds page
Method _show_index
Renders the alphabetic publications index page.
Method _show_latest
Renders the latest publications page.
Method _show_list
Displays the archive.
Method _show_view
Shows the loaded publication.
Method _show_welcome
Displays the welcome page.
Method _uncategorized_prepare_query
Prepares a query without category support.
Method _update_breadcrumb_line
Helper, updates the context so that we get a complete breadcrum line towards the current location.
Method _update_breadcrumb_line
Helper, updates the context so that we get a complete breadcrum line towards the current location.
a
top
Method add_category
Adds a category to the query. Only one category can be added per group.
Method add_constraint
Adds a constraint against the publications table.
Method add_order
Adds a constraint against the publications table.
Method add_to_category
Adds the publication to the specified category. If it is already assigned to it, the request is silently ignored.
Method apply_filter_list
Helper function, used to compute the neccessary filter listing for the current configuration which is taken from the request context.
Page admin.php
admin.php in admin.php
Page admin.php
admin.php in admin.php
Page archive.php
archive.php in archive.php
c
top
Variable $count
Total count of matches
Method count
Returns the number of elements matching the current query.
Method count_unchecked
Returns the number of elements matching the current query.
Page categorylister.php
categorylister.php in categorylister.php
Page categorymap.php
categorymap.php in categorymap.php
Page configuration.php
configuration.php in configuration.php
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
Method execute
Executes a ACL aware query. The code will branch between categorized and uncategorized queries according to the $_categories member. See the _categorized_* methods for details.
Method execute_unchecked
Executes a ACL unaware query. The code will branch between categorized and uncategorized queries according to the $_categories member. See the _categorized_(unchecked_)* methods for details.
Page entry.php
entry.php in entry.php
f
top
Page feed.php
feed.php in feed.php
g
top
Method get_category_group
Returns the category group identifier for this mapping entry.
Method get_category_id
Returns the category identifier within the selected group for this mapping entry.
Method get_last_modified
Simple helper, gets the last modified timestamp of the topic/content_topic combination specified.
Method get_leaves
Returns a static leaf list with access to the archive.
Method get_name_for_key
Method get_parent_guid_uncached
Returns the publication accociated with this object.
Method get_publication
Returns the parent publication. Faster then get_parent as it works on a known type.
i
top
Method index
Indexes an entry. This is used from the entry and reindex handlers.
Page interfaces.php
interfaces.php in interfaces.php
k
top
Method key_exists
l
top
Method list_all
n
top
Page navigation.php
navigation.php in navigation.php
Class net_nehmer_publications_admin
TAViewer AIS interface class
Method net_nehmer_publications_callbacks_categorylister
Initializes the class to the category listing in the configuration. It does the neccessary postprocessing to move the configuration syntax to the rendering one.
Class net_nehmer_publications_callbacks_categorylister
Publications Schema callback, retrieves a category listing from the database and makes it availalble in a way compatible for the select DM2 type.
Class net_nehmer_publications_categorymap
Category map class, maps publications to categories.
Method net_nehmer_publications_categorymap
Class net_nehmer_publications_entry
Publications entry class
Method net_nehmer_publications_entry
Method net_nehmer_publications_handler_admin
Simple default constructor.
Class net_nehmer_publications_handler_admin
Publications admin page handler
Class net_nehmer_publications_handler_archive
Publications Archive pages handler
Method net_nehmer_publications_handler_archive
Simple default constructor.
Method net_nehmer_publications_handler_configuration
Class net_nehmer_publications_handler_configuration
TAViewer component configuration screen.
Method net_nehmer_publications_handler_create
Simple default constructor.
Class net_nehmer_publications_handler_create
Publications create page handler
Class net_nehmer_publications_handler_feed
Blog Feed handler
Method net_nehmer_publications_handler_feed
Simple default constructor.
Method net_nehmer_publications_handler_index
Simple default constructor.
Method net_nehmer_publications_handler_view
Simple default constructor.
Class net_nehmer_publications_handler_view
Publications index page handler
Class net_nehmer_publications_handler_welcome
Publications welcome page handler
Method net_nehmer_publications_interface
Constructor.
Class net_nehmer_publications_interface
Publications MidCOM interface class.
Class net_nehmer_publications_navigation
TAViewer NAP interface class
Method net_nehmer_publications_navigation
Simple constructor, calls base class.
Class net_nehmer_publications_query
Publications query, wraps the QB and provides additional features that are required to transform a query to the M:N mapping table into a set of publication objects. Current features:
Method net_nehmer_publications_query
Creates a new query object.
Class net_nehmer_publications_viewer
Newsticker / Blog site interface class
Method net_nehmer_publications_viewer
q
top
Page query.php
query.php in query.php
s
top
Method set_category
Constructs a category identifier out of the group and ID values given.
Method set_limit
Method set_offset
Method set_type
Ignored.
v
top
Page view.php
view.php in view.php
Page viewer.php
viewer.php in viewer.php
w
top
Page welcome.php
welcome.php in welcome.php
a c d e f g i k l n q s v w _