Revize 2212
Přidáno uživatelem Ondřej Fibich před asi 11 roky(ů)
freenetis/branches/1.1/application/models/preprocessor.php | ||
---|---|---|
* @return integer
|
||
*/
|
||
public function get_first_member_account_id($member_id = NULL)
|
||
{
|
||
if (empty($member_id))
|
||
{
|
||
$member_id = $this->id;
|
||
}
|
||
|
||
{
|
||
$result = $this->db->query("
|
||
SELECT a.id
|
||
FROM accounts a
|
freenetis/branches/1.1/application/models/user_favourite_pages.php | ||
---|---|---|
*/
|
||
|
||
/**
|
||
* Pivot table for connecting users and theirs contacts, also containts
|
||
* whitelisted column for defining whitelist of contact in notification.
|
||
* Model for storing user faborite pages.
|
||
*
|
||
* @package Model
|
||
*/
|
freenetis/branches/1.1/application/vendors/unit_tester/unit_testing_config.xml | ||
---|---|---|
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="get_gps_by_address_string" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="autocomplete_gps" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method></controller>
|
||
<controller name="bank_templates">
|
||
<method name="index" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="show" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="template_id" default_value=""/>
|
||
</attributes>
|
||
<values>
|
||
<input/>
|
||
<input>
|
||
<param value=""/>
|
||
</input>
|
||
<input>
|
||
<param value="1"/>
|
||
</input>
|
||
<input>
|
||
<param value="1'"/>
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="add" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="edit" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="template_id" default_value=""/>
|
||
</attributes>
|
||
<values>
|
||
<input/>
|
||
<input>
|
||
<param value=""/>
|
||
</input>
|
||
<input>
|
||
<param value="1"/>
|
||
</input>
|
||
<input>
|
||
<param value="1'"/>
|
||
</input>
|
||
</values>
|
||
</method>
|
||
</controller>
|
||
<controller name="bank_transfers">
|
||
<method name="index" autogenerate="on">
|
||
<attributes></attributes>
|
||
... | ... | |
</values>
|
||
</method>
|
||
</controller>
|
||
<controller name="device_active_links">
|
||
<method name="index" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="show" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="active_link_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="add" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="edit" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="device_active_link_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="delete" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="device_active_link_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
</controller>
|
||
<controller name="device_admins">
|
||
<method name="edit" autogenerate="off">
|
||
<attributes>
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="ports_vlans_settings" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="device_id" default_value="" />
|
||
<attribute name="vlan_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
<input>
|
||
<param value="" />
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
</controller>
|
||
<controller name="email">
|
||
<method name="index" autogenerate="on">
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_address" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="get_fee_by_id" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="get_fees_by_type" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
... | ... | |
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="vat_organization_identifier" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="variable_symbol" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
... | ... | |
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="get_device_template_active_links" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="get_device_templates_by_type" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
... | ... | |
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="invoice_vat_organization_id" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="invoice_account_nr" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
... | ... | |
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="load_member_data_from_ares" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
</controller>
|
||
<controller name="languages">
|
||
<method name="index" autogenerate="on">
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="show" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="message_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="edit" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="message_id" default_value="" />
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="device" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="device_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="devices" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="message_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
</controller>
|
||
<controller name="phone_invoices">
|
||
<method name="index" autogenerate="on">
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="export" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="work_report_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="concept_change" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="work_report_id" default_value="" />
|
||
... | ... | |
</values>
|
||
</method>
|
||
</model>
|
||
<model name="bank_template"></model>
|
||
<model name="bank_transfer">
|
||
<method name="count_bank_transfers" autogenerate="off">
|
||
<attributes>
|
||
... | ... | |
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="select_country_code_list" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="find_country_by_area" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="area" default_value=""/>
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="enable_countries" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="countries" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
</model>
|
||
<model name="device">
|
||
<method name="get_all_devices" autogenerate="on">
|
||
... | ... | |
</values>
|
||
</method>
|
||
</model>
|
||
<model name="device_active_link">
|
||
<method name="count_all_active_links" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="filter_sql" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_all_active_links" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="params" default_value="array()" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="array()" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
</model>
|
||
<model name="device_admin">
|
||
<method name="get_device_admins" autogenerate="off">
|
||
<attributes>
|
||
... | ... | |
<param value="sf#@@čě'"/>
|
||
</input>
|
||
</values>
|
||
</method></model>
|
||
</method>
|
||
<method name="get_all_devices_admins" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="params" default_value="array()" />
|
||
<attribute name="user_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="array()" />
|
||
</input>
|
||
<input>
|
||
<param value="array()" />
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="count_all_devices_admins" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="filter_sql" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
</model>
|
||
<model name="device_engineer">
|
||
<method name="get_device_engineers" autogenerate="off">
|
||
<attributes>
|
||
... | ... | |
</method></model>
|
||
<model name="enum_type_name"></model>
|
||
<model name="fee">
|
||
<method name="get_all_fees" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="order_by" default_value="from"/>
|
||
<attribute name="order_by_direction" default_value="asc"/>
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value=""/>
|
||
<param value=""/>
|
||
</input>
|
||
<input>
|
||
<param value="from"/>
|
||
<param value="asc"/>
|
||
</input>
|
||
<input>
|
||
<param value="id"/>
|
||
<param value="desc"/>
|
||
</input>
|
||
<input>
|
||
<param value="sef'##$ě"/>
|
||
<param value="sef'##$ě"/>
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_by_date_type" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="datetime" default_value=""/>
|
||
... | ... | |
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="get_port_vlan_types" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="is_mac_unique" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="iface_id" default_value="" />
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="vlan_exists" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="vlan_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_untagged_vlan" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="is_in_bridge" autogenerate="on">
|
||
<attributes></attributes>
|
||
<values>
|
||
<input></input>
|
||
</values>
|
||
</method>
|
||
</model>
|
||
<model name="ifaces_relationship">
|
||
<method name="delete_bridge_relationships_of_iface" autogenerate="on">
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_all_vat_organization_ids" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="like" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_all_account_nrs" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="like" default_value="" />
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_ip_addresses_of_user" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="user_id" default_value="" />
|
||
<attribute name="subnet_id" default_value="" />
|
||
<attribute name="cloud_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
<input>
|
||
<param value="" />
|
||
<param value="" />
|
||
</input>
|
||
<input>
|
||
<param value="" />
|
||
<param value="" />
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_ip_addresses_of_device" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="device_id" default_value=""/>
|
||
... | ... | |
<input></input>
|
||
</values>
|
||
</method>
|
||
<method name="select_list_grouped" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="optgroup" default_value="TRUE" />
|
||
</attributes>
|
||
<values>
|
||
<input></input>
|
||
<input>
|
||
<param value="TRUE" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_doubleentry_account" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="account_attribute_id" default_value=""/>
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="delete_members_devices" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="member_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_balance" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="member_id" default_value="" />
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="has_member_end_after_interrupt_end_in_date" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="member_id" default_value="" />
|
||
<attribute name="date" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value="" />
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="get_all_by_member" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="member" default_value=""/>
|
||
... | ... | |
<param value=""/>
|
||
</input>
|
||
</values>
|
||
</method></model>
|
||
</method>
|
||
</model>
|
||
<model name="membership_transfer">
|
||
<method name="count_all_membership_transfers" autogenerate="on">
|
||
<attributes>
|
||
... | ... | |
</input>
|
||
</values>
|
||
</method>
|
||
<method name="member_organization_identifier" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="keyword" default_value="" />
|
||
<attribute name="limit" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
<input>
|
||
<param value="" />
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="member_vat_organization_identifier" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="keyword" default_value="" />
|
||
<attribute name="limit" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value="" />
|
||
</input>
|
||
<input>
|
||
<param value="" />
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="user_name" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="keyword" default_value=""/>
|
||
... | ... | |
<values>
|
||
</values>
|
||
</method>
|
||
<method name="axodoc" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="item" default_value=""/>
|
||
<attribute name="name" default_value=""/>
|
||
</attributes>
|
||
<values>
|
||
</values>
|
||
</method>
|
||
<method name="date" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="item" default_value=""/>
|
||
... | ... | |
<values>
|
||
</values>
|
||
</method>
|
||
<method name="port_vlan_field" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="item" default_value=""/>
|
||
<attribute name="name" default_value=""/>
|
||
</attributes>
|
||
<values>
|
||
</values>
|
||
</method>
|
||
<method name="ports_field" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="item" default_value=""/>
|
||
... | ... | |
</attributes>
|
||
<values>
|
||
</values>
|
||
</method></helper>
|
||
</method>
|
||
<method name="device_active_link_url_prepare" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="url_pattern" default_value="" />
|
||
<attribute name="device_id" default_value="" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
<param value="" />
|
||
<param value="" />
|
||
</input>
|
||
</values>
|
||
</method>
|
||
<method name="device_active_links" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="item" default_value=""/>
|
||
<attribute name="name" default_value=""/>
|
||
</attributes>
|
||
<values>
|
||
</values>
|
||
</method>
|
||
</helper>
|
||
<helper name="condition">
|
||
<method name="is_own" autogenerate="off">
|
||
<attributes>
|
||
... | ... | |
<values>
|
||
</values>
|
||
</method>
|
||
<method name="is_activatable_directlty" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="item" default_value=""/>
|
||
</attributes>
|
||
<values>
|
||
</values>
|
||
</method>
|
||
<method name="is_message_type_of_user" autogenerate="off">
|
||
<attributes>
|
||
<attribute name="item" default_value=""/>
|
||
... | ... | |
<method name="create_language_flags" autogenerate="on">
|
||
<attributes>
|
||
<attribute name="flags_array" default_value="" />
|
||
<attribute name="extension" default_value="jpg" />
|
||
<attribute name="extension" default_value="png" />
|
||
</attributes>
|
||
<values>
|
||
<input>
|
||
... | ... | |
</input>
|
||
<input>
|
||
<param value="" />
|
||
<param value="jpg" />
|
||
<param value="png" />
|
||
</input>
|
||
</values>
|
||
</method>
|
Také k dispozici: Unified diff
Opravy:
- unit_tester: dropbne opravy helperu a modelu