data/Link.php
\Link
Package:
- Children
- \TeamSetLink
Properties
Methods
Link(
$_rel_name, $_bean, $fieldDef, $_table_name
=
'', $_key_name
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$_rel_name | ||
$_bean | ||
$fieldDef | ||
$_table_name | ||
$_key_name |
_add_deleted_clause(
$deleted
=
0, $add_and
=
'', $prefix
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$deleted | ||
$add_and | ||
$prefix |
_add_one_to_many_table_based(
$key, $bean_is_lhs
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$key | ||
$bean_is_lhs |
_add_optional_where_clause(
$optional_array, $add_and
=
'', $prefix
=
''
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$optional_array | ||
$add_and | ||
$prefix |
_get_link_table_definition(
$table_name, $def_name
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table_name | ||
$def_name |
_update_row(
$value_array, $table_name, $where
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$value_array | ||
$table_name | ||
$where |
add(
$rel_keys, $additional_values
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$rel_keys | ||
$additional_values |
getBeans(
$template, $sort_array
=
array(), $begin_index
=
0, $end_index
=
-1, $deleted
=
0, $optional_where
=
""
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$template | ||
$sort_array | ||
$begin_index | ||
$end_index | ||
$deleted | ||
$optional_where |
getJoin(
$params, $return_array
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$params | ||
$return_array |
getQuery(
$return_as_array
=
false, $sort_array
=
array(), $deleted
=
0, $optional_where
=
"", $return_join
=
false, $bean_filter
=
"", $role
=
"", $for_subpanels
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$return_as_array | ||
$sort_array | ||
$deleted | ||
$optional_where | ||
$return_join | ||
$bean_filter | ||
$role | ||
$for_subpanels |