PubdbHelpersPubdb - JoomlaPubDB/PubDB GitHub Wiki

Class: \PubdbHelpersPubdb

Namespace: [](../namespaces/default)


Summary:

Class PubdbFrontendHelper


Constants

  • No constants found

Properties


Methods


Details


Tags

Tag Version Description
since 1.6

Methods

public getModel() : null|object

Static public getModel(string  $name) : null|object

Summary

Get an instance of the named model

Details:

Parameters:
Type Name Description
string $name Model name

Returns: null|object

public getFiles() : array

Static public getFiles(integer  $pk, string  $table, string  $field) : array

Summary

Gets the files attached to an item

Details:

Parameters:
Type Name Description
integer $pk The item's id
string $table The table's name
string $field The field's name

Returns: array - The files

public canUserEdit() : boolean

Static public canUserEdit(mixed  $item) : boolean

Summary

Gets the edit permission for an user

Details:

Parameters:
Type Name Description
mixed $item The item

Returns: boolean


Top Namespaces


Reports


This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown

⚠️ **GitHub.com Fallback** ⚠️