Cloudinary\Api::tags PHP Method

tags() public method

public tags ( $options = [] )
    function tags($options = array())
    {
        $resource_type = \Cloudinary::option_get($options, "resource_type", "image");
        $uri = array("tags", $resource_type);
        return $this->call_api("get", $uri, $this->only($options, array("next_cursor", "max_results", "prefix")), $options);
    }

Usage Example

Example #1
0
 function test11_tags_prefix()
 {
     // should allow listing tag by prefix
     Curl::mockApi($this);
     $this->api->tags(array("prefix" => "fooba"));
     assertUrl($this, "/tags/image");
     assertGet($this);
     assertParam($this, "prefix", "fooba");
 }
All Usage Examples Of Cloudinary\Api::tags