From 59223d937d1ac28e9539865f17aee515a0290a9f Mon Sep 17 00:00:00 2001 From: David Grudl Date: Tue, 6 Oct 2015 13:14:01 +0200 Subject: [PATCH] removed usage of magic properties --- examples/database-reflection.php | 12 ++++---- src/Dibi/Drivers/FirebirdDriver.php | 2 +- src/Dibi/Drivers/PostgreDriver.php | 2 +- tests/dibi/Result.meta.phpt | 16 +++++----- tests/dibi/meta.phpt | 46 ++++++++++++++--------------- 5 files changed, 39 insertions(+), 39 deletions(-) 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 "