Beispiel #1
0
/**
 * Prepare wall river summary
 *
 * @param \ElggObject $object Wall or wire post
 * @return string
 */
function format_wall_summary($object)
{
    if ($object instanceof Post) {
        return $object->formatSummary();
    }
    return '';
}