tryToxic
 All Classes Functions
models.Controller Class Reference

Public Member Functions

def __init__
 
def updateEos
 
def updateCompanyList
 
def updatePersonalFinancesList
 
def createCompany
 
def createPersonalFinance
 
def createConfig
 
def updateConfigList
 
def getCompanyById
 
def getCompanyByName
 

Public Attributes

 encryptionObject
 
 encryption
 
 lang
 
 singleView
 
 singleViewId
 
 companylist
 
 personalFinances
 
 configlist
 

Detailed Description

The controller is able to create and manage all those objects in data

Definition at line 35 of file models.py.

Member Function Documentation

def models.Controller.createCompany (   self,
  name,
  loan,
  perHours,
  describtion 
)
Create a company in database

Definition at line 91 of file models.py.

def models.Controller.getCompanyById (   self,
  id 
)
Get a company by id
return company

Definition at line 153 of file models.py.

def models.Controller.getCompanyByName (   self,
  name 
)
Get a company by name
return company

Definition at line 161 of file models.py.

def models.Controller.updateConfigList (   self)
Update list of configs.
return configList

Definition at line 126 of file models.py.

def models.Controller.updateEos (   self,
  cm 
)
Update encryptionObjects on every object

Definition at line 47 of file models.py.


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