A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.yiiframework.com/doc/api/2.0/yii-db-viewfindertrait below:

ViewFinderTrait, yii\db\ViewFinderTrait | API Documentation for Yii 2.0

getViewNames()

public method

Returns all view names in the database.

public string[] getViewNames ( $schema '', $refresh false ) $schema string

The schema of the views. Defaults to empty string, meaning the current or default schema name. If not empty, the returned view names will be prefixed with the schema name.

$refresh boolean

Whether to fetch the latest available view names. If this is false, view names fetched previously (if available) will be returned.

return string[]

All view names in the database.

Source code

                public function getViewNames($schema = '', $refresh = false)
{
    if (!isset($this->_viewNames[$schema]) || $refresh) {
        $this->_viewNames[$schema] = $this->findViewNames($schema);
    }
    return $this->_viewNames[$schema];
}

            

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4