File: bp-document/classes/class-bp-document.php |
Description |
|---|---|
| BP_Document::get_meta_query_sql() |
Get the SQL for the ‘meta_query’ param in BP_Document::get(). |
| BP_Document::get_document_folder_meta_query_sql() |
Get the SQL for the ‘meta_query’ param in BP_Document::get(). |
| BP_Document::get_activity_attachment_id() |
Get document attachment id for the activity. |
| bp_document_total_documents_sql |
Filters the total document MySQL statement. |
| BP_Document::array_sort_by_column() |
Sort by column. |
| BP_Document::get_scope_query_sql() |
Get the SQL for the ‘scope’ param in BP_Document::get(). |
| BP_Document::get_in_operator_sql() |
Create SQL IN clause for filter queries. |
| bp_document_set_{$scope}_scope_args |
Plugins can hook here to set their document arguments for custom scopes. |
| BP_Document::delete() |
Delete document items from the database. |
| BP_Document::get_document_data() |
Convert document IDs to document objects, as expected in template loop. |