Documentation

RelationshipInterface
in

Relationship class for "has one" relationships

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
6.5.0

Table of Contents

Methods

getEagerRelationships()  : array<string|int, mixed>
Get eager relationships
getForeignKey()  : string|null
Get foreign key
getForeignTable()  : string|null
Get foreign table
getOptions()  : array<string|int, mixed>|null
Get options

Methods

getEagerRelationships()

Get eager relationships

public getEagerRelationships(array<string|int, mixed> $ids) : array<string|int, mixed>
Parameters
$ids : array<string|int, mixed>
Tags
throws
Exception
Return values
array<string|int, mixed>

getForeignKey()

Get foreign key

public getForeignKey() : string|null
Return values
string|null

getForeignTable()

Get foreign table

public getForeignTable() : string|null
Return values
string|null

getOptions()

Get options

public getOptions() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

        
On this page

Search results