data/Link.php

Show: inherited
Table of Contents

\Link

Package:

Properties

Propertypublic  $_bean= ''
Details
Type
n/a
Propertypublic  $_bean_filter_field= ''''
Default value''Details
Type
n/a
Propertypublic  $_bean_key_name= ''id''
Default value'id'Details
Type
n/a
Propertypublic  $_bean_table_name= ''
Details
Type
n/a
Propertypublic  $_db= ''
Details
Type
n/a
Propertypublic  $_duplicate_key= ''
Details
Type
n/a
Propertypublic  $_duplicate_where= ''
Details
Type
n/a
Propertypublic  $_log= ''
Details
Type
n/a
Propertypublic  $_relationship= ''''
Default value''Details
Type
n/a
Propertypublic  $_relationship_name= ''
Details
Type
n/a
Propertypublic  $_rhs_key_override= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $_swap_sides= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $add_distinct= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $ignore_role_filter= 'false'
Default valuefalseDetails
Type
n/a
Propertyprivate  $relationship_fields= 'array()'
Default valuearray()Details
Type
n/a

Methods

methodpublicLink(  $_rel_name,  $_bean,  $fieldDef,  $_table_name = '',  $_key_name = '' ) : void

Parameters
Name Type Description
$_rel_name
$_bean
$fieldDef
$_table_name
$_key_name
methodpublic_add_deleted_clause(  $deleted = 0,  $add_and = '',  $prefix = '' ) : void

Parameters
Name Type Description
$deleted
$add_and
$prefix
methodpublic_add_many_to_many(  $add_values ) : void

Parameters
Name Type Description
$add_values
methodpublic_add_many_to_one_bean_based(  $key ) : void

Parameters
Name Type Description
$key
methodpublic_add_one_to_many_table_based(  $key,  $bean_is_lhs ) : void

Parameters
Name Type Description
$key
$bean_is_lhs
methodpublic_add_optional_where_clause(  $optional_array,  $add_and = '',  $prefix = '' ) : void

Parameters
Name Type Description
$optional_array
$add_and
$prefix
methodpublic_delete_row(  $table_name,  $key ) : void

Parameters
Name Type Description
$table_name
$key
methodpublic_get_alternate_key_fields(  $table_name ) : void

Parameters
Name Type Description
$table_name
methodpublic_get_bean_position( ) : void

methodpublic_get_link_table_definition(  $table_name,  $def_name ) : void

Parameters
Name Type Description
$table_name
$def_name
methodpublic_get_link_table_role_field(  $table_name ) : void

Parameters
Name Type Description
$table_name
methodpublic_insert_row(  $value_array ) : void

Parameters
Name Type Description
$value_array
methodpublic_is_self_relationship( ) : void

methodpublic_update_row(  $value_array,  $table_name,  $where ) : void

Parameters
Name Type Description
$value_array
$table_name
$where
methodpublicadd(  $rel_keys,  $additional_values = array() ) : void

Parameters
Name Type Description
$rel_keys
$additional_values
methodpublicdelete(  $id,  $related_id = '' ) : void

Parameters
Name Type Description
$id
$related_id
methodpublicget(  $role = false ) : void

Parameters
Name Type Description
$role
methodpublicgetBeans(  $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
methodpublicgetJoin(  $params,  $return_array = false ) : void

Parameters
Name Type Description
$params
$return_array
methodpublicgetQuery(  $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
methodpublicgetRelatedField(  $name ) : void

Parameters
Name Type Description
$name
methodpublicgetRelatedFields( ) : void

methodpublicgetRelatedModuleName( ) : void

methodpublicgetRelatedTableName( ) : void

methodpublicgetRelationshipObject( ) : void

methodpublicloadedSuccesfully( ) : void

methodpublicrelationship_exists(  $table_name,  $join_key_values ) : void

Parameters
Name Type Description
$table_name
$join_key_values
Documentation was generated by DocBlox 0.18.1.