This is a notice to 3rd party developers that extend Showcase...
As per title, the method
Also deprecated in the Item Entity are the following methods, which all have NEW methods added to the Item Entity.
Also deprecated in the Comment Entity is the following method which has a NEW method added to the Comment Entity.
Also deprecated in the Item Update Entity is the following method which has a NEW method added to the Item Update Entity.
Also deprecated in the Item Rating Entity is the following method which has a NEW method added to the Item Rating Entity.
As per title, the method
canViewItemAttachments
in the Item Entity has been deprecated and will be permanently removed in Showcase 4.0.
PHP:
/**
* @deprecated Use canViewAttachments instead
*
*/
public function canViewItemAttachments()
{
return $this->hasPermission('viewItemAttach');
}
Also deprecated in the Item Entity are the following methods, which all have NEW methods added to the Item Entity.
PHP:
/**
* @deprecated Use canViewUpdateAttachments instead
*
*/
public function canViewUpdateImages()
{
return $this->hasPermission('viewUpdateAttach');
}
PHP:
/**
* @deprecated Use canViewReviewAttachments instead
*
*/
public function canViewReviewImages()
{
return $this->hasPermission('viewReviewAttach');
}
PHP:
/**
* @deprecated Use canViewCommentAttachments instead
*
*/
public function canViewCommentImages()
{
return $this->hasPermission('viewCommentAttach');
}
Also deprecated in the Comment Entity is the following method which has a NEW method added to the Comment Entity.
PHP:
/**
* @deprecated Use canViewAttachments instead
*
*/
public function canViewCommentImages()
{
$content = $this->Content;
return $content->hasPermission('viewCommentAttach');
}
Also deprecated in the Item Update Entity is the following method which has a NEW method added to the Item Update Entity.
PHP:
/**
* @deprecated Use canViewAttachments instead
*
*/
public function canViewUpdateImages()
{
return $this->Item->hasPermission('viewUpdateAttach');
}
Also deprecated in the Item Rating Entity is the following method which has a NEW method added to the Item Rating Entity.
PHP:
/**
* @deprecated Use canViewAttachments instead
*
*/
public function canViewReviewImages()
{
$item = $this->Item;
return $item->hasPermission('viewReviewAttach');
}
Last edited:
Upvote
0