• 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/PodioTag.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/tags
4
 */
5
class PodioTag extends PodioObject
6
{
7
    public function __construct($attributes = array())
8
    {
9
        parent::__construct();
×
10
        $this->property('count', 'integer');
×
11
        $this->property('text', 'string');
×
12

13
        $this->init($attributes);
×
14
    }
15

16
    /**
17
     * @see https://developers.podio.com/doc/tags/create-tags-22464
18
     */
19
    public static function create(PodioClient $podio_client, $ref_type, $ref_id, $attributes = array())
20
    {
21
        return $podio_client->post("/tag/{$ref_type}/{$ref_id}/", $attributes);
×
22
    }
23

24
    /**
25
     * @see https://developers.podio.com/doc/tags/update-tags-39859
26
     */
27
    public static function update(PodioClient $podio_client, $ref_type, $ref_id, $attributes = array())
28
    {
29
        return $podio_client->put("/tag/{$ref_type}/{$ref_id}/", $attributes);
×
30
    }
31

32
    /**
33
     * @see https://developers.podio.com/doc/tags/remove-tag-22465
34
     */
35
    public static function delete(PodioClient $podio_client, $ref_type, $ref_id, $attributes = array())
36
    {
37
        return $podio_client->delete("/tag/{$ref_type}/{$ref_id}/", $attributes);
×
38
    }
39

40
    /**
41
     * @see https://developers.podio.com/doc/tags/get-tags-on-app-22467
42
     */
43
    public static function get_for_app(PodioClient $podio_client, $app_id, $attributes = array())
44
    {
45
        return self::listing($podio_client, $podio_client->get("/tag/app/{$app_id}/", $attributes));
×
46
    }
47
}
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