models/CiiSettingsForm.php
public function init()
	{
		// Use Reflection::getProperties(PROTECTED) to get protected properties from the passed model
		$reflection = new ReflectionClass($this->model);
		$this->properties = $reflection->getProperties(ReflectionProperty::IS_PROTECTED);

		return parent::init();
	}
public function init()
	{
		// Use Reflection::getProperties(PROTECTED) to get protected properties from the passed model
		$reflection = new ReflectionClass($this->model);
		$this->properties = $reflection->getProperties(ReflectionProperty::IS_PROTECTED);

		return parent::init();
	}
public function init ( ) { // Use Reflection::getProperties(PROTECTED) to get protected properties from the passed model $ reflection = new ReflectionClass ( $ this -> model ) ; $ this -> properties = $ reflection -> getProperties ( ReflectionProperty :: IS_PROTECTED ) ; return parent :: init ( ) ; }
Widget init function
@see CActiveForm init()
Widget init function