PMA\libraries\controllers\database\DatabaseStructureController::getTrackingIcon PHP Метод

getTrackingIcon() защищенный Метод

Returns the tracking icon if the table is tracked
protected getTrackingIcon ( string $table ) : string
$table string table name
Результат string HTML for tracking icon
    protected function getTrackingIcon($table)
    {
        $tracking_icon = '';
        if (Tracker::isActive()) {
            $is_tracked = Tracker::isTracked($this->db, $table);
            if ($is_tracked || Tracker::getVersion($this->db, $table) > 0) {
                $tracking_icon = Template::get('database/structure/tracking_icon')->render(array('url_query' => $this->_url_query, 'truename' => $table, 'is_tracked' => $is_tracked));
            }
        }
        return $tracking_icon;
    }