Subversion Repositories ezapprove2

Compare Revisions

Ignore whitespace Rev 2507 → Rev 2508

/ezapprove2/ezp4/trunk/extension/ezapprove2/collaboration/ezapprove2/ezapprove2collaborationhandler.php
103,7 → 103,7
/*!
\reimp
*/
function title( &$collaborationItem )
function title( $collaborationItem )
{
return ezi18n( 'kernel/classes', 'Approval v.2' );
}
156,7 → 156,7
\reimp
\return the number of messages for the approve item.
*/
function messageCount( &$collaborationItem )
function messageCount( $collaborationItem )
{
return eZCollaborationItemMessageLink::fetchItemCount( array( 'item_id' => $collaborationItem->attribute( 'id' ) ) );
}
165,7 → 165,7
\reimp
\return the number of unread messages for the approve item.
*/
function unreadMessageCount( &$collaborationItem )
function unreadMessageCount( $collaborationItem )
{
$lastRead = 0;
$status = $collaborationItem->attribute( 'user_status' );
271,7 → 271,7
\reimp
Adds a new comment, approves the item or denies the item.
*/
function handleCustomAction( &$module, &$collaborationItem )
function handleCustomAction( $module, $collaborationItem )
{
$redirectView = 'item';
$redirectParameters = array( 'full', $collaborationItem->attribute( 'id' ) );