PubdbControllerLiterature - JoomlaPubDB/PubDB GitHub Wiki
Summary:
Literature controller class.
- No constants found
- public __construct()
- public save()
- private checkForNewPerson()
- private checkForNewPublisher()
- private checkForNewKeyword()
- private checkForNewPeriodical()
- private checkForNewSeriesTitle()
- File: administrator/controllers/literature.php
- Package: Com_Pubdb
- Class Hierarchy:
- \Joomla\CMS\MVC\Controller\FormController
- \PubdbControllerLiterature
Tag | Version | Description |
---|---|---|
since | 1.6 |
public __construct()
Summary
Constructor
Details:
- Inherited From: \PubdbControllerLiterature
Type | Description |
---|---|
\Exception |
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:
- Inherited From: \PubdbControllerLiterature
Type | Name | Description |
---|---|---|
null |
$key | |
null |
$urlVar |
Type | Description |
---|---|
\Exception |
Returns: boolean
Tag | Version | Description |
---|---|---|
since | 0.0.7 |
private checkForNewPerson( $person) : integer
Summary
Check if new Person already exists and insert new one. Return person id in both cases.
Details:
- Inherited From: \PubdbControllerLiterature
Type | Name | Description |
---|---|---|
|
$person | stdClass person object |
Returns: integer - id of the person
Tag | Version | Description |
---|---|---|
since | 0.0.7 |
private checkForNewPublisher( $publisher) : integer
Summary
Check if new Publisher already exists and insert new one. Return publisher id in both cases.
Details:
- Inherited From: \PubdbControllerLiterature
Type | Name | Description |
---|---|---|
|
$publisher | stdClass publisher object |
Returns: integer - id of publisher
Tag | Version | Description |
---|---|---|
since | 0.0.7 |
private checkForNewKeyword( $keyword) : integer
Summary
Check if new Keyword already exists and insert new one. Return keyword id in both cases.
Details:
- Inherited From: \PubdbControllerLiterature
Type | Name | Description |
---|---|---|
|
$keyword | stdClass keyword objects |
Returns: integer - id of keyword
Tag | Version | Description |
---|---|---|
since | 0.0.7 |
private checkForNewPeriodical( $periodical) : integer
Summary
Check if new Periodical already exists and insert new one. Return periodical id in both cases.
Details:
- Inherited From: \PubdbControllerLiterature
Type | Name | Description |
---|---|---|
|
$periodical | stdClass periodical objects |
Returns: integer - id of keyword
Tag | Version | Description |
---|---|---|
since | 0.0.7 |
private checkForNewSeriesTitle( $seriesTitle) : integer
Summary
Check if new Series Title already exists and insert new one. Return series title id in both cases.
Details:
- Inherited From: \PubdbControllerLiterature
Type | Name | Description |
---|---|---|
|
$seriesTitle | stdClass series title objects |
Returns: integer - id of keyword
Tag | Version | Description |
---|---|---|
since | 0.0.7 |
This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown