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

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -