• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

podio-community / podio-php / 5730982429

pending completion
5730982429

push

github

web-flow
Merge pull request #233 from podio-community/232-improvements-beta

fix: make podio_client first parameter of functions + remove podio_client member from models

235 of 235 new or added lines in 67 files covered. (100.0%)

916 of 2104 relevant lines covered (43.54%)

32.17 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/models/PodioTagSearch.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/tags
4
 */
5
class PodioTagSearch extends PodioObject
6
{
7
    public function __construct($attributes = array())
8
    {
9
        parent::__construct();
×
10
        $this->property('id', 'integer');
×
11
        $this->property('type', 'string');
×
12
        $this->property('title', 'string');
×
13
        $this->property('link', 'string');
×
14
        $this->property('created_on', 'datetime');
×
15

16
        $this->init($attributes);
×
17
    }
18

19
    /**
20
     * @see https://developers.podio.com/doc/tags/get-objects-on-app-with-tag-22469
21
     */
22
    public static function get_for_app(PodioClient $podio_client, $app_id, $attributes = array())
23
    {
24
        return self::listing($podio_client, $podio_client->get("/tag/app/{$app_id}/search/", $attributes));
×
25
    }
26

27
    /**
28
     * @see https://developers.podio.com/doc/tags/get-objects-on-space-with-tag-22468
29
     */
30
    public static function get_for_space(PodioClient $podio_client, $space_id, $attributes = array())
31
    {
32
        return self::listing($podio_client, $podio_client->get("/tag/space/{$space_id}/search/", $attributes));
×
33
    }
34

35
    /**
36
     * @see https://developers.podio.com/doc/tags/get-objects-on-organization-with-tag-48478
37
     */
38
    public static function get_for_org(PodioClient $podio_client, $org_id, $attributes = array())
39
    {
40
        return self::listing($podio_client, $podio_client->get("/tag/org/{$org_id}/search/", $attributes));
×
41
    }
42
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc