public function setListByAssociativeArray($list) {
		
		foreach ($list as $value=>$text) {
				
			$option			= new \stdClass();
			$option->value	= $value;
			$option->text	= $text;
			$option->attributes	= [];

			$this->list[]	= $option;
				
		}
		
		return $this;
		
	}
public function setListByAssociativeArray($list) {
		
		foreach ($list as $value=>$text) {
				
			$option			= new \stdClass();
			$option->value	= $value;
			$option->text	= $text;
			$option->attributes	= [];

			$this->list[]	= $option;
				
		}
		
		return $this;
		
	}
public function setListByAssociativeArray ( $ list ) { foreach ( $ list as $ value => $ text ) { $ option = new \ stdClass ( ) ; $ option -> value = $ value ; $ option -> text = $ text ; $ option -> attributes = [ ] ; $ this -> list [ ] = $ option ; } return $ this ; }
Populates select control with an associative array. Chainable method.

@param	array	Associative array (value=>text).

@return	FormControlSelect
Populates select control with an associative array . Chainable method .