public function log($db=null)
    {

        if($db instanceof \PDO){
            \sb\Web\Visitors::$db=$db;
        }

        return \sb\Web\Visitors::log($this);

    }
public function log($db=null)
    {

        if($db instanceof \PDO){
            \sb\Web\Visitors::$db=$db;
        }

        return \sb\Web\Visitors::log($this);

    }
public function log ( $ db = null ) { if ( $ db instanceof \ PDO ) { \ sb \ Web \ Visitors :: $ db = $ db ; } return \ sb \ Web \ Visitors :: log ( $ this ) ; }
Logs a \sb\Web_Visitor in the database
@param PDO $db Optional database connection to use for \sb\Web_Vistors
Logs a \ sb \ Web_Visitor in the database