Access enclosures link and size in Daos/MySql/Items.php?
Hi tobi and thank you so much for spending time on answering my question!
I understand your replay. but My problem is that i dont know how can I access value of get_link(); in Items.php...
I can not give the values just by using $link = $enclosure->get_link();. this statement gives me nothing.
~~~~~~~~~~~~~~~
daos/mysql/Items.php:
~~~~~~~~~~~~~~~
public function add($values) {
$en_link = *** enclosures link needed here. but how? ***;
\F3::get('db')->exec('INSERT INTO items (
x,
en_link,
z
) VALUES (
:x,
:en_link,
:z
)',
array(
':x' => $x,
':en_link' => $en_link,
':z' => $z
));
} }
}
Complete thread:
- Access enclosures link and size in Daos/MySql/Items.php? -
mohisanisel,
2013-07-12, 16:24
- Access enclosures link and size in Daos/MySql/Items.php? -
tobi,
2013-07-13, 19:01
- Access enclosures link and size in Daos/MySql/Items.php? - mohisanisel, 2013-07-14, 12:45
- Access enclosures link and size in Daos/MySql/Items.php? -
tobi,
2013-07-13, 19:01