Search code examples
yiinetbeans-7yii-extensions

import a yii package to the project


I tried to work with CPasswordHelper and everytime I got an exception when trying to run one of its methods. I think the reason is that I didn't import the package(system.utils) that CPasswordHelper is belong to. My question is how do I do that? If it matter I'm working with netBeans.


Solution

  • CPasswordHelper is a core class defined in YiiBase, you don't need import it before using.

    It is added since 1.1.14, may be you should check your yii version.