added settings controller

This commit is contained in:
Antonio Ramirez
2016-12-10 14:28:01 +01:00
parent e215fd58bf
commit d3ad2c4f90
4 changed files with 75 additions and 7 deletions

View File

@ -6,6 +6,11 @@ use yii\db\ActiveQuery;
class SocialNetworkAccountQuery extends ActiveQuery
{
public function whereId($id)
{
return $this->andWhere(['id' => $id]);
}
public function whereClient(AuthClientInterface $client)
{
return $this->andWhere(