public getRecordRelation ( $property ) : array | ||
return | array | relation definition for the specified property |
public function getRecordRelation($property)
{
$className = get_class($this);
$property = strtolower($property);
return isset(self::$_relations[$className][$property]) ? self::$_relations[$className][$property] : null;
}