php - What does this sentence mean? -



php - What does this sentence mean? -

public static function has_setting() { homecoming (self::count() > 0); }

count() php funciton,prepend self,i wonder meaning,thanks. know self means class, wonder meaning self::count()

does mean count instance quantity of class?

i don't know why people boy question!you can give advice other stepping on it

i improve question, can set away feet?

seems count() static function. when static functions used applies objects of class not particular object. self means current class. self::count means class saying : apply function on myself (all objects).

php

Comments

Popular posts from this blog

php - How to pass multiple values from url -

php - Laravel not returning controller -

c# - Confused on how to specify a Platform and Version while using ChromeOptions for RemoteWebDriver with Selenium donNet since recent updates -