class Attachment_ajaxAction extends AttachmentAction
{
- /**
- * Load attributes based on database arguments
- *
- * Loads all the DB stuff
- *
- * @param array $args $_REQUEST array
- *
- * @return success flag
- */
-
- function prepare($args)
- {
- parent::prepare($args);
- if (!$this->attachment) {
- $this->clientError(_('No such attachment.'), 404);
- return false;
- }
- return true;
- }
-
/**
* Show page, a template method.
*
$this->elementEnd('div');
}
-
-
/**
* Last-modified date for page
*