Exemple #1
0
 /**
  * Returns all the connections of the Apps in the AppConnections Active Record
  *
  * Useful to retrieve all the configs, pages and extra data that Apps have
  *
  *
  * @return \yii\db\ActiveQuery
  */
 public function getAppConnections()
 {
     return $this->hasMany(AppConnections::className(), ['reference_id' => 'id']);
 }