campaign_links
php
array campaign_links ( number $nr_kampanii )Returns an array with information about links in campaign $nr_kampanii. The returned array uses the following keys:
- [id] => link ID
- [link] => link name
- [tags] => tag name
- [count] => number of link clicks
- [type] => link type
Example:
php
$get_info = campaign_links(7);
print_r($get_info);Result:
Array
(
[0] => Array
(
[0] => 33
[id] => 33
[1] => http://www.interia.pl
[link] => http://www.interia.pl
[2] => example tag
[tags] => example tag
[3] => 3
[count] => 3
[4] => html
[type] => html
)
[1] => Array
(
[0] => 34
[id] => 34
[1] => http://www.o2.pl
[link] => http://www.o2.pl
[2] => example tag
[tags] => example tag
[3] => 0
[count] => 0
[4] => html
[type] => html
)
)