[net.nehmer.comments] element index

Package indexes

All elements
a c d g i l n v _
_
top
Variable $_comments
List of comments we are currently working with.
Variable $_display_datamanager
This datamanager instance is used to display an existing comment. only set if there are actually comments to display.
Variable $_new_comment
A new comment just created for posting.
Variable $_objectguid
The GUID of the object we're bound to.
Variable $_post_controller
The controller used to post a new comment. Only set if we have a valid user.
Variable $_schemadb
The schema database to use.
Method _get_last_modified
Determines the last modified timestamp. It is the max out of all revised timestamps of the comments (or 0 in case nothing was found).
Method _handler_comments
Loads the comments, does any processing according to the state of the GET list.
Method _handler_welcome
TODO
Method _init_display_datamanager
Prepares the _display_datamanager member.
Method _init_post_controller
Initializes a DM2 for posting.
Method _load_schemadb
Loads the schemadb (unless it has already been loaded).
Method _on_handle
Generic request startup work:
Method _on_initialize
Method _on_reindex
Reindex everything, try to conserve as much memory as possible.
Method _on_watched_dba_delete
The delete handler will drop all entries accociated with any deleted object so that our DB is clean.
Method _populate_node_toolbar
Populates the node toolbar depending on the users rights.
Method _prepare_request_data
Prepares the request data
Method _process_admintoolbar
Checks if an button of the admin toolbar was pressed. Detected by looking for the net_nehmer_comment_adminsubmit value in the Request.
Method _process_post
Checks if a new post has been submitted.
Method _relocate_to_self
This is a shortcut for $_MIDCOM->relocate which relocates to the very same page we are viewing right now, including all GET parameters we had in the original request.
Method _show_comments
Display the comment list and the submit-comment form.
Method _show_welcome
TODO
a
top
Page admin.php
admin.php in admin.php
Page admin.php
admin.php in admin.php
c
top
Method count_by_objectguid
Returns the number of comments accociated with a given object. This is intended for outside usage to render stuff like "15 comments". The count is executed unchecked.
Page comment.php
comment.php in comment.php
d
top
Method dm2_create_callback
DM2 creation callback, binds the new object directly to the _objectguid.
g
top
Method get_class_magic_default_privileges
DBA magic defaults which assign write privileges for all USERS, so that they can add new comments at will.
Method get_parent_guid_uncached
Link to the parent object specified in the objectguid field.
i
top
Page interfaces.php
interfaces.php in interfaces.php
l
top
Method list_by_objectguid
Returns a list of comments applicable to a given object, ordered by creation date.
n
top
Page navigation.php
navigation.php in navigation.php
Class net_nehmer_comments_admin
Comments AIS interface class, empty stub.
Method net_nehmer_comments_comment
Class net_nehmer_comments_comment
Comments main comment class
Class net_nehmer_comments_handler_admin
Comments welcome page handler
Method net_nehmer_comments_handler_admin
Method net_nehmer_comments_handler_view
Class net_nehmer_comments_handler_view
Comments view handler.
Method net_nehmer_comments_interface
Constructor.
Class net_nehmer_comments_interface
Comments component.
Class net_nehmer_comments_navigation
Comments NAP interface class
Method net_nehmer_comments_navigation
Simple constructor, calls base class.
Method net_nehmer_comments_viewer
Class net_nehmer_comments_viewer
Comments site interface class
v
top
Page view.php
view.php in view.php
Page viewer.php
viewer.php in viewer.php
a c d g i l n v _