Interface IStructure
Structure implementation for Real Media Library. It handles all SQL query which reads all folders from the database and "collects" it into one tree. You can modify the structure queries by RML/Tree* filters and extending the MatthiasWeb\RealMediaLibrary\attachment\Structure class (implements IStructure).
Direct known implementers
Namespace: MatthiasWeb\RealMediaLibrary\api
Since: 3.3.1
See:
See:
Located at api/IStructure.interface.php
Since: 3.3.1
See:
wp_rml_structure_reset()
See:
wp_rml_structure()
Located at api/IStructure.interface.php
Methods summary
public
|
#
__construct( integer $root = null, array $data = null )
Start reading a structure. If you pass a $root parameter the parameter is not automatically respected. You should then use your own implementation or filters to respect the root. Use this constructor to add your filters and respect your custom Structure class implementation. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
object[]
|
#
getPlainTree( )
Get all SQL query results placed to a tree. It is fully resolved with all hierarchical plain objects of the folders. |
public
|
|
public
|
|
public
|
|
public
|