Overview
  • Namespace
  • Class

Namespaces

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

Classes

  • BaseFolder
  • Collection
  • Creatable
  • CRUD
  • Folder
  • Gallery
  • Root

Class CRUD

Static class to perform CRUD operations on folders. Please do not use this directly instead use the API functions. The R (Read) is not implemented here because updates should be executed through the API functions. It also holds the registered creatables.

MatthiasWeb\RealMediaLibrary\base\Base
Extended by MatthiasWeb\RealMediaLibrary\folder\CRUD
Namespace: MatthiasWeb\RealMediaLibrary\folder
Located at folder/CRUD.class.php

Methods summary

public
# create( $name, $parent, $type, $restrictions = array(), $supress_validation = false, $return_existing_id = false )

See

wp_rml_create()
public
# update( $name, $id, $supress_validation = false )

See

wp_rml_rename()
public
# remove( $id, $supress_validation = false )

See

wp_rml_delete()
public
# registerCreatable( $qualified, $type, $onRegister = false )

See

wp_rml_register_creatable()
public
# getCreatables( $type = null )

Get available creatables.

Get available creatables.

public static
# getInstance( )

Methods inherited from MatthiasWeb\RealMediaLibrary\base\Base

debug(), getCore(), getTableName()

API documentation generated by ApiGen