src/MediaServices/MediaServicesRestProxy.php
public function getJobTemplateTaskTemplateList($jobTemplate)
    {
        $jobTemplateId = Utilities::getEntityId(
            $jobTemplate,
            'WindowsAzure\MediaServices\Models\JobTemplate'
        );

        $propertyList = $this->_getEntityList(
            "JobTemplates('{$jobTemplateId}')/TaskTemplates"
        );
        $result = [];

        foreach ($propertyList as $properties) {
            $result[] = TaskTemplate::createFromOptions($properties);
        }

        return $result;
    }
public function getJobTemplateTaskTemplateList($jobTemplate)
    {
        $jobTemplateId = Utilities::getEntityId(
            $jobTemplate,
            'WindowsAzure\MediaServices\Models\JobTemplate'
        );

        $propertyList = $this->_getEntityList(
            "JobTemplates('{$jobTemplateId}')/TaskTemplates"
        );
        $result = [];

        foreach ($propertyList as $properties) {
            $result[] = TaskTemplate::createFromOptions($properties);
        }

        return $result;
    }
public function getJobTemplateTaskTemplateList ( $ jobTemplate ) { $ jobTemplateId = Utilities :: getEntityId ( $ jobTemplate , 'WindowsAzure\MediaServices\Models\JobTemplate' ) ; $ propertyList = $ this -> _getEntityList ( "JobTemplates('{$jobTemplateId}')/TaskTemplates" ) ; $ result = [ ] ; foreach ( $ propertyList as $ properties ) { $ result [ ] = TaskTemplate :: createFromOptions ( $ properties ) ; } return $ result ; }
Get task templates for job template.

@param JobTemplate|string $jobTemplate Job template data or jobTemplate Id

@return TaskTemplate[]
Get task templates for job template .