FreenetIS
 All Classes Namespaces Functions Variables Pages
Static Public Member Functions | List of all members
condition Class Reference

Helper for conditions used for Action_conditional_field of Grouped_action_field. More...

Static Public Member Functions

static is_own ($item)
 Check if current row is owned by logged user.
static is_locked ($item)
 Check if current row is locked.
static is_log_queue_unclosed ($item)
 Check if the log queue is uncloded.
static is_not_locked ($item)
 Check if current row is not locked.
static is_locked_or_filled ($item)
 Check if current row is locked or filled.
static is_not_locked_and_not_filled ($item)
 Check if current row is not locked and not filled.
static is_not_readonly ($item)
 Check if current row is not read only.
static special_type_id_is_not_membership_interrupt ($item)
 Check if special type id of item is not membership interrupt.
static is_not_default_vlan ($item)
 Check if current row is default vlan.
static is_connection_request_undecided ($item)
 Check if connection is undecided.
static is_applicant_registration ($item)
 Check whether the approval of applicant can be made without submited registration or applicant has submited the registration.
static is_item_new ($item)
 Is item in the new state?
static is_message_automatical_config ($item)
 Checks whether the given notification message may be activated automatically.
static is_activatable_directlty ($item)
 Checks if notification message may be activated directly.
static is_message_type_of_user ($item)
 Checks whether the given notification message is user message.
static is_automatical_down_of_statement_available ($item)
 Checks whether the given bank account has capability for automatical sownload of bank statements.
static is_import_of_statement_available ($item)
 Checks whether the given bank account has capability for importing of bank statement.

Detailed Description

Helper for conditions used for Action_conditional_field of Grouped_action_field.

Conditions are boolean functions which are called before displaying action, if false is returned from condition, nothing is displayed. Conditions gets two params: first is data row second is name of action field.

Author
Ondřej Fibich

Member Function Documentation

static condition::is_activatable_directlty (   $item)
static

Checks if notification message may be activated directly.

Parameters
object$item
Returns
boolean
static condition::is_applicant_registration (   $item)
static

Check whether the approval of applicant can be made without submited registration or applicant has submited the registration.

Parameters
object$itemMember object
Returns
boolen
static condition::is_automatical_down_of_statement_available (   $item)
static

Checks whether the given bank account has capability for automatical sownload of bank statements.

Parameters
object$item
Returns
boolean
static condition::is_connection_request_undecided (   $item)
static

Check if connection is undecided.

Author
Ondřej Fibich
Parameters
object$itemData row
Returns
boolean
static condition::is_import_of_statement_available (   $item)
static

Checks whether the given bank account has capability for importing of bank statement.

Parameters
object$item
Returns
boolean
static condition::is_item_new (   $item)
static

Is item in the new state?

Parameters
object$item
Returns
boolena
static condition::is_locked (   $item)
static

Check if current row is locked.

Data row has to have locked column.

Author
Ondřej Fibich
Parameters
object$itemData row
Returns
boolean
static condition::is_locked_or_filled (   $item)
static

Check if current row is locked or filled.

Data row has to have locked and filled column.

Author
Ondřej Fibich
Parameters
object$itemData row
Returns
boolean
static condition::is_log_queue_unclosed (   $item)
static

Check if the log queue is uncloded.

Parameters
object$itemData row
Returns
boolean
static condition::is_message_automatical_config (   $item)
static

Checks whether the given notification message may be activated automatically.

Parameters
object$item
Returns
boolean
static condition::is_message_type_of_user (   $item)
static

Checks whether the given notification message is user message.

Parameters
object$item
Returns
boolean
static condition::is_not_default_vlan (   $item)
static

Check if current row is default vlan.

Author
David Raska
Parameters
object$itemData row
Returns
boolean
static condition::is_not_locked (   $item)
static

Check if current row is not locked.

Data row has to have locked column.

Author
Ondřej Fibich
Parameters
object$itemData row
Returns
boolean
static condition::is_not_locked_and_not_filled (   $item)
static

Check if current row is not locked and not filled.

Data row has to have locked and filled column.

Author
Ondřej Fibich
Parameters
object$itemData row
Returns
boolean
static condition::is_not_readonly (   $item)
static

Check if current row is not read only.

Data row has to have readonly column.

Author
Ondřej Fibich
Parameters
object$itemData row
Returns
boolean
static condition::is_own (   $item)
static

Check if current row is owned by logged user.

Data row has to have user_id column.

Author
Ondřej Fibich
Parameters
object$itemData row
Returns
boolean
static condition::special_type_id_is_not_membership_interrupt (   $item)
static

Check if special type id of item is not membership interrupt.

Data row has to have special_type_id column.

Author
Ondřej Fibich
Parameters
object$itemData row
Returns
boolean

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