As we know, when we use for any activeXXX (from CHtml), we must pass two parameters, the model, and the attribute.
<?php // Now, when we pass some like that: echo CHtml::activeTextField($someModel,'someAttribute[some]'); // we obtain some like: <input name="SomeModel[some][someAttribute]" id="SomeModel_some_someAttribute" type="text" value="" /> // Also, if we use: CHtml::activeId($someModel,'someAttribute[some]'); //the result is SomeModel_some_someAttribute
Rigth?
Well, but when we use:
<?php echo CHtml::getActiveId($someModel,'someAttribute[some]'); ?> // the result is the following: SomeModel_someAttribute[some]
May be this is the expected behavior, but just in case…