Overview
  • Namespace
  • Class

Namespaces

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

Classes

  • ExImport
  • PageBuilders
  • PolyLang
  • WPML

Class PolyLang

This class handles the compatibility for Poly Lang plugin.

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

Methods summary

public
# init( )

Initialize actions.

Initialize actions.

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
# pll_translate_media( $post_id, $tr_id, $lang_slug )

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 static
# getInstance( )

Methods inherited from MatthiasWeb\RealMediaLibrary\base\Base

debug(), getCore(), getTableName()

API documentation generated by ApiGen