|
KWeb
6.4
|
Public Member Functions | |
| getObjectGenre () | |
| getObjectIdField () | |
| queryFromStructure (KWebQueryBuilder $qb, $columns=false, $alias=true) | |
| Adds k_structure table to the query with specified columns and alias. | |
| queryUseStructure (KWebQueryBuilder $qb) | |
| Returns k_structure alias. | |
| queryWhereAttrId (KWebQueryBuilder $qb, $attrId) | |
| Limits result to items with specific translations. | |
| buildReadQuery () | |
| applyQueryOptions (SqlQueryBuilder $query) | |
| Applies all query specific options on the query. | |
| readObjects () | |
| readObjectsFromQuery ($query=null) | |
Static Public Member Functions | |
| static | linkFactory ($options=array()) |
| static | inst () |
Data Fields | |
| const | ALIAS_STRUCTURE = "s" |
| KWebAdapter_Link::applyQueryOptions | ( | SqlQueryBuilder $ | query | ) |
Applies all query specific options on the query.
Reimplemented from KWebAdapter_ObjectBase_Query.
| KWebAdapter_Link::buildReadQuery | ( | ) |
Reimplemented from KWebAdapter_ObjectBase_Query.
| KWebAdapter_Link::getObjectGenre | ( | ) |
Reimplemented from KWebAdapter_ObjectBase.
| KWebAdapter_Link::getObjectIdField | ( | ) |
Reimplemented from KWebAdapter_ObjectBase.
| static KWebAdapter_Link::inst | ( | ) | [static] |
| static KWebAdapter_Link::linkFactory | ( | $ | options = array() | ) | [static] |
| KWebAdapter_Link::queryFromStructure | ( | KWebQueryBuilder $ | qb, |
| $ | columns = false, |
||
| $ | alias = true |
||
| ) |
Adds k_structure table to the query with specified columns and alias.
Knows how to join with: k_item
| $columns | - TRUE becomes 'link_id', default none |
| $alias | - default 's' |
| KWebAdapter_Link::queryUseStructure | ( | KWebQueryBuilder $ | qb | ) |
Returns k_structure alias.
Joins the table if needed
| KWebAdapter_Link::queryWhereAttrId | ( | KWebQueryBuilder $ | qb, |
| $ | attrId | ||
| ) |
Limits result to items with specific translations.
| $needLanguage | False: All items, True: Only items with translation in current language , Language id: Only items with this language translation, NULL: default behaviour |
| KWebAdapter_Link::readObjects | ( | ) |
Reimplemented from KWebAdapter_ObjectBase_Query.
| KWebAdapter_Link::readObjectsFromQuery | ( | $ | query = null | ) |
Reimplemented from KWebAdapter_ObjectBase_Query.
| const KWebAdapter_Link::ALIAS_STRUCTURE = "s" |