Access enclosures link and size in Daos/MySql/Items.php?

by mohisanisel, Sunday, July 14, 2013, 12:45 (3798 days ago) @ tobi

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:

 RSS Feed of thread

powered by my little forum