Class ParseRelation - A class that is used to access all of the children of a many-to-many relationship.
Each instance of ParseRelation is associated with a particular parent object and key.
author |
Mohamed Madbouli [email protected] |
---|---|
package |
Parse |
__construct(\Parse\ParseObject $parent, string $key, string $targetClassName = null)
string
The key of the relation in the parent object.
string
The className of the target objects.
_encode() : array
array
add(mixed $objects)
mixed
The item or items to add.
getQuery() : \Parse\ParseQuery
getTargetClass() : string
string
remove(mixed $objects)
mixed
The item or items to remove.
setParent( $parent)
setTargetClass( $className)
key : string
var |
---|
string
targetClassName : string
var |
---|
string