summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8eca965)
Function isOnSymmetricSide of RelationHandler is used as
static function all the time so we properly turn the function
declaration into a static one.
Resolves: #60516
Releases: 6.3, 6.2
Change-Id: I72a922596e69dca26e173dad5b42da76e0949865
Reviewed-on: http://review.typo3.org/31748
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
* @return boolean Returns TRUE if looking from the symmetric ("other") side to the relation.
* @todo Define visibility
*/
* @return boolean Returns TRUE if looking from the symmetric ("other") side to the relation.
* @todo Define visibility
*/
- public function isOnSymmetricSide($parentUid, $parentConf, $childRec) {
+ static public function isOnSymmetricSide($parentUid, $parentConf, $childRec) {
return MathUtility::canBeInterpretedAsInteger($childRec['uid'])
&& $parentConf['symmetric_field']
&& $parentUid == $childRec[$parentConf['symmetric_field']];
return MathUtility::canBeInterpretedAsInteger($childRec['uid'])
&& $parentConf['symmetric_field']
&& $parentUid == $childRec[$parentConf['symmetric_field']];