| Elgg
    Version 6.3
    | 
Go to the source code of this file.
| Variables | |
| $item = elgg_extract('item', $vars) | |
| Post comment river view.  More... | |
| if(! $item instanceof ElggRiverItem) | $comment = $item->getObjectEntity() | 
| if(! $comment instanceof ElggComment) | $subject = $item->getSubjectEntity() | 
| $target = $item->getTargetEntity() | |
| if(! $subject instanceof ElggEntity||! $target instanceof ElggEntity) | $type = $target->getType() | 
| $subtype = $target->getSubtype() ? $target->getSubtype() : 'default' | |
| $key = false | |
| $keys | |
| foreach($keys as $try_key) if($key !==false) | $message = elgg_get_excerpt((string) $comment->description) | 
| if(elgg_substr($message, -3)==='...') | $vars ['message'] = $message | 
| if (! $item instanceof ElggRiverItem) $comment = $item->getObjectEntity() | 
Definition at line 11 of file create.php.
| $item = elgg_extract('item', $vars) | 
Post comment river view.
Definition at line 6 of file create.php.
| $key = false | 
Definition at line 26 of file create.php.
| $keys | 
Definition at line 27 of file create.php.
| foreach ( $keys as $try_key) if ( $key !==false) $message = elgg_get_excerpt((string) $comment->description) | 
Definition at line 45 of file create.php.
| if (! $comment instanceof ElggComment) $subject = $item->getSubjectEntity() | 
Definition at line 16 of file create.php.
| $subtype = $target->getSubtype() ? $target->getSubtype() : 'default' | 
Definition at line 24 of file create.php.
| $target = $item->getTargetEntity() | 
Definition at line 17 of file create.php.
| if (! $subject instanceof ElggEntity||! $target instanceof ElggEntity) $type = $target->getType() | 
Definition at line 23 of file create.php.
| if (elgg_substr( $message, -3)==='...') $vars[ 'message'] = $message | 
Definition at line 50 of file create.php.