/**
  * Get registry.
  *
  * @return \yii\db\ActiveRelation
  */
 public function getRegistry()
 {
     return $this->hasOne(Registry::className(), ['id' => 'id']);
 }
Ejemplo n.º 2
0
 /**
  * Get object.
  *
  * @return \yii\db\ActiveRelation
  */
 public function getObject()
 {
     return $this->hasOne(Registry::className(), ['id' => 'object_id']);
 }
Ejemplo n.º 3
0
 public static function getRegistryClass()
 {
     return Registry::className();
 }