public function info($type = 'user') {
        $payload = array(
            'template_id' => $this->templateId,
            'type' => $type
        );
        $apiCall = 'templates/info';
        $data = $this->requestMonkey($apiCall, $payload);
        $data = json_decode($data,true);
        if (isset($data['error']))
            throw new MailchimpAPIException($data);
        else
            return $data;
    }
public function info($type = 'user') {
        $payload = array(
            'template_id' => $this->templateId,
            'type' => $type
        );
        $apiCall = 'templates/info';
        $data = $this->requestMonkey($apiCall, $payload);
        $data = json_decode($data,true);
        if (isset($data['error']))
            throw new MailchimpAPIException($data);
        else
            return $data;
    }
public function info ( $ type = 'user' ) { $ payload = array ( 'template_id' => $ this -> templateId , 'type' => $ type ) ; $ apiCall = 'templates/info' ; $ data = $ this -> requestMonkey ( $ apiCall , $ payload ) ; $ data = json_decode ( $ data , true ) ; if ( isset ( $ data [ 'error' ] ) ) throw new MailchimpAPIException ( $ data ) ; else return $ data ; }
Pull details for a specific template to help support editing

@link http://apidocs.mailchimp.com/api/2.0/templates/info.php
@param string $type optional the template type to load - one of 'user', 'gallery', 'base', defaults to user.
@return array
@throws MailchimpAPIException
Pull details for a specific template to help support editing