T
T
terkin2014-11-12 16:43:24
Yii
terkin, 2014-11-12 16:43:24

How to define behavior methods in Yii in PHPStorm?

I have a behavior inherited from CActiveRecordBehavior, I connect it in other models, is it possible somehow in the code to make it more or less obvious that the methods relate to this behavior?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2014-11-12
@terkin

/** var $aro DirtyObjectBehavior|ActiveRecord */
$aro = $this->getOwner();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question