WP_MatchesMapRegex::__construct
constructor
Метод класса: WP_MatchesMapRegex{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WP_MatchesMapRegex = new WP_MatchesMapRegex(); $WP_MatchesMapRegex->__construct( $subject, $matches );
- $subject(строка) (обязательный)
- subject if regex.
- $matches(массив) (обязательный)
- data to use in map.
Код WP_MatchesMapRegex::__construct() WP MatchesMapRegex:: construct WP 7.1.2
public function __construct( $subject, $matches ) {
$this->_subject = $subject;
$this->_matches = $matches;
$this->output = $this->_map();
}