Skip to content

Instantly share code, notes, and snippets.

View RaihanulHoque's full-sized avatar

Md Raihanul Hoque RaihanulHoque

View GitHub Profile
@RaihanulHoque
RaihanulHoque / active_record.md
Created June 8, 2022 06:02 — forked from yesnik/active_record.md
Yii 1 Framework Cookbook

CActiveRecord methods

findAll()

Sort records

// Ascending order
Partner::model()->findAll(array('order' => 'company'));