added profile controller

This commit is contained in:
Antonio Ramirez
2016-12-09 09:43:46 +01:00
parent 0be1644e75
commit f6dcb21205
4 changed files with 58 additions and 4 deletions

View File

@ -5,5 +5,8 @@ use yii\db\ActiveQuery;
class ProfileQuery extends ActiveQuery
{
public function whereId($id)
{
return $this->andWhere(['id' => $id]);
}
}