public function getStateItemClass($state = null) {
		if (is_bool($state) && ($state === true)) {
			$state = 2;
		}

		switch ((int)$state) {
			case 2:
				$classItem = '';
				break;
			case 1:
				$classItem = 'list-group-item-warning';
				break;
			default:
				$classItem = 'list-group-item-danger';
		}

		return $classItem;
	}
public function getStateItemClass($state = null) {
		if (is_bool($state) && ($state === true)) {
			$state = 2;
		}

		switch ((int)$state) {
			case 2:
				$classItem = '';
				break;
			case 1:
				$classItem = 'list-group-item-warning';
				break;
			default:
				$classItem = 'list-group-item-danger';
		}

		return $classItem;
	}
public function getStateItemClass ( $ state = null ) { if ( is_bool ( $ state ) && ( $ state === true ) ) { $ state = 2 ; } switch ( ( int ) $ state ) { case 2 : $ classItem = '' ; break ; case 1 : $ classItem = 'list-group-item-warning' ; break ; default : $ classItem = 'list-group-item-danger' ; } return $ classItem ; }
Return class for list element from status value

@param int $state State for build HTML elemeth.
Integer value:
- `0` - Bad;
- `1` - Warning;
- `2` - Success.
@return string Return class name
Return class for list element from status value