public node ( string | array | Model $ref = null, string $type = null ) : Cake\ORM\Query | ||
$ref | string | array | Model | Array with 'model' and 'foreign_key', model object, or string value |
$type | string | Only needed when Acl is set up as 'both', specify 'Aro' or 'Aco' to get the correct node |
return | Cake\ORM\Query |