src/View/Helper/FormatHelper.php
public function genderIcon($value) {
		$value = (int)$value;
		if ($value == static::GENDER_FEMALE) {
			$icon = $this->icon('female');
		} elseif ($value == static::GENDER_MALE) {
			$icon = $this->icon('male');
		} else {
			$icon = $this->icon('genderless', [], ['title' => __d('tools', 'Unknown')]);
		}
		return $icon;
	}
public function genderIcon($value) {
		$value = (int)$value;
		if ($value == static::GENDER_FEMALE) {
			$icon = $this->icon('female');
		} elseif ($value == static::GENDER_MALE) {
			$icon = $this->icon('male');
		} else {
			$icon = $this->icon('genderless', [], ['title' => __d('tools', 'Unknown')]);
		}
		return $icon;
	}
public function genderIcon ( $ value ) { $ value = ( int ) $ value ; if ( $ value == static :: GENDER_FEMALE ) { $ icon = $ this -> icon ( 'female' ) ; } elseif ( $ value == static :: GENDER_MALE ) { $ icon = $ this -> icon ( 'male' ) ; } else { $ icon = $ this -> icon ( 'genderless' , [ ] , [ 'title' => __d ( 'tools' , 'Unknown' ) ] ) ; } return $ icon ; }
Displays gender icon

@param mixed $value
@return string
Displays gender icon