PubdbControllerLiterature - JoomlaPubDB/PubDB GitHub Wiki

Class: \PubdbControllerLiterature

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


Summary:

Literature controller class.


Constants

  • No constants found

Properties


Methods


Details


Tags

Tag Version Description
since 1.6

Methods

public __construct()

public __construct() 

Summary

Constructor

Details:

Throws:
Type Description
\Exception

public save() : boolean

public save(null  $key = null, null  $urlVar = null) : boolean

Summary

Override default save function to get the author sub form.

Description

Create new authors or get the id if they already exist and override / merge with real author field. Return / call parent save function to use joomla defaults.

Details:

Parameters:
Type Name Description
null $key
null $urlVar
Throws:
Type Description
\Exception

Returns: boolean

Tags
Tag Version Description
since 0.0.7

private checkForNewPerson() : integer

private checkForNewPerson(  $person) : integer

Summary

Check if new Person already exists and insert new one. Return person id in both cases.

Details:

Parameters:
Type Name Description
$person stdClass person object

Returns: integer - id of the person

Tags
Tag Version Description
since 0.0.7

private checkForNewPublisher() : integer

private checkForNewPublisher(  $publisher) : integer

Summary

Check if new Publisher already exists and insert new one. Return publisher id in both cases.

Details:

Parameters:
Type Name Description
$publisher stdClass publisher object

Returns: integer - id of publisher

Tags
Tag Version Description
since 0.0.7

private checkForNewKeyword() : integer

private checkForNewKeyword(  $keyword) : integer

Summary

Check if new Keyword already exists and insert new one. Return keyword id in both cases.

Details:

Parameters:
Type Name Description
$keyword stdClass keyword objects

Returns: integer - id of keyword

Tags
Tag Version Description
since 0.0.7

private checkForNewPeriodical() : integer

private checkForNewPeriodical(  $periodical) : integer

Summary

Check if new Periodical already exists and insert new one. Return periodical id in both cases.

Details:

Parameters:
Type Name Description
$periodical stdClass periodical objects

Returns: integer - id of keyword

Tags
Tag Version Description
since 0.0.7

private checkForNewSeriesTitle() : integer

private checkForNewSeriesTitle(  $seriesTitle) : integer

Summary

Check if new Series Title already exists and insert new one. Return series title id in both cases.

Details:

Parameters:
Type Name Description
$seriesTitle stdClass series title objects

Returns: integer - id of keyword

Tags
Tag Version Description
since 0.0.7

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