Where's the source code for importing those paths set in the configuration array?

I’ve been reading the source code of Yii recently. In the configuration array, we can set ‘import’ => array( … ). But I couldn’t find any code for importing those paths in that array, i.e., I couldn’t find any code refers to Yii::app()->import. I tried to trace it with a debugger but didn’t get good luck. Where is it?

Look in framework/base/CModule.php


/**

	 * Sets the aliases that are used in the module.

	 * @param array $aliases list of aliases to be imported

	 */

	public function setImport($aliases)

	{

		foreach($aliases as $alias)

			Yii::import($alias);

	}

Oh, I see! setImport() is called by magic __set(). Thanks!