FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Static Public Attributes | List of all members
Bank_transfers_Controller Class Reference
Inheritance diagram for Bank_transfers_Controller:
Controller

Public Member Functions

 __construct ()
 Constructor, only test if finance is enabled.
 index ()
 Redirects to show all.
 show_by_bank_account ($bank_account_id=NULL, $limit_results=50, $order_by= 'id', $order_by_direction= 'desc', $page_word=null, $page=1)
 It shows transfers of bank account.
 show_by_bank_statement ($bank_statement_id=NULL, $limit_results=50, $order_by= 'id', $order_by_direction= 'desc', $page_word=null, $page=1)
 Shows transfers of bank statement.
 unidentified_transfers ($limit_results=500, $order_by= 'id', $order_by_direction= 'asc', $page_word=null, $page=1)
 It shows unidentified bank transfers.
 show_unidentified_transfer ($trans_id=NULL)
 Shows detail of unidentified transfer and options that are available for its assigning.
 assign_member_transfer ($trans_id=NULL)
 assign_other_transfer ($trans_id=NULL)
 add ($baa_id=null)
 Function enables adding of bank transfers manually.
 add_fee ($baa_id=null)
 Function adds bank transfer without counteraccount.
 valid_amount ($input=NULL)
 Function validates amount.
 valid_correct_vs ($input=NULL)
 Function validates variable symbol.
- Public Member Functions inherited from Controller
 is_user_in_group ($aro_group_id, $aro_id)
 Checks if user is in ARO group.
 acl_check_view ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE)
 Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may view all $axo_value object in $axo_section else return false.
 acl_check_edit ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE)
 Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may edit all $axo_value object in $axo_section else return false.
 acl_check_new ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE)
 Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may add all $axo_value object in $axo_section else return false.
 acl_check_delete ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE)
 Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may delete all $axo_value object in $axo_section else return false.
 build_menu ()
 Build menu.
 url ()
 Return URL for controller and method.
 redirect ($uri=NULL, $id=NULL, $glue= '/')
 Redirects to uri according to attribute noredirect.

Static Public Attributes

static $member_fee = 1
static $invoice = 2
static $bank_fee = 1
static $bank_interest = 2
static $deposit = 3
static $drawings = 4

Additional Inherited Members

- Static Public Member Functions inherited from Controller
static & instance ()
 Singleton instance of Controller.
static error ($message_type, $content=NULL)
 Function shows error of given message number.
static warning ($message_type, $content=NULL)
 Function shows warning of given message number.
- Public Attributes inherited from Controller
const ICON_ERROR = 1
const ICON_GOOD = 2
const ICON_HELP = 3
const ICON_INFO = 4
const ICON_WARNING = 5
 $arr
 $settings = NULL
 $popup = 0
 $dialog = 0
 $noredirect = FALSE
 $user_has_voip = 0
 $ip_address_span = ''
 $unread_user_mails = 0
 $count_of_unclosed_logged_errors = 0
 $devices_down_count = 0
 $user_favourites_pages = NULL
 $axo_doc_access = FALSE
- Protected Member Functions inherited from Controller
 is_preprocesor_enabled ()
 This methods defines whether the preprocessor of MY_Controller is loaded or not.
- Protected Attributes inherited from Controller
 $member_id
 $user_id
 $member_account_id = 1
 $session

Member Function Documentation

Bank_transfers_Controller::add (   $baa_id = null)

Function enables adding of bank transfers manually.

Author
Jiri Svitak
Parameters
integer$baa_idbank account of association
Bank_transfers_Controller::add_fee (   $baa_id = null)

Function adds bank transfer without counteraccount.

Parameters
integer$baa_id
Bank_transfers_Controller::assign_member_transfer (   $trans_id = NULL)
Author
Jiri Svitak, Tomas Dulik
Parameters
integer$trans_idid of a transfer from table transfers
Bank_transfers_Controller::assign_other_transfer (   $trans_id = NULL)
Author
Ondrej Fibich
Parameters
integer$trans_idid of a transfer from table transfers
Bank_transfers_Controller::show_by_bank_account (   $bank_account_id = NULL,
  $limit_results = 50,
  $order_by = 'id',
  $order_by_direction = 'desc',
  $page_word = null,
  $page = 1 
)

It shows transfers of bank account.

Transaction list includes bank information like variable symbol or bank account number.

Author
Jiri Svitak
Parameters
integer$account_id
Bank_transfers_Controller::show_by_bank_statement (   $bank_statement_id = NULL,
  $limit_results = 50,
  $order_by = 'id',
  $order_by_direction = 'desc',
  $page_word = null,
  $page = 1 
)

Shows transfers of bank statement.

Author
Jiri Svitak
Parameters
integer$account_id
Bank_transfers_Controller::show_unidentified_transfer (   $trans_id = NULL)

Shows detail of unidentified transfer and options that are available for its assigning.

Parameters
integer$trans_id
Bank_transfers_Controller::unidentified_transfers (   $limit_results = 500,
  $order_by = 'id',
  $order_by_direction = 'asc',
  $page_word = null,
  $page = 1 
)

It shows unidentified bank transfers.

Parameters
integer$limit_results
string$order_by
string$order_by_direction
Bank_transfers_Controller::valid_amount (   $input = NULL)

Function validates amount.

Parameters
unknown_type$input
Bank_transfers_Controller::valid_correct_vs (   $input = NULL)

Function validates variable symbol.

Do not control by javascript! Let it possible to leave variable symbol empty. Target account for assigning unidentified transfer can be selected separately.

Author
Jiri Svitak
Parameters
unknown_type$input

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