Overview
  • Namespace
  • Class

Namespaces

  • MatthiasWeb
    • RealMediaLibrary
      • api
      • attachment
      • base
      • comp
        • complexquery
      • folder
      • general
      • metadata
      • order
      • rest
      • usersettings
  • None

Classes

  • ExImport
  • PageBuilders
  • PolyLang
  • WPML

Class WPML

This class handles the compatibility for WPML.

MatthiasWeb\RealMediaLibrary\base\Base
Extended by MatthiasWeb\RealMediaLibrary\comp\WPML
Namespace: MatthiasWeb\RealMediaLibrary\comp
Located at comp/WPML.class.php

Methods summary

public
# init( )

Initialize actions and filters.

Initialize actions and filters.

public
# sqlstatement_join( $joins )

Add a JOIN to the WPML count cache table.

Add a JOIN to the WPML count cache table.

public
# sqlstatement_select_fields( $fields )

Load the cnt from the WPML count cache table.

Load the cnt from the WPML count cache table.

public
# getSingleCountSql( $code, $fieldId = 'tn.fid' )

Get the single SQL for the subquery of count getter.

Get the single SQL for the subquery of count getter.

public
# updateCountCache( $folders, $attachments, $where )

Update the count cache for WPML regarding the active languages.

Update the count cache for WPML regarding the active languages.

public
# wpml_update_active_languages( )

Fired when wpml language gets activated.

Fired when wpml language gets activated.

public
# dbDeltaCountCache( )

Create a count cache table with dbDelta functionality.

Create a count cache table with dbDelta functionality.

public
# _dbDeltaCountCache( )
public
# options_register( )

Register option for PolyLang

Register option for PolyLang

public
# html_options_move( )
public
# item_move_finished( $folderId, $ids, $folder, $isShortcut )

A file is moved (not copied) and then move also all the translations.

A file is moved (not copied) and then move also all the translations.

public
# wpml_media_create_duplicate_attachment( $post_id, $tr_id )

New translation created => synchronize with original post. Then reset the count cache for the unogranized folder.

New translation created => synchronize with original post. Then reset the count cache for the unogranized folder.

public
# wpml_count_attachments( $count )

See

https://wpml.org/forums/topic/wp_count_posts/
public static
# getInstance( )

Methods inherited from MatthiasWeb\RealMediaLibrary\base\Base

debug(), getCore(), getTableName()

API documentation generated by ApiGen