This repository was archived by the owner on Oct 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -307,15 +307,17 @@ public function getTemplate($id)
307307 * @param integer $page Specified page number to return. Defaults to 1. (optional)
308308 * @param integer $page_size Number of objects to return per page between 1 and 100. Defaults to 20. (optional)
309309 * @param string $account_id Account ID to return Templates for. Defaults to your account. (optional)
310+ * @param string $query String that includes search terms and/or fields to be used to filter the Template objects. (optional)
310311 * @return TemplateList
311312 * @throws BaseException
312313 */
313- public function getTemplates ($ page = 1 , $ page_size = null , $ account_id = null )
314+ public function getTemplates ($ page = 1 , $ page_size = null , $ account_id = null , $ query = null )
314315 {
315316 $ response = $ this ->rest ->get (static ::TEMPLATE_LIST_PATH ,
316317 array ('account_id ' => $ account_id ,
317318 'page ' => $ page ,
318- 'page_size ' => $ page_size )
319+ 'page_size ' => $ page_size ,
320+ 'query ' => $ query )
319321 );
320322
321323 $ this ->checkResponse ($ response );
You can’t perform that action at this time.
0 commit comments