original_string: function processGenericData( $contentNode )
      {
          $returnArray = array();
  
          $siteName = trim( eZINI::instance()->variable( 'SiteSettings', 'SiteName' ) );
          if ( !empty( $siteName ) )
          {
              $returnArray['og:site_name'] = $siteName;
          }
  
          $urlAlias = $contentNode->urlAlias();
          eZURI::transformURI( $urlAlias, false, 'full' );
          $returnArray['og:url'] = $urlAlias;
  
          if ( $this->facebookCompatible == 'true' )
          {
              $appID = trim( $this->ogIni->variable( 'GenericData', 'app_id' ) );
              if ( !empty( $appID ) )
              {
                  $returnArray['fb:app_id'] = $appID;
              }
  
              $defaultAdmin = trim( $this->ogIni->variable( 'GenericData', 'default_admin' ) );
              $data = '';
              if ( !empty( $defaultAdmin ) )
              {
                  $data = $defaultAdmin;
  
                  $admins = $this->ogIni->variable( 'GenericData', 'admins' );
  
                  if ( !empty( $admins ) )
                  {
                      $admins = trim( implode( ',', $admins ) );
                      $data = $data . ',' . $admins;
                  }
              }
  
              if ( !empty( $data ) )
              {
                  $returnArray['fb:admins'] = $data;
              }
          }
  
          return $returnArray;
      }
code: function processGenericData( $contentNode )
      {
          $returnArray = array();
  
          $siteName = trim( eZINI::instance()->variable( 'SiteSettings', 'SiteName' ) );
          if ( !empty( $siteName ) )
          {
              $returnArray['og:site_name'] = $siteName;
          }
  
          $urlAlias = $contentNode->urlAlias();
          eZURI::transformURI( $urlAlias, false, 'full' );
          $returnArray['og:url'] = $urlAlias;
  
          if ( $this->facebookCompatible == 'true' )
          {
              $appID = trim( $this->ogIni->variable( 'GenericData', 'app_id' ) );
              if ( !empty( $appID ) )
              {
                  $returnArray['fb:app_id'] = $appID;
              }
  
              $defaultAdmin = trim( $this->ogIni->variable( 'GenericData', 'default_admin' ) );
              $data = '';
              if ( !empty( $defaultAdmin ) )
              {
                  $data = $defaultAdmin;
  
                  $admins = $this->ogIni->variable( 'GenericData', 'admins' );
  
                  if ( !empty( $admins ) )
                  {
                      $admins = trim( implode( ',', $admins ) );
                      $data = $data . ',' . $admins;
                  }
              }
  
              if ( !empty( $data ) )
              {
                  $returnArray['fb:admins'] = $data;
              }
          }
  
          return $returnArray;
      }
code_tokens: function processGenericData ( $ contentNode ) { $ returnArray = array ( ) ; $ siteName = trim ( eZINI :: instance ( ) -> variable ( 'SiteSettings' , 'SiteName' ) ) ; if ( ! empty ( $ siteName ) ) { $ returnArray [ 'og:site_name' ] = $ siteName ; } $ urlAlias = $ contentNode -> urlAlias ( ) ; eZURI :: transformURI ( $ urlAlias , false , 'full' ) ; $ returnArray [ 'og:url' ] = $ urlAlias ; if ( $ this -> facebookCompatible == 'true' ) { $ appID = trim ( $ this -> ogIni -> variable ( 'GenericData' , 'app_id' ) ) ; if ( ! empty ( $ appID ) ) { $ returnArray [ 'fb:app_id' ] = $ appID ; } $ defaultAdmin = trim ( $ this -> ogIni -> variable ( 'GenericData' , 'default_admin' ) ) ; $ data = '' ; if ( ! empty ( $ defaultAdmin ) ) { $ data = $ defaultAdmin ; $ admins = $ this -> ogIni -> variable ( 'GenericData' , 'admins' ) ; if ( ! empty ( $ admins ) ) { $ admins = trim ( implode ( ',' , $ admins ) ) ; $ data = $ data . ',' . $ admins ; } } if ( ! empty ( $ data ) ) { $ returnArray [ 'fb:admins' ] = $ data ; } } return $ returnArray ; }
docstring: Processes literal Open Graph metadata
  
  @param eZContentObjectTreeNode $contentNode
  
  @return array
docstring_tokens: Processes literal Open Graph metadata