Returns the number of children of type $type present inside this container
This method is overridden by the PMA\libraries\navigation\nodes\NodeDatabase
and PMA\libraries\navigation\nodes\NodeTable classes
public getPresence ( string $type = '', string $searchClause = '', boolean $singleItem = false ) : integer | ||
$type | string | The type of item we are looking for ('tables', 'views', etc) |
$searchClause | string | A string used to filter the results of the query |
$singleItem | boolean | Whether to get presence of a single known item or false in none |
return | integer |