Source of file RenderableAsPortlet.php
Size: 0,999 Bytes - Last Modified: 2021-12-23T10:59:01+00:00
/var/www/docs.ssmods.com/process/src/code/RenderableAsPortlet.php
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 | <?php namespace WebOfTalent\Portlets; /** * Defines the interface for a DataObject renderable as a portlet. Implementors * of this interface must define the following functions in order to work with * the {@link RenderPortlet} * helper class. * * @author Gordon Anderson */ interface RenderableAsPortlet { /** * An accessor method for the title of an item in a portlet. * * @example * <code> * return $this->Title; * </code> * * @return string */ public function getPortletTitle(); /** * An accessor method for an image for a portlet. * * @example * <code> * return $this->NewsItemImage; * </code> * * @return string */ public function getPortletImage(); /** * An accessor for text associated with the portlet. * * @example * <code> * return $this->Summary * </code> * * @return string */ public function getPortletCaption(); } |