IMP_Compose::useTemplate PHP 메소드

useTemplate() 공개 메소드

Uses a template to create a message.
public useTemplate ( IMP_Indices $indices, array $opts = [] ) : mixed
$indices IMP_Indices An indices object.
$opts array Additional options: - format: (string) Force to this format. DEFAULT: Auto-determine.
리턴 mixed See resumeDraft().
    public function useTemplate($indices, array $opts = array())
    {
        $ret = $this->_resumeDraft($indices, self::TEMPLATE, $opts);
        $ret['type'] = self::TEMPLATE;
        return $ret;
    }