{"version":"1.0","type":"rich","title":"Gist 3303380","description":"This example demonstrates a simple user authentication check using the Yii framework's active record pattern. It shows how to query a User model by comparing username and password fields against hardcoded values. The code creates a CDbCriteria object, applies two compare conditions, and retrieves matching records via User::model()->findAll(). The rendering approach is server-side PHP logic rather than a visualization, with no external charting or data-viz libraries involved. The output would be an array of user objects if credentials match, but no visual representation is generated.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3303380?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}