Wiki

Articles tagged with "cactiverecord", sorted by date (updated)X
Displaying 1-5 of 5 result(s).

Drills : Search by a HAS_MANY relation

Updated 2 months ago by softarkTutorials11 comments – viewed 23,239 times – ( +28 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

Extending an ActiveRecord model

Updated about a year ago by BogseyHow-tos3 comments – viewed 9,971 times – ( +2 / -3 ) – version 1.1
Introduction

Instanciar clase hija basada en campo de modelo padre (CActiveRecord)

Updated about a year ago by robregonmHow-tos0 comments – viewed 4,801 times – ( +2 ) – version 1.1
[EN] [ES]

Instantiate a child class that depends a type field from parent model class (CActiveRecord)

Updated about a year ago by robregonmHow-tos2 comments – viewed 6,126 times – ( +3 / -1 ) – version 1.1
[EN] [ES]

Auto set model fields values

Updated 2 years ago by vibhaJadwaniTutorials3 comments – viewed 13,035 times – ( +8 ) – version 1.1
This is a tutorial for how to auto set model values without any code.