MythTV  master
Public Member Functions | Public Attributes | List of all members
nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions Class Reference
Inheritance diagram for nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions:
[legend]
Collaboration diagram for nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions:
[legend]

Public Member Functions

def __init__ (self)
 
def traileraddictsLinkGenerationMovie (self, context, *args)
 Start of XPath extension functions. More...
 
def traileraddictsLinkGenerationClip (self, context, *args)
 
def traileraddictsCheckIfDBItem (self, context, *arg)
 

Public Attributes

 functList
 
 TextTail
 
 persistence
 

Detailed Description

Functions specific extending XPath

Definition at line 88 of file traileraddicts_api.py.

Constructor & Destructor Documentation

◆ __init__()

def nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.__init__ (   self)

Definition at line 91 of file traileraddicts_api.py.

Member Function Documentation

◆ traileraddictsLinkGenerationMovie()

def nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.traileraddictsLinkGenerationMovie (   self,
  context,
args 
)

Start of XPath extension functions.

Generate a link for the TrailerAddicts.com site.
Call example: 'mnvXpath:traileraddictsLinkGenerationMovie(position(), link)'
return the url link

Definition at line 103 of file traileraddicts_api.py.

◆ traileraddictsLinkGenerationClip()

def nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.traileraddictsLinkGenerationClip (   self,
  context,
args 
)
Generate a link for the TrailerAddicts.com site.
Call example: 'mnvXpath:traileraddictsLinkGenerationClip(position(), link)'
return the url link

Definition at line 130 of file traileraddicts_api.py.

◆ traileraddictsCheckIfDBItem()

def nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.traileraddictsCheckIfDBItem (   self,
  context,
arg 
)
Use a unique key value pairing to find out if the 'internetcontentarticles' table already
has a matching item. This is done to save accessing the Internet when not required.
Call example: 'mnvXpath:traileraddictsCheckIfDBItem(.)'
return True if a match was found
return False if a match was not found

Definition at line 151 of file traileraddicts_api.py.

Member Data Documentation

◆ functList

nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.functList

Definition at line 92 of file traileraddicts_api.py.

◆ TextTail

nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.TextTail

◆ persistence

nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.persistence

The documentation for this class was generated from the following file: