PubdbModelImporter - JoomlaPubDB/PubDB GitHub Wiki

Class: \PubdbModelImporter

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


Summary:

Pubdb model.


Constants

  • No constants found

Properties


Methods


Details


Tags

Tag Version Description
since 1.6

Methods

public __construct()

public __construct(  $config = array()) 

Details:

Parameters:
Type Name Description
$config

public getTable() : \JTable

public getTable(string  $type = 'Block', string  $prefix = 'PubdbTable', array  $config = array()) : \JTable

Summary

Returns a reference to the a Table object, always creating it.

Details:

Parameters:
Type Name Description
string $type The table type to instantiate
string $prefix A prefix for the table class name. Optional.
array $config Configuration array for model. Optional.

Returns: \JTable - A database object

Tags
Tag Version Description
since 1.6

public getForm() : \JForm

public getForm(array  $data = array(), boolean  $loadData = true) : \JForm

Summary

Method to get the record form.

Details:

Parameters:
Type Name Description
array $data An optional array of data for the form to interogate.
boolean $loadData True if the form is to load its own data (default case), false if not.
Throws:
Type Description

Returns: \JForm - A JForm object on success, false on failure

Tags
Tag Version Description
since 1.6

protected loadFormData() : mixed

protected loadFormData() : mixed

Summary

Method to get the data that should be injected in the form.

Details:

Throws:
Type Description

Returns: mixed - The data for the form.

Tags
Tag Version Description
since 1.6

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** ⚠️