Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Habari
Posts
search
Habari\Posts::search PHP Метод
Документация по классу Posts
Показать файл
Открыть проект
search()
публичный
Метод
Search this Posts object for the needle, returns its key if found
public
search
(
Post
$needle
) :
mixed
$needle
Post
Post object to find within this Posts object
Результат
mixed
Returns the index of the needle, on failure, null is returned
public function search($needle) { return array_search($needle, $this->getArrayCopy()); }
Posts
__get
__static
ascend
by_slug
by_status
content_type
count_all
count_by_author
count_by_tag
count_total
delete
descend
empty_param
extract_param
filter_posts_get_all_presets
get
get_query
merge_presets
publish_scheduled_posts
reassign
rewrite_match_type
search
search_id
search_to_get
to_json
update_scheduled_posts_cronjob
vocabulary_params