diff --git a/examples/database-reflection.php b/examples/database-reflection.php index ba6a7bf0..73f40ebf 100644 --- a/examples/database-reflection.php +++ b/examples/database-reflection.php @@ -16,10 +16,10 @@ dibi::connect([ // retrieve database reflection $database = dibi::getDatabaseInfo(); -echo "

Database '{$database->name}'

\n"; +echo "

Database '{$database->getName()}'

\n"; echo "\n"; @@ -27,12 +27,12 @@ echo "\n"; // table reflection $table = $database->getTable('products'); -echo "

Table '{$table->name}'

\n"; +echo "

Table '{$table->getName()}'

\n"; echo "Columns\n"; echo "\n"; @@ -40,9 +40,9 @@ echo "\n"; echo 'Indexes'; echo "