eZPublishCommunityProject(LegacyStack)  2013.6
tipafriend.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

 $comment = ''
 
 $error_strings = array()
 
if(!$object->canRead()) $hostName = eZSys::hostname()
 
 $http = eZHTTPTool::instance()
 
 $ini = eZINI::instance()
 
 $Module = $Params['Module']
 
 $node = eZContentObjectTreeNode::fetch( $NodeID )
 
 $NodeID = (int)$Params['NodeID']
 
 $object = $node->object()
 
 $overrideKeysAreSet = false
 
 $receiversEmail = ''
 
if(is_object($user)&&$user->id()!=$ini->
variable( 'UserSettings',
'AnonymousUserID')) 
$receiversName = ''
 
 $Result = array()
 
 $Result ['content'] = $tpl->fetch( 'design:content/tipafriend.tpl' )
 
 $Result ['path']
 
 $subject = ezpI18n::tr( 'kernel/content', 'Tip from %1: %2', null, array( $hostName, $nodeName ) )
 
 $tpl = eZTemplate::factory()
 
 $user = eZUser::currentUser()
 
 $yourEmail = ''
 
 $yourName = ''
 
if(is_object($node)) else
 

Variable Documentation

$error_strings = array()
if (!$object->canRead()) $hostName = eZSys::hostname()
$ini = eZINI::instance()
$Module = $Params['Module']
$node = eZContentObjectTreeNode::fetch( $NodeID )
$NodeID = (int)$Params['NodeID']
$object = $node->object()
$overrideKeysAreSet = false
$receiversEmail = ''
if (is_object($user)&&$user->id()!=$ini->variable( 'UserSettings', 'AnonymousUserID')) $receiversName = ''
$Result = array()
$Result['content'] = $tpl->fetch( 'design:content/tipafriend.tpl' )
$Result['path']
Initial value:
= array( array( 'text' => ezpI18n::tr( 'kernel/content', 'Tip a friend' ),
'url' => false ) )
static tr($context, $source, $comment=null, $arguments=null)
Translates the source $source with context $context and optional comment $comment and returns the tra...
Definition: ezpi18n.php:86
$yourEmail = ''
$yourName = ''
if (is_object($node)) else
Initial value:
{
return $Module->handleError( eZError::KERNEL_NOT_AVAILABLE, 'kernel' )
const KERNEL_NOT_AVAILABLE
Definition: ezerror.php:29
$Module
Definition: classlist.php:9