private function getModelAttributes(&$model)
	{
		$response 	= array();
		$reflection = new ReflectionClass($model);
		$properties = $reflection->getProperties(ReflectionProperty::IS_PROTECTED);

		foreach ($properties as $property)
			$response[$property->name] = $model[$property->name];

		return $response;
	}
private function getModelAttributes(&$model)
	{
		$response 	= array();
		$reflection = new ReflectionClass($model);
		$properties = $reflection->getProperties(ReflectionProperty::IS_PROTECTED);

		foreach ($properties as $property)
			$response[$property->name] = $model[$property->name];

		return $response;
	}
private function getModelAttributes ( & $ model ) { $ response = array ( ) ; $ reflection = new ReflectionClass ( $ model ) ; $ properties = $ reflection -> getProperties ( ReflectionProperty :: IS_PROTECTED ) ; foreach ( $ properties as $ property ) $ response [ $ property -> name ] = $ model [ $ property -> name ] ; return $ response ; }
Retrieves model attributes for a particular model
@param  CiiSettingsModel $model The model we want to query against
@return array
Retrieves model attributes for a particular model