public function template($name, $tempId = null)
    {
        Util::operateArray($this->smsData['templates'], $name, $tempId);

        return $this;
    }
public function template($name, $tempId = null)
    {
        Util::operateArray($this->smsData['templates'], $name, $tempId);

        return $this;
    }
public function template ( $ name , $ tempId = null ) { Util :: operateArray ( $ this -> smsData [ 'templates' ] , $ name , $ tempId ) ; return $ this ; }
Set the template ids.

@param mixed $name
@param mixed $tempId

@return $this
Set the template ids .